Custom Django User Model // DJANGO Tutorial

  Рет қаралды 155,633

CodingEntrepreneurs

CodingEntrepreneurs

Күн бұрын

How to Create a Custom Django User Model
The Guide: kirr.co/ygijli
Repo: kirr.co/v2m266
Chapters:
0:00:00 - Welcome
0:00:52 - Before we get started
0:03:47 - Create the Abstract Base User
0:17:25 - Create the User Model Manager
0:17:25 - Change Auth User Model to our Custom Model
0:27:14 - Reload the Database with Fixtures
0:34:00 - Forms & Admin for our Custom User
0:43:29 - Add a Required Field to the User Model
0:50:47 - Update Login & Register Forms
0:56:28 - Login & Register Views
-----
Amazing Starts Small. Learn to build great products with code.
Enroll: kirr.co/ni5fia or Subscribe: kirr.co/7l2sv4/
-----
Questions? kirr.co/wmdnzz/
Suggestions? kirr.co/5d7m1r/
All of my step by step projects: kirr.co/ni5fia/
My equipment:
Laptop: amzn.to/2c965EL
4k Camera: amzn.to/2cb0JeS
Drone/Aerial Video: amzn.to/2cCUgLq
Flexible/Travel Tripod for DSLR: amzn.to/2d13rXi (I highly recommend this too: amzn.to/2ckauYr)
General Purpose Tripod: amzn.to/2d4xNUS
Webcam: amzn.to/2bZEc7I
Camera Mic: amzn.to/2cb0PTp
Studio Mic: amzn.to/2cCdNc3
Mic Arm (for Studio): amzn.to/2cCepyd
Shock Mount (for Studio): amzn.to/2c97uLN
Phone: amzn.to/2c97R8X
Tablet (and portable external monitor) : amzn.to/2c5Fqdx
External Hard drives: amzn.to/2c5FvxV
Headphones (mic used for travel recording): amzn.to/2c5GGNO

