Re: django admin css problem

2010-12-02 Thread octopusgrabbus
I failed to provide the following information in a similar post, and it slowed down responses. 1) What web server are you using? If it is not the built in development server, please provide the configuration for Django. 2) Check your application's settings.py file and make sure the appropriate

Re: django admin css problem

2010-12-02 Thread ozgur yilmaz
I found the answer. The problem was about the apache (httpd) configuration. When i add the following to httpd config, the problem is solved: AllowOverride None Options None Order allow,deny Allow from all Alias /media/

django admin css problem

2010-12-02 Thread ozgur yilmaz
Hi, Yesterday i moved my site to a linux solution. Everything is going fine, except admin site. When i go to url example.com/admin, the template doesnt work. When i look at the source, i see these: But i dont have any urls or files on example.com/media/css/base.css or

Re: css problem

2008-03-27 Thread [EMAIL PROTECTED]
http://www.djangoproject.com/documentation/static_files/ On Mar 27, 9:28 pm, "Brian Armstrong" <[EMAIL PROTECTED]> wrote: > Greg, check out settings.py. CSS counts as media -- it's a static > file you want to serve up to the outside. The exact details of how > this works depend on how the

Re: css problem

2008-03-27 Thread Brian Armstrong
Greg, check out settings.py. CSS counts as media -- it's a static file you want to serve up to the outside. The exact details of how this works depend on how the server you're on is set up, but essentially you have two options. You go into settings.py and fill in values for media_root and

css problem

2008-03-27 Thread Greg Lindstrom
Hello List! Things clicked tonight! I visited with Jacob at PyCon and decided that it was time to really learn Django. I have gone through most of the Django book (online) and the Head First XHTML with CSS books. Tonight, everything came together and I've written my first web pages using

Re: CSS problem

2007-11-13 Thread David
Thank you Lazlo, today your my hero! David --~--~-~--~~~---~--~~ 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,

Re: CSS problem

2007-11-12 Thread Laszlo Marai
On Mon, 12 Nov 2007 14:42:15 - David <[EMAIL PROTECTED]> wrote: Hi, > On Nov 9, 7:16 pm, David <[EMAIL PROTECTED]> wrote: > > I seem to have a similar (stupid) problem, which I just can't get: > > (Though it's not the backslashes!) > > > > This is from my settings.py: > > MEDIA_ROOT =

Re: CSS problem

2007-11-12 Thread David
Nobody that could help me? Do you need further information? On Nov 9, 7:16 pm, David <[EMAIL PROTECTED]> wrote: > I seem to have a similar (stupid) problem, which I just can't get: > (Though it's not the backslashes!) > > This is from my settings.py: > MEDIA_ROOT =

Re: CSS problem

2007-11-09 Thread pepe
alert('x'); --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED]

Re: CSS problem

2007-11-09 Thread David
excuse me, can you explain this please? On Nov 9, 7:25 pm, pepe <[EMAIL PROTECTED]> wrote: > alert('x'); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: CSS problem

2007-11-09 Thread David
I seem to have a similar (stupid) problem, which I just can't get: (Though it's not the backslashes!) This is from my settings.py: MEDIA_ROOT = 'C:/django/myProject/src/media/' MEDIA_URL = 'http://localhost:8000/media/' ADMIN_MEDIA_PREFIX = '/media/' in my html-template: in urls.py:

Re: CSS problem

2007-11-01 Thread Goutham D L
Solved:) Really stupid mistake. I was using backslashes when i should have been using forward slashes.(Iam on windows btw). Thanks a lot for ur help. Goutham On 11/1/07, dunia <[EMAIL PROTECTED]> wrote: > > > Goutham DL wrote: > > Can some one please help me out here? > > > > On Nov 1, 7:03 pm,

Re: CSS problem

2007-11-01 Thread dunia
Goutham DL wrote: > Can some one please help me out here? > > On Nov 1, 7:03 pm, Goutham DL <[EMAIL PROTECTED]> wrote: > >> hi, >> Its still not working. Iam actually using django 0.96.The code that >> antoni gave is giving errors. >> Can someone please explain why i need to configure

Re: CSS problem

2007-11-01 Thread Antoni Aloy
The port is 8000 for Django, but I'll suppose is a typo. Please check: MEDIA_ROOT it should be your media folder and it must finist with / MEDIA_URL = 'http://localhost:8000/media/ on urls.py ... from django.con import settings ... if settings.DEBUG: urlpatterns += patterns('',

Re: CSS problem

2007-11-01 Thread Goutham D L
hi Actually i did exactly what u have done in the trunk version. Let me be more explicit. I have a login.html file in which i have a link to login.css. login.html is in templates directory login.css is in media/css directory both media and templates are in my project directory now i configured

Re: CSS problem

2007-11-01 Thread Antoni Aloy
2007/11/1, Goutham DL <[EMAIL PROTECTED]>: > > hi, > Its still not working. Iam actually using django 0.96.The code that > antoni gave is giving errors. The code is prepared for the trunk version of Django, but if you take a look at the settings file and the url.py file you'll see how it deals

Re: CSS problem

2007-11-01 Thread Ramdas S
I think your problem is something more elementary! You are not calling the CSS file from the right path. CSS files have to be served by another server other than Django development server. Why do not you try it with inline css first and see whether it works. Ramdas S On 11/1/07, Goutham DL

Re: CSS problem

2007-11-01 Thread Goutham DL
Can some one please help me out here? On Nov 1, 7:03 pm, Goutham DL <[EMAIL PROTECTED]> wrote: > hi, > Its still not working. Iam actually using django 0.96.The code that > antoni gave is giving errors. > Can someone please explain why i need to configure media_urls ? > (media_root has been

Re: CSS problem

2007-11-01 Thread Goutham DL
hi, Its still not working. Iam actually using django 0.96.The code that antoni gave is giving errors. Can someone please explain why i need to configure media_urls ? (media_root has been configured to the appropriate directory). I just want to link the css file with the html one.how will using

Re: CSS problem

2007-11-01 Thread Gonzalo Delgado
El Thu, 01 Nov 2007 10:13:13 - Goutham DL <[EMAIL PROTECTED]> escribió: > > Hi, > > Iam new to django. Iam having problems loading css files (and images) > using the development server. Is it possible to load css files in the > development server or should i use mod_python? > (since iam a

Re: CSS problem

2007-11-01 Thread Antoni Aloy
2007/11/1, Goutham DL <[EMAIL PROTECTED]>: > > Hi, Hi > Iam new to django. Iam having problems loading css files (and images) > using the development server. Is it possible to load css files in the > development server or should i use mod_python? > (since iam a newbie to mod_python also i prefer

Re: CSS problem

2007-11-01 Thread Horst Gutmann
Sure :-) http://www.djangoproject.com/documentation/static_files/ - Horst On 11/1/07, Goutham DL <[EMAIL PROTECTED]> wrote: > > Hi, > > Iam new to django. Iam having problems loading css files (and images) > using the development server. Is it possible to load css files in the > development

CSS problem

2007-11-01 Thread Goutham DL
Hi, Iam new to django. Iam having problems loading css files (and images) using the development server. Is it possible to load css files in the development server or should i use mod_python? (since iam a newbie to mod_python also i prefer using the development server for sometime) Goutham