Hi Folks this is my first encounter with django im doing the django tutorial
https://docs.djangoproject.com/en/1.3/intro/tutorial02/ and i have an error when i uncomment the lines they told me to,
from django.contrib import admin
admin.autodiscover()
and
(r'^admin/', include(admin.site.urls)),
in urls.py inside my roots folder
besides i realized that some lines are different ( i supose because i’m using a newer version of django ) like
here are some extra screenshots
(r'^admin/', include(admin.site.urls)), //(site)
to
url(r'^admin/', include(admin.site.urls)), //(myProject)
Any django expert that can help me with this error, because i had great reviews about this amazing framework,
here are some screenshots
Without the full error message, I’m not 100% sure what DoesNotExist is referring to, but it sounds like the admin application models haven’t been created. Did you add “django.contrib.admin” to your
INSTALLED_APPSin settings.py and runpython manage.py syncdband restart the (development) server?UPDATE:
Probably not a good idea to be using the Subversion source (1.4 pre-alpha mind you). I guarantee whatever change they’ve made to the proper admin site setup hasn’t been updated in the docs. Check out 1.3–it’s great, trust me.