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
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
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, ),
> >
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
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
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
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
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'
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
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
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
from movie clips
*
http://priyamaniforyou.blogspot.com/
*
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
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
13 matches
Mail list logo