Thursday, December 27, 2012

Re: Problem at activating the admin site (Django tutorial part 2)

I have the same problem with the tutorial.  I went through the first part twice to ensure that I hadn't erred along the way.  I did nothing more than follow the tutorial https://docs.djangoproject.com/en/1.4/intro/tutorial01/ unlike the ticket posted above.

For context:
django-1.4.3
python-2.7.3
osx-10.7.5 

I've found other similar problems related to a lack of a Site object, but in my case I have:
In [5]: Site.objects.get(id=1)
Out[5]: <Site: example.com>

Any potential solutions would be appreciated.

On Thursday, December 13, 2012 6:45:06 PM UTC-8, Karen Tracey wrote:
Have you followed the tutorial exactly? I was unable to recreate this problem when someone opened a trac ticket describing it:

https://code.djangoproject.com/ticket/18308

Another Django dev noted it was a duplicate of another ticket:

https://code.djangoproject.com/ticket/18226

where the problem seemed to be due to adding south as an app in the tutorial rather than following the tutorial exactly.

Karen
--
http://tracey.org/kmt/

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/mobA95Te-EsJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment