Re: css issues

2011-04-09 Thread rahul jain
Sorry for the incomplete message. This what the structure looks like now mysite/ media / css / file1 js/ js1 img/ img1 Settings.py MEDIA_ROOT = '' MEDIA_URL = ''

css issues

2011-04-09 Thread rahul jain
All, I copied the media directory from django project into my site project. This is what it looks like now mysite/ -- 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

Re: prepopulated_fields problem (+admin CSS issues)

2010-09-14 Thread nick.l...@gmail.com
If the slugs are something you're really concerned with... I would say customize the change form to work the way you want. Personally, I would rather the computer error on the side of not breaking...instead of trying to anticipate what I want it to do this time...vs next time vs a year from now.

Re: prepopulated_fields problem (+admin CSS issues)

2010-09-14 Thread Nick
Yeah that makes sense. I guess we just need to be more careful when adding live posts. Maybe it wouldn't be a bad idea to add the functionality on change if a post is anything but live. This way the slug stays relevant to the title for drafts if the editor feels like experimenting with different

Re: prepopulated_fields problem (+admin CSS issues)

2010-09-14 Thread nick.l...@gmail.com
Nick, I can answer you first question...but not really the second...hopefully someone else will come and explain that one to you... re slugs: The prepopulated_fields are working as intended. The reason being, say you've written a blog post. You've send that link out to thousands and millions of

prepopulated_fields problem (+admin CSS issues)

2010-09-14 Thread Nick
Hello, I'm running django 1.2.3 on a local server and am still quite new to django. I was working with the "practical django projects second edition" book and implemented the prepopulated_fields option to auto populate slugs from titles. It works when I add a new post but it does not work when I

Re: CSS Issues

2008-01-07 Thread pacman
Thanks for you help everyone I finally figured it out. I created another virtual host to serve my media and it worked. Looks like this: ServerAdmin [EMAIL PROTECTED] ServerName media.abc.net DocumentRoot /srv/django_site/media/ Options None AllowOverride None

Re: CSS Issues

2008-01-07 Thread pacman
Ok I tried the sym link method and that doesn't seem to work. Grady, what are you referencing from the documentation? Are you referring to the tags? If so I have those tossed within the virtualhost tag. Should I make those global and not within a virtual host tag? On Jan 7, 4:51 am, Collin

Re: CSS Issues

2008-01-07 Thread Collin Grady
As zodman is getting at, django does not map your media for you - you have to do that. http://www.djangoproject.com/documentation/modpython/#serving-media-files --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: CSS Issues

2008-01-06 Thread zodman
define as /srv/ your documentroot on apache virtualhost. change 755 permission to your /srv/abc/media dir put a symbolic link on /srv/media --> /srv/abc/media/ rember when the navegator search on django.abc.com/media/ search /media dir for /media/ location on your documentroot William

Re: CSS Issues

2008-01-06 Thread zodman
define as /srv/ your documentroot on apache virtualhost. change 755 permission to your /srv/abc/media dir put a symbolic link on /srv/media --> /srv/abc/media/ rember when the navegator search on django.abc.com/media/ search /media dir for /media/ location on your documentroot William

Re: CSS Issues

2008-01-06 Thread William Siegrist
bah, nevermind, I should try reading more carefully, as you're not using the test server. :) Sorry. Might be a conflict with using /media/ for both admin and static files? -Bill On Jan 6, 2008, at 9:12 PM, pacman wrote: Hi, I have a strange issue with my css not loading. CSS and Images

Re: CSS Issues

2008-01-06 Thread William Siegrist
Have you tried this yet? http://www.djangoproject.com/documentation/static_files/ -Bill On Jan 6, 2008, at 9:12 PM, pacman wrote: Hi, I have a strange issue with my css not loading. CSS and Images seem to work fine for the admin portion of the site but when I try to add my own CSS it

CSS Issues

2008-01-06 Thread pacman
Hi, I have a strange issue with my css not loading. CSS and Images seem to work fine for the admin portion of the site but when I try to add my own CSS it can't seem to find it. my variables look as such: MEDIA_ROOT = '/srv/abc/media/' MEDIA_URL = 'http://www.abc.net/media/' ADMIN_MEDIA_PREFIX

fixing css issues

2007-01-31 Thread backdoc
I'm brand new to Django. And, I was having a problem getting my CSS working. I searched the archives here and I saw lots of references from people having the same problems with CSS and some debates on how to go about making it work. But, I never saw anyone spell out exactly how they got it

Re: CSS issues

2006-03-11 Thread tomass
Great, works a treat! Thanks so much Tom --~--~-~--~~~---~--~~ 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 issues

2006-03-09 Thread Steven Armstrong
On 03/09/06 11:47, tomass wrote: > Hi Folks, > > I've copied the admin css to be used for my views, but I've added in > this custom section which is a modified version of the FILTER COLUMN > from changelist.css: > > /* FILTER COLUMN (CUSTOM VERSION) */ > > #changelist-filter-custom

CSS issues

2006-03-09 Thread tomass
Hi Folks, I've copied the admin css to be used for my views, but I've added in this custom section which is a modified version of the FILTER COLUMN from changelist.css: /* FILTER COLUMN (CUSTOM VERSION) */ #changelist-filter-custom {position:absolute; top:0; right:0; width:180px;