Re: forms.FileField | required=True fails

2008-11-18 Thread jelle
Hi Rajesh, Yahooo! Thanks got it fixed, using UploadForm(request.POST, request.FILES). I missed out on request.FILES the first time. Cool, many thanks! -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: forms.FileField | required=True fails

2008-11-18 Thread jelle
to comment visually') img_text= forms.CharField(required=False, label='Optional: Hover text for the image') *** template *** {% if form.is_multipart %} {% else %} {% endif %} {{form.as_table}}

forms.FileField | required=True fails

2008-11-18 Thread jelle
ired, when providing it with a file. Have you perhaps notices / had to work around the issue too? Many thanks in advance, -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: check if file exists before uploading | adding a validator to a field

2008-10-09 Thread jelle
Many thanks Carl, that was most helpful! --~--~-~--~~~---~--~~ 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 group, send em

check if file exists before uploading | adding a validator to a field

2008-10-06 Thread jelle
Hi, I'm working on an asset managment app, that will rename uploaded files according to a specified nomenclature. Now, what I'd like to do is to write a validator which will check if a ( renamed ) file is already existing. Writing the validator itself isnt too hard; I can just use pre_save.connec

Re: keeping a list of objects sorted

2008-07-17 Thread jelle
Hi Norman, Yep, I'm just looping through the list. Pretty awkward, right? --~--~-~--~~~---~--~~ 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 un

keeping a list of objects sorted

2008-07-17 Thread jelle
do to overcome this issue? Thanks, -jelle --~--~-~--~~~---~--~~ 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 gr

Re: django.contrib.seach | lucene unicode showstopper

2007-09-04 Thread jelle
> PyLucene on its own has no problems with unicode. The PyLucene API > accepts either unicode objects or utf-8 encoded strings. I suppose the > problem is in the django.contrib.search (I don't use it so I cann't be > sure). True, I've seen that as well. --~--~-~--~~~---

Re: django.contrib.seach | lucene unicode showstopper

2007-09-04 Thread jelle
> PyLucene on its own has no problems with unicode. The PyLucene API > accepts either unicode objects or utf-8 encoded strings. I suppose the > problem is in the django.contrib.search (I don't use it so I cann't be > sure). True, I've seen that as well. --~--~-~--~~~---

Re: django.contrib.seach | lucene unicode showstopper

2007-09-04 Thread jelle
> PyLucene on its own has no problems with unicode. The PyLucene API > accepts either unicode objects or utf-8 encoded strings. I suppose the > problem is in the django.contrib.search (I don't use it so I cann't be > sure). True, I've seen that as well. --~--~-~--~~~---

django.contrib.seach | lucene unicode showstopper

2007-09-04 Thread jelle
ich for me is a showstopper for sure. Which is a pity in my mind: django.contrib.search could be a wonderful addition! Thanks, -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

auto updating a model

2006-11-28 Thread jelle
that a tag won't be duplicated. Since calling self.addTags() directly isn't an option, what's the djangthonic thing to do here? Thanks! -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django u

Re: Django Gebruikers Groep

2006-11-12 Thread jelle
+1 goed plan! een annual meeting zou ook een plan kunnen zijn. --~--~-~--~~~---~--~~ 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 unsubscrib

yet again | sorting & generic views

2006-08-16 Thread jelle
IsPublished=True ).order_by( 'attribute' ) else: qs = Event.objects.order_by('attribute') return object_list(request, qs) I'd love to hear what would be a s

Re: upload error | deleting object after it has been uploaded...

2006-08-16 Thread jelle
will be added to the svn soon, since to those who are still fresh to django its quite hard to figure this type of thing out Cheers! -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gr

upload error | deleting object after it has been uploaded...

2006-08-15 Thread jelle
Hi, Enjoying django while working on my new site. Things is that I'm experiencing a freak error. When finishing an upload, the object generated by the upload action is deleted. Checking out the history in the admin interface gives the following: Aug. 15, 2006, 9:09 p.m. jelle

Re: django / IDE integration

2006-05-11 Thread jelle
Thanks for clearing that up Luke! --~--~-~--~~~---~--~~ 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 group, send email t

django / IDE integration

2006-05-10 Thread jelle
g expectation in what extent my IDE can run django, or am I overlooking something here? thanks so much for your effort in creating Django! -jelle --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users"