Re: create random string for username

2013-07-22 Thread Derek
Re URLs Have look at http://itekblog.com/django-url-dispatcher-routing-beginners-tutorial/ ... and bear in mind that the 'r' and the '^' are not directly related and serve two purposes. The very basic "overview" of Django is that urls point to views; views typically make use of models (an

Re: create random string for username

2013-07-20 Thread Randy Baxley
The Django tutorial is not quite making it for me. This is a very complicated language and all the pieces seem to not match up for me. This I think is my fault and most of it seems to be in the use of the r hat for root and exactly how that points to views, models and dbs. I may get there but it

Re: create random string for username

2013-07-20 Thread Tim Chase
On 2013-07-18 20:53, Sivaram R wrote: > While saving these forms instance,is it possible to create a > random string for username field.How to do this,any sample would be > great choice. You can. Assigning random usernames isn't usually considered a very nice thing to do to users, but assuming

create random string for username

2013-07-18 Thread Sivaram R
Hi, I would like to create username in django user model as random string.I am using models form to save the user profile in that model. In models form i am having the fields like first_name,last_name,email_id,password,is_active,is_staff and is_superuser and username. While saving th