How to extend django.contrib auth and admin.
Hi,
I would like to extend "auth.user" from django.contrib auth and admin.
I would like to add one more field in user.
models.py (added Code)
from django.contrib.auth import models as auth_models
gender = (
('M', 'Male'),
Hi,
I want use id as uid or something like; itd start from 1; staring user
id from "1 - one" is not that good; can I initialize starting value
for AutoField ?
id = models.AutoField(primary_key=True)
Thank You
--
--Mahesh
Bangalore
--~--~-~--~~~---~--~~
You
Thank You all for your help; yes there was error in RegEx.
On Tue, Nov 25, 2008 at 10:01 AM, jai_python <[EMAIL PROTECTED]> wrote:
>
> modify ur url as
> (r'^hello/(?P[^/]+\w*)/?', 'swamiji.poll.views.hello')
>
> http://localhost:8000/hello/TEST
> then "print who" in ur view file.
>
> Lemme
Hi,
I am going to used "DateField" in my model. Which format does date
field user is it DD/MM/ (European) or MM/DD/ (American) style
? and is it customizable ?
Thank You in advance
-Mahesh
--~--~-~--~~~---~--~~
You received this message because you are
4 matches
Mail list logo