Пікірлер: 166
@CodingEntrepreneurs
@CodingEntrepreneurs 2 жыл бұрын
Should I update this video? It's 2022 -- perhaps it's time? Please comment!
@RandomMusicD
@RandomMusicD 2 жыл бұрын
Well im only speak spanish, but i can say "Please do it, we need it"
@mahmoudshehata9540
@mahmoudshehata9540 2 жыл бұрын
Please Do It. ❤️✌🏻
@arunarivanandam
@arunarivanandam 2 жыл бұрын
Please do it ASAP
@celloucisse7548
@celloucisse7548 2 жыл бұрын
Yes!
@AniMazing_shorts1
@AniMazing_shorts1 2 жыл бұрын
It will be great. ❣
@besllu8116
@besllu8116 4 жыл бұрын
Finally, someone from dev world who is not trolling with soft skill videos, and providing useful content.Well done, Sir.
@halcyon7018
@halcyon7018 5 жыл бұрын
Justin, you are the man! Really appreciate this upload bra!
@carminetambascia6355
@carminetambascia6355 6 жыл бұрын
Man, you are making Django even more pupular, making this awesome, great detailed but complete tutorials. Keep going.
@crackerdelicious
@crackerdelicious 3 жыл бұрын
Where have I been since this video created? This video is great and save my time a lot. Especially the Fixtures concept. Thx bro.
@luisenriqueortizcastillo2941
@luisenriqueortizcastillo2941 4 жыл бұрын
Really helpful video man. I don't know how this video doesn't have the likes quantity that it deserves !!!!! I just want to tell you that you got a new sub now
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Thank you!
@irfanshaik1302
@irfanshaik1302 3 жыл бұрын
YOU ARE THE BEST! 👏🏻👏🏻👏🏻👏🏻 That was some goddamn awesome explanation.
@AliKhundmiri
@AliKhundmiri 6 жыл бұрын
Amazing video!! Really helpful.
@CodingEntrepreneurs
@CodingEntrepreneurs 6 жыл бұрын
+Ali Khundmiri thank you!
@theophiluschimwanda6951
@theophiluschimwanda6951 3 жыл бұрын
Much appreciation for this video Justin! I learnt a lot
@avijitpaul9015
@avijitpaul9015 2 жыл бұрын
After disliking few youtubers,I am feeling fortunate by pressing the like button
@gcloud8397
@gcloud8397 6 жыл бұрын
Justin is on fire
@CodingEntrepreneurs
@CodingEntrepreneurs 6 жыл бұрын
+G cloud you are! 🔥🔥
@pulaktandon6271
@pulaktandon6271 Жыл бұрын
Really Nice and clear explanation!!
@SkyLib
@SkyLib 6 жыл бұрын
i love this channel.
@devshah5041
@devshah5041 3 жыл бұрын
thank you so much man. respect for your work
@renzoprats2370
@renzoprats2370 4 жыл бұрын
Thank u very much! You helped me a lot, I was getting crazy with this lol. But I have a question, do you have any video that teaches how to work with two forms in the same view ? greetings from Brazil!
@ankushpaul9005
@ankushpaul9005 6 жыл бұрын
just found you sitting here with all i need exactly! i'm so frustrated with this problem from days. well thanks to angels like you on earth to save my a**. appreciate your work again thanks man!
@daxitpatel
@daxitpatel 4 жыл бұрын
hey.. best tutorial ever on youtube.. n i can say coding entrepreneur is the best resource to learn django.. ❣️❣️💪🏾
@supersonic6734
@supersonic6734 4 жыл бұрын
Wow. This is a brilliant explanation. Wowwwwwwwww.... Thank you very much
@kinowesunga563
@kinowesunga563 6 жыл бұрын
Great Tutorial!!!
@nirmalpandey1288
@nirmalpandey1288 4 жыл бұрын
U deserve millions of subscribers!
@TheVendemo
@TheVendemo 4 жыл бұрын
Justin you are the best!
@youtubepremium5422
@youtubepremium5422 3 жыл бұрын
Thank you so much for ur guides
@greghalliday4226
@greghalliday4226 5 жыл бұрын
This is great. One thing I have been trying to model correctly is the situation where you want to record details of people who may not be users, for example, they may be a supplier contact or an internal contact, the complexity being that they may become a user and that record should be related to the user account. Is there a standard way to handle that?
@conicbrand5931
@conicbrand5931 4 жыл бұрын
Thank You so Much Justin
@simulationcosmos399
@simulationcosmos399 5 жыл бұрын
justin i buy your lots of udemy courses and let me tell you one thing..you are the mentor i always wish for..and i call you sir amd you are my teacher and i also wish that someday i will you meet you face to face..thank you sir
@omdesale4132
@omdesale4132 Жыл бұрын
great video
@darkryanpetroniverse7958
@darkryanpetroniverse7958 5 жыл бұрын
any tutorial about how to adding logo in admin with name thank you...
@intruder2.0
@intruder2.0 Жыл бұрын
2023 and this is still very relevant to me thank you so much
@kaoruhoshino5078
@kaoruhoshino5078 4 жыл бұрын
really good
@oussamaelhousni5665
@oussamaelhousni5665 3 жыл бұрын
thnk u, well explain
@sheracore9190
@sheracore9190 4 жыл бұрын
Tnx for your tutorial U R the best
@imransuleiman2684
@imransuleiman2684 5 жыл бұрын
Thanks man.
@raziakhan9052
@raziakhan9052 5 жыл бұрын
Dear sir my name is Mustafa Warsi it very Awesome, I am a YOUR BIG FAN
@MrRuchitinfushion
@MrRuchitinfushion 6 жыл бұрын
Any video on AbstractUser instead of AbstractBaseUser ??
@swiffty1
@swiffty1 3 жыл бұрын
I thought the User had much more than 3 fields. e.g is_active, is_staff, username, email, passwprd, so what's all this about with only 3 fields? If the default User model is extended when you use AbstractUser then shouldn't it also inherit the rest of the fields that come with the User model?
@kaustavsengupta8757
@kaustavsengupta8757 5 жыл бұрын
Justin when are you going to put a new update version of this course on Udemy...??..by the I love your django series in udemy
@Omni_G
@Omni_G 6 жыл бұрын
Hi, I'm very confused with the whole staff admin thing. Do we not create the regular user? From what I've read staff and admin can log in to the admin side. I'm trying to create a User Model where user can be one of 3 roles: - Course Chair - Course Creator and finally - Admin. Only Admin can log in to the admin page. So in my model, do I do: is_course_chair or is_staff or nothing?
@riadhazzouz6430
@riadhazzouz6430 5 жыл бұрын
Can I create two custom users, one for an employee and the other for the company ? The idea is the employee can register and login to create his CV, then the company also can register, login to check CVs.
@bbstaipei
@bbstaipei Жыл бұрын
Back to this episode from 2022, so good 🫰😃
@Kruiger1993
@Kruiger1993 6 жыл бұрын
How do you combine it with the HTML file that the question, and why it is not part of your tutorial?
@nick-hq8oz
@nick-hq8oz 5 жыл бұрын
if you get "AttributeError: 'Manager' object has no attribute 'get_by_natural_key' " when creating a superuser try including PermissionsMixin and adding it to the User class. Also add "objects = UserManager ()" the class.
@a99barnsey
@a99barnsey 5 жыл бұрын
add the following to your user model: objects = UserManager()
@JonesDTaylor
@JonesDTaylor 6 жыл бұрын
Hi Justin If I use a third-party authentication service (such as oauth2) to register/login my users with their email and password, do I still need to use the custom User model on this video ?
@dodokwak
@dodokwak 5 жыл бұрын
I'm wondering why we can't use email for the field username ( it's not forbidden) and then just go on with the built-in User instead of creating completely new custom User ? Thx in advance.
@SaurabhSingh-sm2mt
@SaurabhSingh-sm2mt 4 жыл бұрын
Thanks a lot man, that really helped a lot. On a side note can you please tell how can i integrate this with a social media login like Facebook or Google. Thanks in advance :)
@changeineed2698
@changeineed2698 6 жыл бұрын
I am getting an error 'NoneType' object has no attribute 'save' when ever i try creating a new user from the admin .Please help
@jhoniemusic
@jhoniemusic 3 жыл бұрын
Yes pls, make a vlog of your leanings
@nusk003
@nusk003 5 жыл бұрын
Hello Sir, Can we put a autofield to custom user model???
@shazkingdom1702
@shazkingdom1702 5 жыл бұрын
HAHA & AHA 😂 I just had that error a few days ago 25:48 My learning process is extremely 😁😝 😬 ,.. 1.i get the error 2.contemplate.. 🤔 3. get 😞😐 and then a few days.. 4. get frustrated, 5. erase 6. try again 7. then you see related videos / blogs about it.. after a few days / months/ of finally recovering from every failure 😂 Thank you for this video...:
@piyush__khandelwal6824
@piyush__khandelwal6824 5 жыл бұрын
Where do i use that create_staffuser method in modelmanager
@syedmujeebh6661
@syedmujeebh6661 4 жыл бұрын
Hi , How to add a model field that shows today date . This date field should get automatically updated to todays date
@prasathsoosaithasan1281
@prasathsoosaithasan1281 6 жыл бұрын
Hey justin, all looks good and works except testing. The moment you introduce a custom user model the order in which migrations are executed starts to matter. This is not a problem in that you can fire 1) `python manage.py makemigrations accounts` first, then 2) `python manage.py makemigrations` and finally 3) `python manage.py migrate`. Unfortunately, this breaks django testing. Django testing uses the DiscoverRunner under the hood which will only call plain old 1) `python manage.py makemigrations` and 2) `python manage.py migrate`. Whenever it does so, the error occurs and you cannot workaround this because you cannot control the make migration order. Do you know a solution to this?
@alexissuarezalvarez5622
@alexissuarezalvarez5622 3 жыл бұрын
hi, when I try to delete a user I get the following error: IntegrityError at / admin / userprofile / myuser / 23 / delete / FOREIGN KEY constraint failed. Has it happened to someone the same?
@hamoudarawdh1265
@hamoudarawdh1265 6 жыл бұрын
heey after setting the settins to auth_use_model to accounts.use and creating a superuser with email and fullname when i go to admin and sign in it tells me that i enterred the false email or password nd im sure that theyr true , i created anotjer user but the same problem still , i elimnates the auth_user_model from settings and i created a super iser normally it workid when i sign in !!! what should i do please am stuck
@maxvinella941
@maxvinella941 5 жыл бұрын
Is this working with django 2.1? I get foreign key error
@ziaulhasanhamim3931
@ziaulhasanhamim3931 4 жыл бұрын
everything is working perfectly but i am not able to create staff user by admin page
@binoyudayan8054
@binoyudayan8054 6 жыл бұрын
Amazing tutorial..! I could create a custom model and able to register new users. But after making this change, the admin login is not working? Any guess on what could have gone wrong? I'm using django 1.11.12 Thanks in advance!
@rjanik2588
@rjanik2588 3 жыл бұрын
same here, i cant login to the admin panel with staff user, which was created by superuser
@yusuffarag1149
@yusuffarag1149 5 жыл бұрын
You sir, are a lifesaver. Thank you for making this.
@jocelduatin294
@jocelduatin294 3 жыл бұрын
good day sir! how can I add a default user group for this Custom Django User Mode?
@franciscokloganb
@franciscokloganb 4 жыл бұрын
I didn't follow your guide, but I did something similar... And it seems correct after seeing your video. My signup, login, logout, remember, email confirmation works... But I can't get password to be reset, using django-allauth! I can't get any information on the web, it has something to do with the reverve not matching for uidb36/key, etc. My custom user does not have a username; Any ideas?
@ainaadeshina28
@ainaadeshina28 4 жыл бұрын
hello Justin, your guide was really helpful, please could I reference it in my tutorial?
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
For sure!
@riteshsinha216
@riteshsinha216 5 жыл бұрын
How do we add more fields like profile image, city etc during registration.
@ruchitmicro8409
@ruchitmicro8409 5 жыл бұрын
to add image field you have to install Pillow (python's library that handles files) and inside your models.py file you can use models.ImageField(upload_to='media'). To save it inside the database make sure you have specified your media root and url in settings.py. I would suggest you watch a youtube video on how to upload media files in django it is very easy.
@bigfatcrab
@bigfatcrab 5 жыл бұрын
Hi, i’m currently making a django base system. I need to create multiple users but with different control to the system. One of these users can only add and view while the others can delete and edit what’s on the system
@prikundnani2622
@prikundnani2622 5 жыл бұрын
You could add an attribute to the user model called permissions and then adjust the view based on the permissions of the user.
@ggok1876
@ggok1876 4 жыл бұрын
can you make a custom password reset view for this model?
@victorpeter1895
@victorpeter1895 3 жыл бұрын
bro i used pycharm and are install pillow but not work what is problem? and i used sublime when create makemigrations their show "no changes detect" what is problem?
@ajinzrathod
@ajinzrathod 3 жыл бұрын
Hey Justin, I want only those users to login in Admin Page who are already logged in. And Show 404 otherwise
@shantanutomar
@shantanutomar 4 жыл бұрын
Quick ques: Instead of inheriting AbstractBaseUser, can't I inherit AbstractUser since it already has all these boolean fields that we created ? Thanks !
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
I’m sure it’s fine!
@aditya-bl5xh
@aditya-bl5xh 3 жыл бұрын
Get natural key error when creating new superuser, please help
@infinitx1330
@infinitx1330 3 жыл бұрын
Is it possible to have multiple custom user authentication methods for different users within the same Django app. Like an email and password for one type of user and a pin only for another type of user. Someone please shed some light
@scofieldwhitefire8399
@scofieldwhitefire8399 5 жыл бұрын
Hello Justin.. I'm having a little challenge here... Tried to modify the codes by adding first name /last name to the form.py and it would not show on the database.. Instead I get the error accounts_myuser.first_name has no such colum first_name Please how can I fix this
@neofit3157
@neofit3157 6 жыл бұрын
do you have video / how do setting for sublime text editor whith context python/django ?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 жыл бұрын
+Python My somewhere we do. What are you looking for exactly?
@Ca1vema
@Ca1vema 6 жыл бұрын
All you need to install to successfull use of st3 as python/django "ide" is Anaconda for python and MAYBE, just MAYBE Djanerio for django templates
@ziaulhasanhamim3931
@ziaulhasanhamim3931 4 жыл бұрын
how you become so expert on django. share your story. we would love to hear
@jl_woodworks
@jl_woodworks 2 жыл бұрын
Like you do with everything in life. Experience, reading docs, dealing with problems and solving those problems. Googling. That's pretty much it.
@captainobvious7898
@captainobvious7898 2 ай бұрын
Not providing a setter for User @property is_staff and is_admin causes UserManager.create_staffuser and UserManager.create_superuser to fail. (Django=5.0.4). Wonder if I should provide a setter for these or if that is a potential security hole (is there some way for a rogue page to change is_admin=True via a User object)
@blabla-kk8bl
@blabla-kk8bl 3 жыл бұрын
can u make a video for django-organization
@omdesale4132
@omdesale4132 Жыл бұрын
I'm trying to inherit custom user to another class but it gets IntegrityError at /admin/User/student/add/ FOREIGN KEY constraint failed error
@peterborinski
@peterborinski 6 жыл бұрын
Hi Justin. Quick question: At 49:08 I don't understand the field add_fieldsets. Why don't you change that too? And if I warry it in my code, it seems to affect nothing. Why is that field even in there and what does it do?
@peterborinski
@peterborinski 6 жыл бұрын
And also another questions: Changing the forms also doesn't change anything if I implemented the fieldsets. Why do we have to have the form, if they seem to not affect anything?
@CodingEntrepreneurs
@CodingEntrepreneurs 6 жыл бұрын
`add_fieldsets` is related to your "add new object" form. What do you mean changing the forms doesn't change anything?
@Lupo9
@Lupo9 5 жыл бұрын
@@CodingEntrepreneurs What determines whether a field is shown in the admin view? For example 45:21, you add full_name to the ChangeForm, and then you add it to fieldsets. Does it have to be added in both? What exactly is the point of adding it in the Meta class of the form? Because I can just do ' fields = () ' in my form Meta class and it works. Is there something wrong with that?
@prachinainawa3055
@prachinainawa3055 4 жыл бұрын
Can I watch this in 2020, does it require any changes according to django version?
@aayushpatil7514
@aayushpatil7514 4 жыл бұрын
No
@susilthapa4367
@susilthapa4367 4 жыл бұрын
help: can not able to login in admin panel
@kkbrothers2743
@kkbrothers2743 4 жыл бұрын
can create multiple superuser?
@sameergaikwad222
@sameergaikwad222 4 жыл бұрын
Can you please suggest any third party authentication system that supports this custom user model along with latest 3.11 Django Rest Framework Please.
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Django AllAuth and django-rest-auth.readthedocs.io/en/latest/installation.html
@raducamman
@raducamman 6 жыл бұрын
I have a small issue. I can no longer login in the admin interface with the superuser account. I deleted the database, made new superusers, but the same thing happens. The user is created, but I can't login with it. Any ideas?
@abhinavsingh4221
@abhinavsingh4221 5 жыл бұрын
Make sure that active field is set to true. Try this: user_object.active = True Then user_object.save() Then try to login.
@carminetambascia6355
@carminetambascia6355 6 жыл бұрын
Hey Justin where is gone you video about Django Forms and 1 hour long?I don't mind to pay for it.
@annihilationHaven
@annihilationHaven 5 жыл бұрын
Doesn't work. Getting a crazy error that you can't do anything about. django.db.migrations.exceptions.InvalidBasesError: Cannot resolve bases for []
@Dastiny
@Dastiny 6 жыл бұрын
I get a FOREIGN KEY constraint failed when i try to create or delete a user, can anyone hlep me?
@udaysimha5496
@udaysimha5496 6 жыл бұрын
user = models.ForeignKey(AuthUser, unique=True,on_delete=models.DO_NOTHING) just add on_delete=models.DO_NOTHING as an argument to the call function
@yogeshjadhav5468
@yogeshjadhav5468 3 жыл бұрын
With this method, every user that I create gets all permissions automatically. How can I limit permissions while creating new user?
@ranjithak4325
@ranjithak4325 4 жыл бұрын
HI how can i join for your full course ????
@baljotsinghchoudhary7434
@baljotsinghchoudhary7434 4 жыл бұрын
can you tell what is the use clean_password method in Userchangeform
@baljotsinghchoudhary7434
@baljotsinghchoudhary7434 4 жыл бұрын
**use of
@razaullah679
@razaullah679 2 жыл бұрын
Hi, I am learning the Custom Django User Model. All the things work fine but at 40:02 when I am copying the UserAdminCreationForm and UserAdminChangeForm from the website provided, I am getting this error "django.core.exceptions.FieldError: Unknown field(s) (is_active) specified for User". Anyone can provide a solution. Thanks in advance.
@talhamasood0000
@talhamasood0000 2 жыл бұрын
change is_admin to admin
@DanielTateNZ
@DanielTateNZ 6 жыл бұрын
Does this work with Django 2.0??? I can't seem to get it working after I finish when I edit the user I get an error... I posted a comment on your tutorial.
@sarpk77
@sarpk77 6 жыл бұрын
I have the same problem and Ive seen your question also on StackFlow. Have you by chance found any solution to this? Everything was sound up to this point
@sarpk77
@sarpk77 6 жыл бұрын
Ive just found the solution, hope you read this my friend. Ive dropped the database and rebuilt it.- python manage.py sqlflush- and re-ren migrations. eveyrthing works fine. I think it is a problem with adding new fields to the User model
@whoisntwhoisit2126
@whoisntwhoisit2126 5 жыл бұрын
Django 2.1 will be written completely different and some things are already done for you ect.. so if you are using 2.1+ then you will want to look up a newer tutorial -- but regardless of that -- below Yeah, if you change to a custom user model you need to start over with your database, so for one its really smart to start with a custom user model anyways even if very basic, then second important factor is if your data is important then you have to figure out how to copy the data from the old to new database but you will need to "delete" the old so it can make new, also clear every migration folder of everything except the "__init__" file then once you change the model makemigration (appname) and then migrate (appname) and your new model should be up and running if its good.
@sinaramezani9014
@sinaramezani9014 9 ай бұрын
when update this video ?
@theapplianceguruZA
@theapplianceguruZA 5 жыл бұрын
Hello Sir, Can you please explain to me clearly how can i populate information to update user profile so the form must look exactly like the way it looks on template without changing the form structure, i want info to be on below input fields thank you in advance. Edit Profile First Name Last Name E-Mail* Website Password* Confirm Password* Country Profile Picture Select file Browse About Yourself Facebook Twitter Linkedin Google plus
@HpDopeman
@HpDopeman 5 жыл бұрын
FOREIGN KEY CONSTRAINT FAILED?? INTEGRITY ERROR??
@TheMediinaa
@TheMediinaa 3 жыл бұрын
For some reason my user's username is being displayed as ('username', ) Anyone else with the same problem?
@evgenipetrov3231
@evgenipetrov3231 4 жыл бұрын
I am a beginner and my question is: is this valid for Django 3.0?
@MuhammadMahirQ8
@MuhammadMahirQ8 4 жыл бұрын
sure absolutely
@varunajmera
@varunajmera 6 жыл бұрын
TypeError: create_superuser() missing 1 required positional argument: 'full_name'
@Ndetonados
@Ndetonados 5 жыл бұрын
same here
@motlatsimoea5615
@motlatsimoea5615 4 жыл бұрын
ever found a solution for this?
@anindyabhattacharya4878
@anindyabhattacharya4878 4 жыл бұрын
I am always getting this error - "Please enter the correct email address and password for a staff account. Note that both fields may be case-sensitive."
@anindyabhattacharya4878
@anindyabhattacharya4878 3 жыл бұрын
@@timetosleep8055 check if you have declared is_staff in the model. If yes then check if you are passing that value to be True for the user u want to create. is_staff = True required for the user to have admin access.
@torroot4142
@torroot4142 6 жыл бұрын
this can be helpfully: find . -path "*/migrations/*.py" -not -name "__init__.py" -delete find . -path "*/migrations/*.pyc" -delete
@CodingEntrepreneurs
@CodingEntrepreneurs 6 жыл бұрын
+tor root sweet thanks!
@superbombyman1501
@superbombyman1501 4 жыл бұрын
CodingEntrepreneurs , how come your Django is so fast and responsive even when it is just a development server. When I do Django, there is still some lags during refreshes while in your video, it's so snappy and responsive like a Single Page Application.
@CodingEntrepreneurs
@CodingEntrepreneurs 4 жыл бұрын
Do you have a lot of apps running? Does your computer have a lot of RAM?
@superbombyman1501
@superbombyman1501 4 жыл бұрын
@@CodingEntrepreneurs well, I do have 16 GB of RAM. Maybe it's all those tabs I open in Chrome. When I'm coding, I oftentimes forget that I'm opening a lot of tabs for reference. Maybe that's what's contributing to the slowdown.
@huboy2004
@huboy2004 4 жыл бұрын
Does this still work in 2020 guys ?
@sarpk77
@sarpk77 6 жыл бұрын
At kzbin.info/www/bejne/fqTLk52BZtt3qrs&t=2660 , after you define the error, shouldn't you be adding the line -user_obj.full_name = full_name- to the create_user function? How did you manage to create a superuser without that line?
@SatishKumar-tr3pz
@SatishKumar-tr3pz 4 жыл бұрын
Dear coders, You need to notice one thing that staff user can access admin console without permission... This is an error, please solve it
@Xiler6969
@Xiler6969 4 жыл бұрын
inform us then
Custom Analytics // Django Tutorial // Data Collection
57:54
CodingEntrepreneurs
Рет қаралды 29 М.
Creating a Custom User Model (Django)
21:57
CodingWithMitch
Рет қаралды 103 М.
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 13 МЛН
Sigma Kid Hair #funny #sigma #comedy
00:33
CRAZY GREAPA
Рет қаралды 30 МЛН
УГАДАЙ ГДЕ ПРАВИЛЬНЫЙ ЦВЕТ?😱
00:14
МЯТНАЯ ФАНТА
Рет қаралды 2,6 МЛН
The gist of the the custom user model in Django
10:17
Django road
Рет қаралды 6 М.
Django Authentication Basics
19:38
Pretty Printed
Рет қаралды 109 М.
Django Forms Tutorial For Beginners - Get Started Fast! (2018)
29:36
The Dumbfounds
Рет қаралды 165 М.
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 39 М.
Python Django - How to add custom fields to the User Model ?
26:10
JimShapedCoding
Рет қаралды 22 М.
Custom User Model with email login (DJANGO)
39:21
CodingWithMitch
Рет қаралды 46 М.
The Story of Next.js
12:13
uidotdev
Рет қаралды 555 М.
DJANGO CHANNELS 2 Tutorial (V2) - Real Time - WebSockets - Async
1:12:43
CodingEntrepreneurs
Рет қаралды 163 М.
Learn the Basics of Django Signals
22:37
Matt Freire
Рет қаралды 49 М.
DAD LEFT HIS OLD SOCKS ON THE COUCH…😱😂
00:24
JULI_PROETO
Рет қаралды 13 МЛН