I'm running manage.py runserver.
Django version is: 1.5.1

in Settings.py I have this:

MIDDLEWARE_CLASSES = (
     'django.middleware.common.CommonMiddleware',
     'django.contrib.sessions.middleware.SessionMiddleware',
    # 'django.middleware.csrf.CsrfViewMiddleware',
     'django.contrib.auth.middleware.AuthenticationMiddleware',
     'django.contrib.messages.middleware.MessageMiddleware',
    # Uncomment the next line for simple clickjacking protection:
    # 'django.middleware.clickjacking.XFrameOptionsMiddleware',
)

And this:

INSTALLED_APPS = (
     'django.contrib.auth',
     'django.contrib.contenttypes',
     'django.contrib.sessions',
    # 'django.contrib.sites',
     'django.contrib.messages',
    # 'django.contrib.staticfiles',
    # Uncomment the next line to enable the admin:
    # 'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
    'books',
    'django.contrib.admin',
)

And then did syncdb in the shell.

In urls.py :
from django.contrib import admin
admin.autodiscover()

And made a urlpatterns




Op dinsdag 20 augustus 2013 18:44:09 UTC+2 schreef ke1g:
>
> Not enough information.
>
> Django works fine with python2.7, so we would need to know, for example, 
> which version of Django, how you installed it, whether you are using 
> manage.py runserver or whether you are running behind Apache or something 
> else, and what exactly you mean by "I installed the admin and such"
>
>
> On Tue, Aug 20, 2013 at 12:35 PM, Glenn Vulkers 
> <[email protected]<javascript:>
> > wrote:
>
>> Hello everyone,
>>
>> I'm just reading throught djangobook.com where I came to Chapter 6 so 
>> far. It's about The Django Admin. I installed the admin and such
>> but I notice that the CSS is missing. Does anyone know what to do? I'm 
>> running Python2.7
>>
>> Glenn
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> To post to this group, send email to [email protected]<javascript:>
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to