I am afraid, I did not understand your question. Are you trying to generate
a form based on your model/ models?
On Friday, June 28, 2013 3:23:00 PM UTC-5, MacVictor wrote:
>
> and how to get only Form (not ModelForm) use string name?
>
> W dniu piątek, 28 czerwca 2013 22:09:41 UTC+2 użytkownik M
The way I learned it was by reading the offical free django book. According
to me, the tutorial app does not teach you lot of django. The first chapter
8 chapter of the book will give you a solid understanding. Hope that thelps.
On Friday, June 28, 2013 2:35:17 AM UTC-5, subs...@gmail.com wrote:
Can you explain a little more?
On Thursday, June 27, 2013 11:22:14 AM UTC-5, Mário Idival wrote:
>
> Hello,
> How you do for add more formset in form with Django 1.5?
>
> --
> Mário Idival
>
> *Twitter *: *@marioigd*
> *Facebook*: *mario.idival*
> *User Linux : **#554446*
> Skype*: marioidival*
>
Even cake php framework does create db tables from models. The only thing
is that you need to install a third party application.
On Thursday, June 27, 2013 4:13:38 PM UTC-5, thoms wrote:
>
> Hello,
>
> I have a PHP background, and I'm learning Django.
> Long story short: I love Django, but s
EventsFormSet = modelformset_factory(Events, extra=0)
if request.method == 'POST':
formset = EventsFormSet(request.POST)
if formset.is_valid():
formset.save();
return HttpResponseRedirect('/sucess/')
else:
formset =
EventsFormSet(queryset=E
This is what I currently have-
def __unicode__(self):
return u'%s %s %s %s %s %s' % (self.first_name, self.last_name,
self.course, self.lab, self.start_time, self.end_time)
How do I add another unicode method so that it will return only first_name
and last_name? I understand that unicode method
In my models file, I have the following unicode method-
def __unicode__(self):
return u'%s %s %s %s %s %s' % (self.first_name, self.last_name,
self.course, self.lab, self.start_time, self.end_time)
How can I have another unicode method which will return only first_name and
last_name? I understa
7 matches
Mail list logo