I think it's better for you to inherit from 'User' model instead of
creating them one by one.
'User' model have column 'name', 'password', 'email' (among others) etc.
https://docs.djangoproject.com/en/4.0/ref/contrib/auth/
On Mon, 9 May 2022 at 21:18, 郑 玉婷 wrote:
> Dear django workers,
>
>
https://stackoverflow.com/questions/72161764/how-to-make-a-user-act-as-a-seller-and-as-a-buyer-at-the-same-time-in-django
I have posted my problem on StackOverflow. can anyone help me? thanks in
advance
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi
It is still displaying the same image as above.
On Sun, 8 May 2022 at 03:34, Arshad Noman wrote:
> First, you change the picture name and place it in the pictures folder
> like static or media folder then change the picture name in templates where
> you want the picture to be displayed
>
>
>
Dear django workers,
First of all ,I have to appoloy for my poor English.
I want to add users through admin page ,which was registed by my own model .
How can I add users with encoding their password?
These are my models and my admin.py. I’ll be grateful if you can help me!
Dear django workers,
First of all ,I have to appoloy for my poor English.
I want to add users through admin page ,which was registed by my own model .
How can I add users with encoding their password?
These are my models and my admin.py. I’ll be grateful if you can help me!
#mysite\login\a
5 matches
Mail list logo