Re: Admin Center is not displaying
For some reason, my tutorial would switch from the 1.5 version to the 1.7 version without me noticing. Once I did notice, I realized that I had not yet completed the third step. Everything seems to be in working order now. Thank you so much for the help!
On Monday, August 5, 2013 4:16:35 AM UTC-7, Phil wrote:
There are 3 steps in the documentation. You seem to have done the first 2, but what about your mysite/urls.py file? Did you uncomment those lines:# Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover()Regards,Phil
On Sunday, August 4, 2013 12:57:33 AM UTC-3, Cole Calhoun wrote:I am running Python 2.7.4 and Django 1.5.1 on a Mac.I completed the first part of the "Writing your first Django app." tutorial (https://docs.djangoproject.com/en/1.5/intro/tutorial01/ ) and everything went as the tutorial explained. Once I got to the second part of the tutorial, it asked me to add /admin/ to my local dev url, nothing rendered. I didn't receive any errors in the terminal, but the site stayed the same, I saw no changes.One thing I did notice while going through the tutorial was that in mysite/settings.py the django.contrib.app was not included. Once I noticed that, I added it, synced the database again, but it still wouldn't work. The tutorial says that it is meant for version 1.5 and 2.+ and I am running 1.5.1.If anyone has any insight as to what the problem may be, that would be greatly appreciated.Thanks!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home