Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I had the same problem. You may try this:</p> <ul> <li><p>In your urls.py replace the call include(admin.site.urls) by this: admin.site.urls</p></li> <li><p>In your setting.py if don't have any TEMPLATE_CONTEXT_PROCESSORS property (that was my situation) add this:</p> <p>TEMPLATE_CONTEXT_PROCESSORS = ("django.contrib.auth.context_processors.auth", "django.core.context_processors.debug", "django.core.context_processors.i18n", "django.core.context_processors.media", "django.core.context_processors.static", "django.core.context_processors.tz", "django.contrib.messages.context_processors.messages")</p></li> </ul> <p>It seams to be roughly the default property in a normal django 1.4 configuration. Here are the docs talking about it: <a href="https://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext" rel="nofollow">djangoproject-doc1</a> <a href="https://docs.djangoproject.com/en/dev/ref/settings/#std%3asetting-TEMPLATE_CONTEXT_PROCESSORS" rel="nofollow">djangoproject-doc2</a></p> <p>You may also have to uncomment the strings: </p> <pre><code># 'django.contrib.messages', # 'django.contrib.staticfiles', </code></pre> <p>in your INSTALLED_APPS property of the settings.py but i'm not sure about it. </p> <p>Sorry about not explaining much better the reasons of those changes but I'm a django-beginner to. I just found your question corresponding to my problem and then a possible awnser.</p> <p>I hope it may help you.</p> <p>EDIT: as seen in a comment you may try to remove the url(...) instruction on the line concerning the url of the admin site</p> <p>ben</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload