Re: django with pinax.

2010-11-15 Thread Cancer
seems your problem was solved? 2010/11/12 sh4d0w > Hi guys just trying to get the admin section of a pinax site working > and i am getting the following error when i try and load the admin > section. > > TemplateDoesNotExist at /admin/ > admin/login.htmlRequest Method: GET > Request URL: http://

Re: The problem about load css/js when developing.

2010-10-17 Thread Cancer
.] > > 2. urls.py > [...] > from django.conf import settings > [...] > (r"^your-media-dir/(.*)$", "django.views.static.serve", {"document_root": > settings.MEDIA_ROOT}), > [...] > > 3. your base template > [...] > > &g

The problem about load css/js when developing.

2010-10-17 Thread Cancer
Hello,everyone. I want to load the css/js files in my development. I write the code follows in my "urls.py" accordding to "How to serve static files " (r'^yzx_media/(?P.*)$', 'django.views.static.serve', {'document_root': '/media