#16368: Custom sites model overridden by contrib.sites.model.Site -------------------------------------+------------------------------------- Reporter: | Owner: nobody briehan.lombaard@… | Status: new Type: Bug | Component: contrib.sites Milestone: | Severity: Normal Version: SVN | Keywords: Resolution: | Has patch: 0 Triage Stage: | Needs tests: 0 Unreviewed | Easy pickings: 0 Needs documentation: 0 | Patch needs improvement: 0 | UI/UX: 0 | -------------------------------------+------------------------------------- Changes (by BernhardEssl):
* version: 1.3 => SVN Comment: I can also reproduce this error (django trunk SVN-16452). {{{ #settings.py INSTALLED_APPS = ('xxx.sites',) }}} {{{ #sites/models.py from django.db import models class Site(models.Model): domain = models.CharField(unique=True, max_length=100, db_index=True) }}} {{{ $ python manage.py syncdb Creating tables ... Creating table django_site Installing custom SQL ... Installing indexes ... No fixtures found. $ mysql -uuser -p test -e"show tables;" +----------------+ | Tables_in_test | +----------------+ | django_site | +----------------+ }}} -- Ticket URL: <https://code.djangoproject.com/ticket/16368#comment:2> Django <https://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.