Это видео недоступно.
Сожалеем об этом.
Setup Custom/Multiple Django Admin Sites - Django Admin Series - Part 3
HTML-код
- Опубликовано: 8 ноя 2020
- The Django Admin site provides a rich set of features accessible in every Django project. In fact one of the best features of Django is the Django Admin Site. This series focuses on the Customisation, Hooks, Features, Functions, Adaptions that can be performed in the Django Admin Site. In this tutorial we get started by creating a custom admin area then override the default admin site. Our last step we setup multiple admin areas. Remember if you have any suggestions for content, just leave a comment in the comments section.
00:00 Introduction
✨ Support us - join us as a very academy member
/ @veryacademy
👍SUBSCRIBE to get more free tutorials, courses and code snippets!
/ @veryacademy
👍👍Follow us on Facebook
/ veryacademycom-1132321...
👍👍👍Follow use on Twitter:
/ veryacademy
You don't how much you have helped me...Am ever grateful
Helping you is helping me, thank you
Dude you're awesome. You have great content. Can you make flutter and django (with DRF) integration videos in future?
I'll recommend your channel to everyone. BTW Happy Diwali brother. ❤️ From India.
Thank you thank you, Happy Diwali to you too. I have recorded your suggestions thank you. Flutter isn't something that I have worked on in the past but, that doesn't say I wont have a look and see if we can bring it in if that is important to you. 👍
June 2023: AdminConfig and AppConfig results in a runtime error stating that blogs.apps declares more than one AppConfig. I believe this is caused by an update in Django 3.2 in 2021. Tried removing the AppConfig, and still didn't fix the problem. Is there an update config for this?
The easy way to do this is with a full pointer in your installed apps. Change 'blog' to 'blog.apps.BlogConfig'
Thank you!
Thank you both
Thank you so much for your detailed explanation. Can you just make a details video or series about User authentication with each and every details about "AbstructUser" and "AbstructBaseUser" ?
Hmm maybe not just now, i did make a tutorial not too long ago in more detail.
is it possible to create an app inside my project where I can do all CRUD functionality on my database but I can customize the fields in that app. For example an app called "dashboard" which is completely build by me not like the django admin app, because I wanna add plugins like a text editor and just display things differently, is such thing possible? If you could give me resources to learn how to do it that would help me a lot.
This is impressive, boss!
Hey, thanks!
Excellent video, thank you.
You are welcome!
How to add query string globally which will apply for all the app like add company id in URL after login and it is for all the app customer user product etc. please help me on this
Hi, Your Videos are Great...!!!
Can you Make How to use Dynamic Fields Videos, I mean Full Video..!!!
Hope you do soon..!!!
Thanks
If you could give me a little more direction as to what you mean by this - would happily produce something for you.
very nice i like
Thanks for liking 👍
Great!! thanks a lot, you save my live
You're welcome! 👍
thank you
You're welcome
I am getting segmentation error while running runserver command after overriding the admin panel with blogadmin. Any idea ?
Make next video on Multiple users in Django( not multiple user types ). There are not many videos on this topic on YT.
Cant promise it will be next but it will be coming 👍
Please make this🥺
Good tutorial...please suggest me how can I make another admin panel to get/delete a registered user blog post and user itself?
Maybe start here? realpython.com/customize-django-admin-python/
@@veryacademy thank you.
Wouldn't a superuser be able to access all those sites? Isn't there any way that a superuser can access only a particular admin site?
Hi Aayush, as a suggestion, have one super user - think of this account used by the system admin only, then create accounts for other admin sites whose permissions are set accordingly. Probably not a good idea to have too many superuser accounts
Hi sir, i'm having an error saying column name doesn't exist in model when clicking save on admin panel ... Thank you
Difficult to suggest. Maybe you are trying to add a column in the admin file that you don't have in the database?
@Very Academy hi, thank you so much for answering and for the video very nice of you sir, yes i was registering the model to the second admin only . i didn't make the migrations right too ... i didn't notice hh sorry ... Now it's working... Thanks again 🙏
Hello,
Thanks for the great tutorial.
I have only a short question.
Is it possible to define which staff user is able to login to the different admin areas?
So that I can create a user who is only allowed to login into one admin area?
yes very easy
Is there any way to customize entire admin site with html and css?
Indeed there is, I can point you to info or else I will cover this 👍
Yes but then I need different types of users to be able to login only to specific admin areas
I have done same as you but it throws :
RuntimeError: 'blog.apps' declares more than one default AppConfig: 'AdminConfig', 'BlogAdminConfig'.
why sir??
Sounds like a naming issue - 2 names the same. Difficult to say from that text
@@veryacademy I am also facing the same issue it is something with the autofiled in new django version not able to figure out. we are overriding so how come it can name the same??
You can solve this with using the full pointer in the INSTALLED_APPS section of settings. change 'blog' to 'blog.apps.BlogConfig'
@@AceCrashPilot thanks u
@@AceCrashPilot hi that worked thank a lot!
Your videos are well presented, but I feel they would be much more valuable if you started with a purpose rather than just wander around the topic. IE "In this blog we are going to extend the default admin page to allow you to............." Start by showing the new capability, then go on to show how it is built.
Thank you for the feedback. In terms of tutorial structure, you will find a whole mixture of formats I have used through the tutorials I have released. I am very much back on the format you have suggested in recent tutorials.
post, Post
Post post post?