Joshua Partogi wrote:
> Yes you're right. In my template I only have username, first_name,
> last_name, email and password. I also print out the errors too.
Nowhere are you printing out non-field specific errors - please read
about non_field_errors at
http://docs.djangoproject.com/en/dev/ref/fo
On Mar 28, 7:02 am, Joshua Partogi wrote:
> Yes you're right. In my template I only have username, first_name,
> last_name, email and password. I also print out the errors too.
Probably what is happening is that some of the other fields you are
excluding are required fields. Thus you should use
On Mar 28, 9:31 pm, Matthew Somerville
wrote:
> Joshua Partogi wrote:
> > That is exactly the problem. No exception is thrown. But I guess it
> > didn't pass the validation because it wasn't redirecting to another
> > page. Which is funny because all the required field in
> > django.contrib.aut
Joshua Partogi wrote:
> That is exactly the problem. No exception is thrown. But I guess it
> didn't pass the validation because it wasn't redirecting to another
> page. Which is funny because all the required field in
> django.contrib.auth.models.User object is filled in.
How are you printing ou
On Mar 28, 2:17 pm, Malcolm Tredinnick
wrote:
> On Sat, 2009-03-28 at 13:45 +1100, Joshua Partogi wrote:
> > Dear all,
>
> > I currently want to have a registration system. For that matter I will
> > be using the existing django.contrib.auth.models.User.
>
> > So I created a form object as such
On Sat, 2009-03-28 at 13:45 +1100, Joshua Partogi wrote:
> Dear all,
>
> I currently want to have a registration system. For that matter I will
> be using the existing django.contrib.auth.models.User.
>
> So I created a form object as such:
> class RegisterForm(ModelForm):
> class Meta:
>
Dear all,
I currently want to have a registration system. For that matter I will
be using the existing django.contrib.auth.models.User.
So I created a form object as such:
class RegisterForm(ModelForm):
class Meta:
model = User
And the view:
def form(request):
if request.method
7 matches
Mail list logo