> > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*base.css HTTP/1.1" 404 3861 > [04/Apr/2012 14:36:13] "GET */admin/admin/css/*dashboard.css HTTP/1.1" > 404 3876
Is this directory (in bold) correct? On 5 April 2012 00:19, maxim <m.siniav...@gmail.com> wrote: > Continuing on in the tutorial, I got to the part where it explains how to > use the admin site. It seems that after enabling the admin, it cannot find > the css files it uses, so the web page looks very strange. > > When making a request for an admin page I get the following output from > the runserver: > [04/Apr/2012 14:36:12] "GET /admin/ HTTP/1.1" 200 3740 > [04/Apr/2012 14:36:13] "GET /admin/admin/css/base.css HTTP/1.1" 404 3861 > [04/Apr/2012 14:36:13] "GET /admin/admin/css/dashboard.css HTTP/1.1" 404 > 3876 > > Which seems to indicate that it can't find base.css and dashboard.css. > > I tried following the steps in the Customizing Admin Look and feel to get > custom templates working to change the urls, but with no luck. > How do I get the default admin to find its css files? > > > On Wednesday, 4 April 2012 12:51:39 UTC-4, maxim wrote: >> >> I can't get the tutorial working for me. When I try to run the command: >> python manage.py syncdb >> >> I get this error: >> Traceback (most recent call last): >> File "manage.py", line 10, in <module> >> execute_from_command_line(sys.**argv) >> File >> "/usr/lib/python2.7/site-**packages/django/core/**management/__init__.py", >> line 443, in execute_from_command_line >> utility.execute() >> File >> "/usr/lib/python2.7/site-**packages/django/core/**management/__init__.py", >> line 382, in execute >> self.fetch_command(subcommand)**.run_from_argv(self.argv) >> File "/usr/lib/python2.7/site-**packages/django/core/**management/base.py", >> line 196, in run_from_argv >> self.execute(*args, **options.__dict__) >> File "/usr/lib/python2.7/site-**packages/django/core/**management/base.py", >> line 232, in execute >> output = self.handle(*args, **options) >> File "/usr/lib/python2.7/site-**packages/django/core/**management/base.py", >> line 371, in handle >> return self.handle_noargs(**options) >> File "/usr/lib/python2.7/site-**packages/django/core/** >> management/commands/syncdb.py"**, line 57, in handle_noargs >> cursor = connection.cursor() >> File >> "/usr/lib/python2.7/site-**packages/django/db/backends/**dummy/base.py", >> line 15, in complain >> raise ImproperlyConfigured("**settings.DATABASES is improperly >> configured. " >> django.core.exceptions.**ImproperlyConfigured: settings.DATABASES is >> improperly configured. Please supply the ENGINE value. Check settings >> documentation for more details. >> >> My settings file has this for databases: >> DATABASES = { >> 'default': { >> 'ENGINE': 'django.db.backends.sqlite3', # Add >> 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. >> 'NAME': '/home/maxim/mysite/mysite.db'**, # >> Or path to database file if using sqlite3. >> 'USER': '', # Not used with sqlite3. >> 'PASSWORD': '', # Not used with sqlite3. >> 'HOST': '', # Set to empty string for >> localhost. Not used with sqlite3. >> 'PORT': '', # Set to empty string for >> default. Not used with sqlite3. >> } >> } >> >> >> -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/django-users/-/7-6nFmQGXpMJ. > > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.