दिखा रहा है मैं उस बिंदु तक ट्यूटोरियल का पालन कर रहा हूं जब तक कि व्यवस्थापक बैकएंड के लिए मेरे पास लॉगिन पृष्ठ नहीं होना चाहिए। http://docs.djangoproject.com/en/dev/intro/tutorial02/Django व्यवस्थापक पृष्ठ
इसके बजाय मैं इस तरह स्वागत पृष्ठ मिलती है:
मैं INSTALLED_APPS में व्यवस्थापक ऐप्स सक्षम किया है, db सिंक किया गया है और इसलिए urls.py फेरबदल मुझे यकीन है कि समस्या क्या है नहीं कर रहा हूँ ।
mod_wsgi के साथ apache2 चल रहा है।
urls.py: django.conf.urls.defaults से आयात *
# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
# Example:
# (r'^testproject/', include('testproject.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
(r'^admin/', include(admin.site.urls)),
)
Settings.py:
...
INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
# Uncomment the next line to enable the admin:
'django.contrib.admin',
# Uncomment the next line to enable admin documentation:
'django.contrib.admindocs',
'polls'
)
...
टेबल्स:
डाटाबेस बदल
mysql> SHOW TABLES;
+----------------------------+
| Tables_in_django_test |
+----------------------------+
| auth_group |
| auth_group_permissions |
| auth_message |
| auth_permission |
| auth_user |
| auth_user_groups |
| auth_user_user_permissions |
| django_admin_log |
| django_content_type |
| django_session |
| django_site |
| polls_choice |
| polls_poll |
+----------------------------+
अपाचे के बाद से django वेबसर्वर पर स्विच करना मुझे कुछ समस्याएं दे रहा है। व्यवस्थापक पृष्ठ 404 और यह कार्य पृष्ठ अब नीला नहीं है। – Keyo