Re: forms/widgets media: position of 'class' directive

2009-01-12 Thread Artem Skvira
You are right - I have just omited "," in js = ('prototype.js', ) Thanks! On Jan 12, 2:04 am, "Ramiro Morales" <cra...@gmail.com> wrote: > On Sun, Jan 11, 2009 at 10:33 AM, Artem Skvira <artem.skv...@gmail.com> wrote: > > > Hi all, > > >

forms/widgets media: position of 'class' directive

2009-01-11 Thread Artem Skvira
Hi all, I've stumbled upon strange behaviour in django: when declaring form/ widget with class Media, ie.: class AddressForm(ModelForm): streetNo = forms.CharField() ... class Meta: ... class Media: js = ('prototype.js', ) I get tons of javascript inclusions

Re: Permissions: is something wrong with them?

2009-01-06 Thread Artem Skvira
Keith-Magee" <freakboy3...@gmail.com> wrote: > On Tue, Jan 6, 2009 at 4:26 AM, Artem Skvira <artem.skv...@gmail.com> wrote: > > On Jan 2, 6:26 pm, Artem Skvira <artem.skv...@gmail.com> wrote: > >> Would anyone be able to comment on the issues raised? &g

Re: Permissions: is something wrong with them?

2009-01-05 Thread Artem Skvira
Can I get Russell's comment on that? On Jan 2, 6:26 pm, Artem Skvira <artem.skv...@gmail.com> wrote: > Well, > > it's not the usage I'm not clear on but rather architecture. > Would anyone be able to comment on the issues raised? > > Thanks > > On Jan 2,

Re: Permissions: is something wrong with them?

2009-01-01 Thread Artem Skvira
Well, it's not the usage I'm not clear on but rather architecture. Would anyone be able to comment on the issues raised? Thanks On Jan 2, 2:20 pm, Jeff Anderson <jeffe...@programmerq.net> wrote: > Artem Skvira wrote: > > Is it worth asking this question is dev group? >

Re: Permissions: is something wrong with them?

2009-01-01 Thread Artem Skvira
Is it worth asking this question is dev group? On Dec 31 2008, 1:56 am, Artem Skvira <artem.skv...@gmail.com> wrote: > Hi all, > > I have some issues with djangopermissionsmodel. Please bear in mind > that I have just started learning django so feel free to correct me if > I

Re: Permissions: is something wrong with them?

2009-01-01 Thread Artem Skvira
Is it worth asking this question is dev group? On Dec 31 2008, 1:56 am, Artem Skvira <artem.skv...@gmail.com> wrote: > Hi all, > > I have some issues with djangopermissionsmodel. Please bear in mind > that I have just started learning django so feel free to correct me if > I

Permissions: is something wrong with them?

2008-12-30 Thread Artem Skvira
Hi all, I have some issues with django permissions model. Please bear in mind that I have just started learning django so feel free to correct me if I'm wrong :) First of all it was hard to find how one can add a custom permission to list of permissions of a model instance. I ended up with a