How to customise a ModelForm and retain validation?

2010-10-24 Thread Brendon
ion system. But it would be good to leave that for another thread. I am currently using DJango 1.2.1 Thanks, Brendon. # # Models # class Permission(models.Model): name = models.CharField(max_length=128, primary_key=Tru

URL's and Multi Dimensional Filtering/Searching

2010-09-30 Thread Brendon Costa
ause YYY-MM-DD is a valid company name, this scheme breaks. Is there a more general or better way to do something like this? Thanks, Brendon. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django

Newbie template problem

2010-09-22 Thread Brendon
developer_view_or_update(request, developer_id): d = get_object_or_404(Developer, pk=developer_id) if request.method == 'POST': form = DeveloperForm(request.POST) if form.is_valid(): pass # @@@Brendon Later will do stuff

REST XML + HTML API suggestions

2010-09-20 Thread Brendon
vides it in a form that can be used to change the data with a POST * POST : https://mywebsite/web/room// : Modifies details for an existing room * DELETE : https://mywebsite/web/room// : Delete a room Thanks, Brendon. -- You received this message because you are subscribed to the Google G

Composite Primary Key Support

2010-09-03 Thread Brendon
ure if this was the best place to ask or django-developers. Please let me know i should move this question over. Thanks, Brendon. -- 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...@googleg

Re: Image and File Field hard coded sizes

2007-03-13 Thread Brendon
On Mar 12, 3:23 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > A change to fix this (make the length longer) will be committed after > 0.96. I'm intentionally not committing it beforehand because it is a > backwards incompatible change in the sense that every database using > such a field wil

Re: How much work has been done with newforms?

2007-03-12 Thread Brendon
On Mar 12, 3:59 am, "Grupo Django" <[EMAIL PROTECTED]> wrote: > Hello, I'd like to know how is the work going with newforms. I don't > want a release date or something like this, just to know how is it > going, and the documentation as well. > I'm programming a website in django and I'd like to kn

Image and File Field hard coded sizes

2007-03-12 Thread Brendon
seem to have exceeded the 100 char limit which is why I'm asking! Brendon --~--~-~--~~~---~--~~ 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@googlegro

Re: import calendar

2006-03-12 Thread Brendon Kelly
I guess there maybe a same named file calendar.py or calendar packagein your directory, which is duplicated with python calendar.py modulefile.Ahh... that would be the app I created in my project called calendar :)  You can tell I'm new to Python (and Django)Thanks for the quick reply. --~--~