Re: How to Query account/profile information for multiple account and allowing user edit or update acount

2013-10-08 Thread Okorie Emmanuel
Thanks for your response This is what i want to do, I want to create an app that have two different users that is teachers(one type of user) and student(another type of user) the problem is how to create them without using AUTH_USER_MODEL = 'myapp.MyUser' since it is for one kind of user only.

How to Query account/profile information for multiple account and allowing user edit or update acount

2013-09-30 Thread Okorie Emmanuel
I have two problems 1. How can i populate the account information of each user, this what i have done but only info on user models populates, the info on extended field does not show on my template # models.py class Student(Models.model): user = foreignkey(user)

Re: problem with extending django registration form

2013-05-31 Thread Okorie Emmanuel
ed, get_form_class, post_registration_redirect and > post_activation_redirect methods (as needed) though. > > Sent from my Windows Phone > > -----Original Message- > From: Okorie Emmanuel > Sent: 5/21/2013 3:04 PM > To: django...@googlegroups.com > Subject: problem wi

problem with extending django registration form

2013-05-21 Thread Okorie Emmanuel
hi I have tried extending django registration page with little progress. I can now add new user from the admin but cannot do that on the front end. the problem is that the url does not display the from, but raises exception, "the page cannot be found". Do I need to create a view.py to be able

How can i extend django registration Field

2013-05-08 Thread Okorie Emmanuel
HI, Am new to django, and working on application i intend to extend the registration field using the django registration app by james bennett, it i keep having several error. is there any other way i can achieve these, or how can i effectively interage django registration -- You received

pin matching query does not exist

2013-02-27 Thread okorie Emmanuel
hi Am designing a form from django model, i have store some information in the database already, each time i enter a correct values am redirected to another page,but when ever an empty field is submitted it crash with this message " pin matching query does not exist" also when wrong query is

how can i prevent a user from viewin a page without using the django @login decorator

2013-01-27 Thread Okorie Emmanuel
i have a form that redirect a user to another page when it validates but again i discover that a user can view the that page by typing it on his or her url without following the normal process of validation how can i stop this, how can i force a user to see that redirect page only when

Re: How can i redirect a form to amother page when validation is correct

2013-01-27 Thread Okorie Emmanuel
thanks for your help the from redirected when i used accept = Pin.objects.get(pin=pin1, serial_no=serial_no1) but again i discover that a user can view the accept page by typing it on his or her url without following the normal process of entering pin and serial no first how can i stop

How can i redirect a form to amother page when validation is correct

2013-01-23 Thread Okorie Emmanuel
Am trying to build an application that user can login to register using pin and serial number from a scratch card, a valid pin and serial number should take a user to the registration page to create an account, here are codes i have writen *view.py* def index(request,

how can i toggle django boolean field automatically

2013-01-10 Thread Okorie Emmanuel
hi am doing an app in which i intend to toggle the boolean field automatically based on certain requirements. Pls how i achieve this -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

How can i use double login form in a django app redireting to two different pages

2013-01-07 Thread Okorie Emmanuel
Am new to django and i want to develop an e-registration portal. User is require to login with details from a scratch card(pin and serial no) and is redirected to a registration page to create an account and thus can view account infor using another login form this time django user login(auth). My