#11180: django.contrib.comments/django.contrib.sites/django.contrib.admin don't
cooperate on site_id
---------------------------------------+------------------------------------
   Reporter:  jl6                      |                Owner:  nobody    
     Status:  new                      |            Milestone:  1.1       
  Component:  django.contrib.comments  |              Version:  SVN       
   Keywords:                           |                Stage:  Unreviewed
  Has_patch:  0                        |           Needs_docs:  0         
Needs_tests:  0                        |   Needs_better_patch:  0         
---------------------------------------+------------------------------------
 I'm not certain what the underlying cause of this issue is, or whether the
 summary above is an accurate diagnosis, but this is what happens:

 1. Install django.contrib.sites
 2. Create a Site.
 3. Delete it.
 4. Install django.contrib.comments
 5. Leave a comment using a comment form.
 6. The comments don't show up in the admin.

 I noticed that each comment was given site_id "1", even though that site
 had been deleted. Adding a new site, and changing its id directly in the
 database, was enough to "solve" this (i.e. the comments now show up in the
 admin).

-- 
Ticket URL: <http://code.djangoproject.com/ticket/11180>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to