Re: Django/Apache on Ubuntu - admin page looks weird

2009-01-08 Thread elithrar
Just in case you miss it - and this is the method I'd suggest, as it makes updating easy: > Create a symbolic link to the admin media files from within your document > root. This way, all of your Django-related files -- code and templates -- > stay in > one place, and you'll still be able to sv

How to customize admin interface to edit foreignkey objects on the same page?

2009-01-08 Thread itsnotvalid
I have two model, say CustomProfile and User. When I want to edit CustomProfile I also want to edit the required User object at the same time, which means that for the admin it would look like they are joined together on the add/edit page of CustomProfile. However since I have different profiles

How to get the url for media_root?

2009-01-08 Thread itsnotvalid
Second question at the same time Anyways, I encountered a problem that when I want to get an item from my media directory, which is set correctly in settings.py, however I couldn't find a template tag to get the url of the media. Looked into the code for djangoproject.com and found that they

Re: Your IDE of choice

2009-01-08 Thread Nikolay Panov
You may also try Rope. Theyr auto-completion is better than pysmell too. Have a nice day, Nikolay. On Fri, Jan 9, 2009 at 01:23, Marco Buttu wrote: > > On Wed, 2009-01-07 at 13:06 +, Adam Stein wrote: > >> I have omnicomplete working (haven't used it too much yet). I have >> this >> i

Re: How to get the url for media_root?

2009-01-08 Thread Malcolm Tredinnick
On Thu, 2009-01-08 at 22:58 -0800, itsnotvalid wrote: > Second question at the same time > > Anyways, I encountered a problem that when I want to get an item from > my media directory, which is set correctly in settings.py, however I > couldn't find a template tag to get the url of the media.

Re: How to get the url for media_root?

2009-01-08 Thread itsnotvalid
Thanks a lot!! I completely missed the part regarding context processors... poor me... That means I am still not googlish enough... On Jan 9, 3:09 pm, Malcolm Tredinnick wrote: > On Thu, 2009-01-08 at 22:58 -0800, itsnotvalid wrote: > > Second question at the same time > > > Anyways, I encou

<    1   2