django application hosted on godaddy don't display the site models in admin page

50 views
Skip to first unread message

Mironiuc Sergiu

unread,
Feb 12, 2014, 8:27:01 AM2/12/14
to django-d...@googlegroups.com

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?

Michael Manfre

unread,
Feb 12, 2014, 8:52:10 AM2/12/14
to django-d...@googlegroups.com
This mailing list is for the discussion of developing the Django framework. Discussion about using the Django framework belong on the django-users mailing list. https://groups.google.com/forum/#!forum/django-users

Regards,
Michael Manfre


--
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 django-develop...@googlegroups.com.
To post to this group, send email to django-d...@googlegroups.com.
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.

Reply all
Reply to author
Forward
0 new messages