Главная страница
Конфиденциальность
Информация для авторов
Наши контакты

НОВЫЕ ФИЛЬМЫ И СЕРИАЛЫ ОБНОВЛЕНО СЕГОДНЯ

 





Формат Размер Скачать

Информация о видео


Название :  
Продолжительность :  
Пользователь :  id 929550032737
Дата публикации :   ript src=
Просмотры :   layer\/9135c2ab\/www-embed-player.vflset\/www-embed-player.js
Понравилось :   566
Не понравилось :   55


Кадры из видео




Комментарии к видео



@abdullah01015
Heyy, it throws this error at the cmd " TypeError: create_superuser() missing 1 required positional argument: 'username' "
Комментарий от : @abdullah01015


@rajendrakumar1195
i have followed the same step and code but after admin login i got the is error " 'Account' object has no attribute 'get_all_permissions' ". how to solve please help me.
Комментарий от : @rajendrakumar1195


@sunnysandhu8922
AttributeError: 'Manager' object has no attribute 'get_by_natural_key'
Комментарий от : @sunnysandhu8922


@giovanniramospedrozo1494
Hello, can I customize the width of a CharField or ArrayField for example?
Комментарий от : @giovanniramospedrozo1494


@giovanniramospedrozo1494
Hello, can I customize the width of a CharField or ArrayField for example?
Комментарий от : @giovanniramospedrozo1494


@tonikroos6895
im getting an error like: You don’t have permission to view or edit anything.
Комментарий от : @tonikroos6895


@JJ-ot3ps
hey Mitch, great video, as a python newbie, I am wondering what does this line of code means: objects = MyAccountManager(), what is object refering to? what does this line mean? thanks!!!
Комментарий от : @JJ-ot3ps


@Birlank
So when I go to create a superuser in the cmd screen, it asks for the email/password but then says failed to provide a username. However, it does not prompt for a user name and followed the steps. Any suggestions?
Комментарий от : @Birlank


@fedotov_aa
thank u so much for ur videos!!!
Комментарий от : @fedotov_aa


@r.f886
Thank you very much for the great tutorial But i have a little error in Cmd :

