#16368: Custom sites model overridden by contrib.sites.model.Site
-------------------------------------+-------------------------------------
               Reporter:             |          Owner:  nobody
  briehan.lombaard@…                 |         Status:  closed
                   Type:  Bug        |      Component:  contrib.sites
              Milestone:             |       Severity:  Normal
                Version:  SVN        |       Keywords:
             Resolution:  duplicate  |      Has patch:  0
           Triage Stage:  Accepted   |    Needs tests:  0
    Needs documentation:  0          |  Easy pickings:  0
Patch needs improvement:  0          |
                  UI/UX:  0          |
-------------------------------------+-------------------------------------

Comment (by briehan.lombaard@…):

 Thanks ramiro, but when I add {{{from django.contrib.contenttypes import
 generic}}} to my sites model I get the following:

 {{{
 ./manage.py runserver
 django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX
 setting has been removed; use STATIC_URL instead.
   "use STATIC_URL instead.", DeprecationWarning)
 django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX
 setting has been removed; use STATIC_URL instead.
   "use STATIC_URL instead.", DeprecationWarning)
 Validating models...

 0 errors found
 Django version 1.4 pre-alpha SVN-16541, using settings 'foobar.settings'
 Development server is running at http://127.0.0.1:8000/
 Quit the server with CONTROL-C.
 <class 'django.contrib.sites.models.Site'>
 [14/Jul/2011 03:38:39] "GET / HTTP/1.1" 200 0
 }}}

 Should I open a new ticket for this issue?

-- 
Ticket URL: <https://code.djangoproject.com/ticket/16368#comment:14>
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.

Reply via email to