Re: how to display an image inside Django

2010-05-11 Thread Jason Leveille
On May 11, 7:10 am, ravi krishna wrote: > Hi, > I am a beginner in Django . > Can somebody tel me how to display an image in django... > if anyone has the right tutorial for beginners, please share with me.. > -- > Regards, > Rav! > > -- > You received this message because you are subscribed to th

Re: django takes all my toys

2010-05-10 Thread Jason R. Leveille
On May 10, 9:31 pm, "ah...@cs.ucla.edu" wrote: > Hi, > > I don't know very much about django, except that a piece of software > that one of my colleagues developed requires it to function properly. > > My problem is as follows : I have inherited responsibility for > installing the aforementioned s

Re: Django translations doesn't work !!!

2010-05-09 Thread leveille
On May 9, 4:35 am, nameless wrote: > I have: > >     * created translation strings in the template and in the > application view. >     * run this command: django-admin.py makemessages -l it and the > file it/LC_MESSAGES/django.po has been created >     * translated strings in the django.po file.

Re: Is passing values into the admin add page possible?

2010-05-09 Thread leveille
On May 9, 4:58 am, nih wrote: > I've got a python program that starts up a django web app, I'm trying > to figure out how to pass values from the program to the web app so > some fields in the admin add page are automatically populated with > values from the program, is the only way via url parame

Re: Validating a specific model field

2010-03-11 Thread leveille
On Mar 11, 12:56 am, Julien Phalip wrote: > Is there a way to achieve the same type of specific validation like > with forms? This is new in Django dev (not sure what version of Django you are running), but you might find the following of value: http://docs.djangoproject.com/en/dev/ref/validator

Re: Django FormWizard Dynamically Alter form_list

2010-02-02 Thread leveille
On Feb 2, 3:03 am, Paddy Joy wrote: > I had a similar issue but never got to the bottom of it so I am > interested to know if you figured this out? > > In this bug (a similar issue to > yours)http://code.djangoproject.com/ticket/8808 > Jacob mentions that a workaround is to "instantiate the wizar

Django FormWizard Dynamically Alter form_list

2010-01-30 Thread leveille
I'm having some issues with the form wizard, that maybe someone can shed some light on. According to the docstring in the method process_step: I can "dynamically alter self.form_list". So, based on my project needs, I'm appending forms to the form_list. The forms I'm appending contain questions and

Re: Free eBook: Django 1.0 Website Development

2009-05-22 Thread leveille
On May 22, 3:03 am, Antoni Aloy wrote: > Perhaps I'm confused and you have the rights to publish and distribute > that book but if this is not the case you should avoid this kind of > posts. Packt is the publisher and they are aware (and ok with the fact) that I am giving the book away. Again,

Free eBook: Django 1.0 Website Development

2009-05-21 Thread leveille
I'm doing my best to give away a few books, however, due to my very poor site traffic, I'm not having much luck. So, if you are new to Django and you are interested a free book (Django 1.0 Website Development, published by Packt), or if you know someone who could benefit from a good Django book,

Re: "Building you first Django app, Part 1" example not working

2008-12-22 Thread leveille
You're 14. You recognize that you're having a problem and you post to the Django group for help. You're not stupid at all. I would say you're very intelligent! On Dec 21, 2:43 pm, Chris wrote: > Oh shit, that's awesome! Thanks! I thought it had already created the > DB and wanted me to fill i