ImportError: cannot import name 'BaseUserManger' from 'django.contrib.auth.models' (D:\Django Projects\.........

Комментарий от : @r.f886


@faisalsalam33
Thank you so much for this video...
Комментарий от : @faisalsalam33


@fataraz7287
Please enter the correct username and password for a staff account. Note that both fields may be case-sensitive.
Комментарий от : @fataraz7287


@DenzelHooke
How does the user variable defined in our create_superuser have access to the Account class
Комментарий от : @DenzelHooke


@architverma1805
thanks a lot man
Комментарий от : @architverma1805


@enricospina5201
can someone please give the source code with pastebin or something like that?
Комментарий от : @enricospina5201


@devmrnecro4215
Can anybody elaborate to share the link of the next that he had talked about in the video for adding more things like hashed password and etc....
Комментарий от : @devmrnecro4215


@bsmaheshkumar5328
You are the best YouTuber where we can get all things about Django. Thanks a ton buddy.
Комментарий от : @bsmaheshkumar5328


@CaptainStudioOfficial
Thanks a lot. This is really helpful
Комментарий от : @CaptainStudioOfficial


@g4merlin
18:45 "TypeError: create_superuser() missing 1 required positional argument: 'username'" i dont know ive checked again all the steps ive reproduced and cant find the error.-
i stop here for now tyvm

Комментарий от : @g4merlin


@MiRaje8086
thanks for the vid but dam all that white space bothered me so much lol
Комментарий от : @MiRaje8086


@TECHINSPEC
The best Django tutorials all Over the Internet. Thank you, Sir
Комментарий от : @TECHINSPEC


@Yousifalzoubi
I literally lost 22 minutes of my life
Комментарий от : @Yousifalzoubi


@joelmiranda5808
great tutorial for beginners
Комментарий от : @joelmiranda5808


@hiteshprajapati603
i am getting programmig error while running django admin page account account relation does not exist

what to do

Комментарий от : @hiteshprajapati603


@RSurya99
i got an error
when i login to myweb/admin
it says "not enough values to unpack (expected 4, got 3)"

Комментарий от : @RSurya99


@90daner
where is the second part sir ??
Комментарий от : @90daner


@rodiihernandez146
Niceeee!! hello from Chile.
Комментарий от : @rodiihernandez146


@alexissuarezalvarez5622
hi, what's the use of using the is_staff functions with the @property decorator?
Комментарий от : @alexissuarezalvarez5622


@abilashk3193
If anyone wanna learn how Custom User model works. Then this is the best video. **Subscribed
Комментарий от : @abilashk3193


@vvk8698
Hi bro I need source code can u pls send for me
Комментарий от : @vvk8698


@datawithheansell
Thank you for all.
Комментарий от : @datawithheansell


@hitlermugabetashtwin
Wow, and it worked first time. This is a first for me. Usually I follow a tutorial, misunderstand the docs for a bit, misunderstand the tutorial, and then stay up until 4am trying to get stuff to work only to give up and get it working within half an hour the following day because I missed some detail.
Комментарий от : @hitlermugabetashtwin


@sidalimahmoudi9386
Thank you, when I create a super user it does not be added to account table, why ? Same when I create a simple user
Комментарий от : @sidalimahmoudi9386


@infinitx1330
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
Комментарий от : @infinitx1330


@aaqidmasoodi
I am a fan of this channel!! thanks to Dennis Ivy for introducing me to this channel.
Комментарий от : @aaqidmasoodi


@infinitx1330
This was something I really wanted thanks
Комментарий от : @infinitx1330


@aimranedr6491
man , I can't understand why i am getting this error :
i did literally like you but when i write in cmd "python mange.py createsuperuser" it shows an AttributeError : 'Manager' object has no attribute 'get_by_natural_key'

Комментарий от : @aimranedr6491


@EnmanuelMenjivarCortez
Thank you a lot, you helped me so much
Комментарий от : @EnmanuelMenjivarCortez


@saiyansuper8020
I created a superuser successfully but cannot login to the admin. It says please enter the correct email and password for the staff account.
Комментарий от : @saiyansuper8020


@hectorviov
Why do you sound like the guy from Casually Explained channel?
Комментарий от : @hectorviov


@trippy_b
great video!
subd!

Комментарий от : @trippy_b


@rishabhsidana7063
helped me a lot
Комментарий от : @rishabhsidana7063


@BboThe123
Why in function create_user parameter password=None?
Комментарий от : @BboThe123


@wilez493
Great job. But bro what about the debug part? you can't skip it like that. how do we correct the code? we need that ginger taste part. Thanks and keep it up!!
Комментарий от : @wilez493


@piyushgupta9051
hello mitch

which database are you using because u have used self._db to save the user, i am using mysql database it is creating an error....please reply

Комментарий от : @piyushgupta9051


@KevinTempelx
Thanks!
Комментарий от : @KevinTempelx


@deepgojariya4272
After creating superuser I am unable to login please helppp
Комментарий от : @deepgojariya4272


@DhineshDk
You are trying to add the field 'date_joined' with 'auto_now_add=True' to account without a default; the database needs something to populate existing rows.
Комментарий от : @DhineshDk


@whoisntwhoisit2126
Did I miss the part where you dealt with these? Cause mine wont even load server - 3 issues 0 silenced.
<class 'django.contrib.auth.admin.UserAdmin'>: (admin.E019) The value of 'filter_horizontal[0]' refers to 'groups', which is not an attribute of 'website.User'.
<class 'django.contrib.auth.admin.UserAdmin'>: (admin.E019) The value of 'filter_horizontal[1]' refers to 'user_permissions', which is not an attribute of 'website.User'.
<class 'django.contrib.auth.admin.UserAdmin'>: (admin.E116) The value of 'list_filter[3]' refers to 'groups', which does not refer to a Field.

Switching to AbstractUser instead of Base seemed to fix it - does that just bring the rest of the previous user model, anything that was not altered, into this user model? Thanks!

Комментарий от : @whoisntwhoisit2126


@whoisntwhoisit2126
I really wish tab and space were the same damn thing, if tab just put 4 spaces it would solve this happening with several other programs too. I was taught specifically to NEVER use tab with python, always use spaces instead, no idea why. To bad not a true standard on something like that. If only one of them didn't work so the other would be used normally, o well what can you do...
Комментарий от : @whoisntwhoisit2126


@frankandbrendabarrett39
Hey Mitch, Great tutorial I am getting the following error when I try to create a superuser at the command line.

TypeError: create_superuser() missing 1 required positional argument: 'username'

Have I missed something, I have checked the code and cannot find the problem.

Комментарий от : @frankandbrendabarrett39


@CaptionThisChallenge_
Legend!!!
Комментарий от : @CaptionThisChallenge_


@ritapravadutta7939
Github link?
Комментарий от : @ritapravadutta7939


@sahiltrivedi69
Bro you are a legend RESPECT
Комментарий от : @sahiltrivedi69


@kelvinmuriithi
Thank you Mitch. This was so helpful
Комментарий от : @kelvinmuriithi


@jamikemichelohia2615
thanks to you i can make custom user, i was asked to do in my freelance and i was used to usercreaton form. insta subscribed
Комментарий от : @jamikemichelohia2615


@definty
When creating the create_user() method VSCode does not like them opening if statements. It was 'Prettier - Code Formatter' extension that was causing the issues.
Комментарий от : @definty


@sameergaikwad222
moment you pick username in fields of a Model. You lost meaning of entire Custom User model interest. Sorry :)
Комментарий от : @sameergaikwad222


