Multiple references to same field

2011-11-22 Thread Dejan Noveski
entry.post to be entry.parent. But I also want to be able to filter by the "virtual" field post. Say Entry.objects.get(post__id__in=[something]) Is this possible at all? Thanks and cheers! -- -- Dejan Noveski -- You received this message because you are subscribed to the Google Groups &qu

Dynamic parameters in django URLs

2011-09-29 Thread Dejan Noveski
this without declaring each possible combination of url params? Thanks -- -- Dejan Noveski <http://twitter.com/dekomote> -- 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@

Re: Wired image file upload problem

2011-09-29 Thread Dejan Noveski
>> http://groups.google.com/group/django-users?hl=en. >> > > -- > 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

Re: how to call an external Javascript using static serve() in Django?

2010-06-09 Thread Dejan Noveski
sers%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski

Re: how to fetch query string in the view

2010-06-09 Thread Dejan Noveski
t; "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this g

Formats and localization

2010-06-08 Thread Dejan Noveski
this for generating links and i need the clean number. Please no dirty hacks of removing the separator. Thank you. -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received this message because you are subscribed

Re: Resize uploaded file file with PIL

2010-05-26 Thread Dejan Noveski
nneth Gonsalves > > Senior Associate > > NRC-FOSS at AU-KBC > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-us...@googlegroups.com. > To unsubscribe from this grou

Grouping of applications in admin

2010-05-25 Thread Dejan Noveski
Hello, Is there a way i can group admin models from different applications to show in one container in admin initial page? Thanks, Dejan -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received

Re: If is first time logging in

2010-05-19 Thread Dejan Noveski
s so filling out the form is a necessary part of their job. I just > want to know how to make it really obvious to them the first time they > login. > > > > On May 19, 4:36 pm, Dejan Noveski <dr.m...@gmail.com> wrote: > > Best will be if you make Useraccount m

Re: If is first time logging in

2010-05-19 Thread Dejan Noveski
or more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received this message because you are subscri

Form Field and Form instance

2010-05-19 Thread Dejan Noveski
Hi all, Is there any way to get the form object in a field class? Something similar to contribute_to_class in model forms? Thanks -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received

Re: Form validation

2010-05-19 Thread Dejan Noveski
> > >user = User.objects.get(pk=request.user.id) from = UpdateUserForm(user, ...initialstuff...) > First off, change this to form = UpdateUserForm(request.user,...) request.user is django.contrib.auth.User object. You have to have -- -- Dejan Noveski Web Developer dr.m.

Re: Form validation

2010-05-19 Thread Dejan Noveski
On Wed, May 19, 2010 at 3:11 PM, Dejan Noveski <dr.m...@gmail.com> wrote: > >>user = User.objects.get(pk=request.user.id) > >from = UpdateUserForm(user, ...initialstuff...) >> > > First off, change this to form = UpdateUserForm(request.user,...) > requ

Localized fields in modelforms/modeladmin

2010-05-18 Thread Dejan Noveski
Hi everybody, Is there a way i can localize some of the form fields from the ModelForm class or ModelAdmin class? -- -- Dejan Noveski Web Developer dr.m...@gmail.com Twitter: http://twitter.com/dekomote | LinkedIn: http://mk.linkedin.com/in/dejannoveski -- You received this message because