hi folks,
I have a customized form, I want to it can be displayed, if user
made a change, it can be submitted and saved. what should I do? the
form was made from 2 different models.
here is my code:
=forms.py===
class ChangePersonalInfo(forms.Form):
ValueError at /vote/add/
invalid literal for int() with base 10: 'AA'
Request Method: POST
Request URL:http://localhost:8000/vote/add/
Exception Type: ValueError
Exception Value:
invalid literal for int() with base 10: 'AA'
Exception Location:
Hi all, I am writing a project on django, everything is fine, acutally
I have finished few apps already. btw I am using django itself to
debug and act as web-server.
I got the develop version of django and django-tagging. when I try to
install django-tagging as the command
sudo python setup.py
any help:?
On Jun 13, 6:02 pm, Chr1s <[EMAIL PROTECTED]> wrote:
> Hi thanks for your replay,
> It is the second situation, I re-write the form.py like this
>
> class RegistrationForm(forms.Form):
> (other stuff )
> def save(self, profile_callback=Non
arguments (4
given)
thanks
On Jun 13, 5:17 pm, "James Bennett" <[EMAIL PROTECTED]> wrote:
> 2008/6/13 Chr1s <[EMAIL PROTECTED]>:
>
> > But still I don't know how to implement this, anyone could give me a
> > simple example? thanks very much
>
> This
Hi guys I am newbie for django, today I tried django-registration, in
the source code it said that
---
To enable creation of a custom user profile along with the
``User`` (e.g., the model specified
Hi guys, I tried django-registration 0.5 today, it is powerful indeed,
but I have a site-specific user profile just like this writen in my
model.py
class Userdetail(models.Model):
user = models.ForeignKey(User, primary_key = True) #
nickname = models.CharField(max_length=30)
DOB =
7 matches
Mail list logo