@talhashakil8245
Well done. Thank you soo much
Комментарий от : @talhashakil8245


@rickerp
Hey Mitch!
In 12:33 , couldn't you just use `blank=False` when declaring the field, then it would raise automaticly an exception if it was blank

Комментарий от : @rickerp


@diagknowstech
how about if i want toi create a user which is a staff
Комментарий от : @diagknowstech


@pamelapricesoullinedancing9369
Curious, why is password not included as a field in the Account model?
Комментарий от : @pamelapricesoullinedancing9369


@Speedstackingboy251
I was on the verge of giving up the project because I don't know how to do this until I saw this and I checked. The explanation is so clear. Thank you for this you earned a sub and a fan <3
Комментарий от : @Speedstackingboy251


@fforfun8931
thank you so much brother i was in search of this kind of video.it really put a lot of value to my life thankyou so much.subscribed
Комментарий от : @fforfun8931


@magzumkalybek2758
Thank you, dude!
Комментарий от : @magzumkalybek2758


@yassinsoltani2725
i can't login django administration after creating a super user why please ? i checked it and it's created but i can't login
Комментарий от : @yassinsoltani2725


@classicguy7813
how to add a department field. We know those fields are already base
Комментарий от : @classicguy7813


@nishantrao5600
Self reference @ 15:50
Комментарий от : @nishantrao5600


@omparikh4426
why user = self.model() in manager?
why using=self.__db while saving?
why you added password=password for create_superuser but used set_password for create_user(), what's the difference and when to use which?

Комментарий от : @omparikh4426


@alvarobencosme5348
How customize the admin panel to show permissions and groups in this custom user? thanks!!!
Комментарий от : @alvarobencosme5348


@jessejoseph2643
Why the fuck does he leave that much space when creating fields?
Комментарий от : @jessejoseph2643


@motlatsimoea5615
I followed the steps here and created this user model. Difference is that I am not using email in the USERNAME_FIELD. Email is not even required for my model. Second, I have more fields that are required such as first and last name and address.


