Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8017349
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T20:49:09+00:00 2026-06-04T20:49:09+00:00

I am new to django. I am using Google App-engine and Google CloudSQL to

  • 0

I am new to django. I am using Google App-engine and Google CloudSQL to serve a django1.2 project. I’ve been following the tutorial here and have hit a snag.

I enabled the admin back end in my settings.py, but when I go to http://www.examplesite.com/admin/ the css files aren’t found.

The admin html page loads fine, but the static files give a 404.

Here’s my app.yml:

application: myapp
version: 1
runtime: python27
api_version: 1
threadsafe: true

libraries:
- name: django
  version: "1.2"

builtins:
- django_wsgi: on

I left these as default in settings.py:

# Absolute filesystem path to the directory that will hold user-uploaded files.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT = ''

# URL that handles the media served from MEDIA_ROOT. Make sure to use a
# trailing slash if there is a path component (optional in other cases).
# Examples: "http://media.lawrence.com", "http://example.com/media/"
MEDIA_URL = ''

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
# trailing slash.
# Examples: "http://foo.com/media/", "/media/".
ADMIN_MEDIA_PREFIX = '/media/'

I know the files are located at google_appengine/lib/django_1_2/django/contrib/admin/media/

Do I need to copy those static resources into my project directory somewhere? Or do I have a setting wrong?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T20:49:11+00:00Added an answer on June 4, 2026 at 8:49 pm

    In GAE you need to make the static files accessible in your app.yaml

    https://developers.google.com/appengine/docs/python/config/appconfig#Static_Directory_Handlers

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to python, django and google app engine. All great tools and have
I'm new to django and Google App Engine, and I'm having trouble with using
I create a new Django app (not project) called Bussinesses, then add following class
Using Django templates in Google App Engine (on Python), is it possible to compare
I am using django-nonrel on the google-app-engine. When I'm posting a foreign character, in
When researching Google App Engine (GAE), it's clear that using Django is wildly popular
I have a django-nonrel app running in Google App Engine and am wanting all
I'm new to Python, and I'm using Google App Engine to build a simple
Brand new to django. We have a legacy django project using django 0.96x that
I'm using python, django and google app engine and I'm getting the error below.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.