私はDjangoアプリを作成していて、現在本番環境にいます。私はこの問題を抱えています:manage.py syncdbを実行した後(それはすべて大丈夫です)私はadminに入り、モデルテーブルを見つけることができません。私のadmin.pyファイルが存在し、これは私のファイルurl.pyです:
from django.conf.urls.defaults import patterns, include, url
from django.contrib import admin
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'stambol.views.home', name='home'),
# url(r'^stambol/', include('stambol.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
)
問題はどこだ?