My problem is that when I try to create a superuser, it does not give me the other required fields. instead I get a 'TyperError' telling me that 3 positional arguments are missing. Help anyone.....:-(

Комментарий от : @motlatsimoea5615


@siddharth1278
Great Video! very helpful. Thanks
Комментарий от : @siddharth1278


@looploop6612
why not inheritate from User model ?
Комментарий от : @looploop6612


@digitaldata-surveying
thanks
Комментарий от : @digitaldata-surveying


@hdskbi
After creating everything like You, I have no permissions to view anything in /admin/
Комментарий от : @hdskbi


@kishanpatel3354
While creating superuser I do not have a username field appearing on the cmd line.
Комментарий от : @kishanpatel3354


@ThePassportPapi
If I want to force a user to upload a photo during registration, do I need to use a custom user model? Or is it possible to do that via extending the user model?
Комментарий от : @ThePassportPapi


@shirlimotro2375
hey, I am working with mysql data base.
in the tutorial I see the base_account table was created and contains the columns that we added in the video. how do I fill this table with the data from the registration form ?
in my project the table that this info is filled in is the auth_user table
thanks !!

Комментарий от : @shirlimotro2375


@josemadarieta865
well done. first recent vid that was clear enough to understand while stoned. subscribed
Комментарий от : @josemadarieta865


@brahimdevlober3579
File "C:\Users\black-worm\Desktop\mysite\account\models.py", line 14
user=self.model(
^
IndentationError: unindent does not match any outer indentation level


where is the mistake i don't knows

Комментарий от : @brahimdevlober3579


@Xiler6969
Link the documentation page you are using dude.
Комментарий от : @Xiler6969


@maheshbisht2967
nailed it sir
Комментарий от : @maheshbisht2967


@mhammad50
thank you I want to add something Instead of implementing the permission methods you could extend PermissionsMixin
like this class UserProfile(AbstractBaseUser, PermissionsMixin):

Комментарий от : @mhammad50


@pruthvihingu3733
shows an error
django.core.exceptions.FieldDoesNotExist: Account has no field named 'user_email'

Комментарий от : @pruthvihingu3733


@priteshjoshi9738
shows an error 'Account' object has no attribute 'USERNAME_FIELD'
Комментарий от : @priteshjoshi9738


@user-ky5hd8yo2r
thank you soooooo much
Комментарий от : @user-ky5hd8yo2r


@ikhsanrahman9703
where is password stored? because i didn't see password defined in custom user model
Комментарий от : @ikhsanrahman9703


@leonxx9790
Amazing tutorial!! Great job!
Комментарий от : @leonxx9790


@shleshaodhekar175
hey, can i do this on already created templates
Комментарий от : @shleshaodhekar175


@orkhangasanov
Huge thanks!
Комментарий от : @orkhangasanov


@ReynaldoBernard
Hello, do you have a tutorial about using a existing user table?
For example use an "account" table in MariaDB / MySQL ( codeshare.io/5OqPBg) to register and log in?

Комментарий от : @ReynaldoBernard


@prettycode4028
Your explaining so good! Good luck from Ukraine
Комментарий от : @prettycode4028


@yasssh7835
Hi, can't we just make a new model with OnetoOne relationship with the User model and add additional fields are per requirement?
Комментарий от : @yasssh7835


@AjaySharma-jv6qn
Your voice is so clear in respect to other videos, you are doing good work, keep posting, Good luck from India🙂
Комментарий от : @AjaySharma-jv6qn


@sahajrajmalla
what's the difference between custom made user model and django built-in User model sir?
Комментарий от : @sahajrajmalla


@FMINSIGHTS
Fantastic Explanation. Waiting for more videos.
Комментарий от : @FMINSIGHTS


@georgesmith3022
excellent!
Комментарий от : @georgesmith3022


@priyanksingh6818
Bro, still waiting(from past 1month) for next video
Комментарий от : @priyanksingh6818


@olayemii
Hi Mitch, I followed the tutorial, but some how my Add User view still shows just Username, Password and no email. What am i doing wrong please?
Комментарий от : @olayemii



Похожие на видео