I have a problem. I moved a django site from one hosting to godaddy. On the
GoDaddy hosting it doesn't display in the admin page the site models.
settings code:
INSTALLED_APPS =
('django.contrib.auth','django.contrib.contenttypes','django.contrib.sessions','django.contrib.messages','django.contrib.sitemaps','django.contrib.staticfiles',#
Uncomment the next line to enable the admin:'mysite','django.contrib.admin',#
Uncomment the next line to enable admin documentation:#
'django.contrib.admindocs',
'storages',
)
urls.py code:
> from django.conf.urls import patterns, include, url from> django.contrib
> import admin from django.conf import settings from> .sitemaps import
> StaticViewSitemap from .sitemaps import OfertaSitemap> admin.autodiscover()>
> > sitemaps = {> 'ro' : StaticViewSitemap,> 'oferte':OfertaSitemap>
> }> > urlpatterns = patterns('',> ...> url(r'^admin/',
> include(admin.site.urls)),> ... )
Can anybody help me?
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-developers.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-developers/1f68d0fa-bf24-447a-a362-bf2c7cff5dcb%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.