Re: Non editable fields in admin

2008-07-05 Thread Alex Rades
You mean this? http://code.djangoproject.com/wiki/NewformsHOWTO#Q:HowdoIchangetheattributesforawidgetonasinglefieldinmymodel . It seems there is quite a lot of code involved for each readonly field you want do display... something like readonly_fields would be way better IMHO. On Fri, Jul 4, 200

Re: Correct URL paths and compromises (ticket #285)

2008-07-05 Thread [EMAIL PROTECTED]
I have an idea about the admin problem, what if we changed the admin back to be a normal includes and have admin_site.root actually be a getter for an object that for all purposes acts like a urlconf file(ie it has an attr: urlpatterns that contains a normal pattern object)? On Jul 5, 10:06 pm, M

Re: Correct URL paths and compromises (ticket #285)

2008-07-05 Thread Malcolm Tredinnick
On Sat, 2008-07-05 at 19:53 -0700, Ken Arnold wrote: > On Jul 5, 9:51 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> > wrote: > > Solution #1 > > === > > SITE_PREFIX="/site_prefix/" > > > > urlpatterns = patterns('', > >('^%s/foo/...' % SITE_PREFIX, ), > >

Review of #6587

2008-07-05 Thread [EMAIL PROTECTED]
I think this one is complete now, can anyone tell me otherwise? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To uns

Re: Correct URL paths and compromises (ticket #285)

2008-07-05 Thread Ken Arnold
On Jul 5, 9:51 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Solution #1 > === >         SITE_PREFIX="/site_prefix/" > >         urlpatterns = patterns('', >            ('^%s/foo/...' % SITE_PREFIX, ), >            ... >         ) > Solution #2 > === >         urlpatterns

Re: Correct URL paths and compromises (ticket #285)

2008-07-05 Thread Malcolm Tredinnick
No matter how careful I am with the "set everything out", something always gets forgotten ... On Sun, 2008-07-06 at 11:51 +1000, Malcolm Tredinnick wrote: [...] > Solution #3 > === > > We shove the current SCRIPT_NAME prefix into the currently active > context, just as we do with the act

Correct URL paths and compromises (ticket #285)

2008-07-05 Thread Malcolm Tredinnick
I thought I'd sit down yesterday, do a final review of #285 and commit it. I was naïve. It turned out to be all I did for the day. There are some compromises needed somewhere, so it's time for audience participation. When responding to this email, please try to keep in mind that there are many, m

Re: Status of #6621

2008-07-05 Thread Malcolm Tredinnick
On Sun, 2008-07-06 at 10:40 +1000, Malcolm Tredinnick wrote: > > On Sat, 2008-07-05 at 15:58 -0600, Jeff Anderson wrote: > > Hello I've run into a bug[0] with that affects a new app that is 'out > > there' and is experimental. I have to apply this patch to get the app to > > work. There doesn'

Re: Status of #6621

2008-07-05 Thread Malcolm Tredinnick
On Sat, 2008-07-05 at 15:58 -0600, Jeff Anderson wrote: > Hello I've run into a bug[0] with that affects a new app that is 'out > there' and is experimental. I have to apply this patch to get the app to > work. There doesn't seem to be anything controversial about the patch. > I've updated the

Status of #6621

2008-07-05 Thread Jeff Anderson
Hello I've run into a bug[0] with that affects a new app that is 'out there' and is experimental. I have to apply this patch to get the app to work. There doesn't seem to be anything controversial about the patch. I've updated the patch to apply cleanly against the current SVN. Is there anythin

Re: ModelForm Choices with session data

2008-07-05 Thread Tom Tobin
On Sat, Jul 5, 2008 at 3:10 AM, Keir <[EMAIL PROTECTED]> wrote: > I have recently been working on my first project in Django and have > encountered a small problem when using ModelForm. Here's my ModelForm > class You're on the wrong list. ^_^ For support questions, you want django-users. The

watch priyamani glamors photo

2008-07-05 Thread anmitha
watch priyamani glamors photo from movie clips * http://priyamaniforyou.blogspot.com/ * --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

ModelForm Choices with session data

2008-07-05 Thread Keir
Hi, I have recently been working on my first project in Django and have encountered a small problem when using ModelForm. Here's my ModelForm class class MessageForm(forms.ModelForm): user_accounts = account.objects.filter(id=USER_ID)| account.objects.filter(parent=USER_ID) accou