Это видео недоступно.
Сожалеем об этом.

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

Комментарии • 57

  • @gogreen__1
    @gogreen__1 2 года назад +2

    You don't how much you have helped me...Am ever grateful

    • @veryacademy
      @veryacademy  2 года назад

      Helping you is helping me, thank you

  • @mr-engin3er
    @mr-engin3er 3 года назад +9

    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.

    • @veryacademy
      @veryacademy  3 года назад +6

      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. 👍

  • @xxoooOFxx
    @xxoooOFxx Год назад +3

    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?

    • @iamthegeorgebest
      @iamthegeorgebest 11 месяцев назад +3

      The easy way to do this is with a full pointer in your installed apps. Change 'blog' to 'blog.apps.BlogConfig'

    • @xxoooOFxx
      @xxoooOFxx 11 месяцев назад +1

      Thank you!

    • @afro_habesha
      @afro_habesha 4 месяца назад

      Thank you both

  • @bikashchowdhury2941
    @bikashchowdhury2941 6 месяцев назад +1

    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" ?

    • @veryacademy
      @veryacademy  6 месяцев назад

      Hmm maybe not just now, i did make a tutorial not too long ago in more detail.

  • @realdaly
    @realdaly Год назад +2

    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.

  • @codethinkersacademy2794
    @codethinkersacademy2794 3 года назад +1

    This is impressive, boss!

  • @marianotejerina750
    @marianotejerina750 3 года назад +1

    Excellent video, thank you.

  • @ravijoshi187
    @ravijoshi187 3 года назад +1

    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

  • @gstechs1836
    @gstechs1836 3 года назад +2

    Hi, Your Videos are Great...!!!
    Can you Make How to use Dynamic Fields Videos, I mean Full Video..!!!
    Hope you do soon..!!!
    Thanks

    • @veryacademy
      @veryacademy  3 года назад +1

      If you could give me a little more direction as to what you mean by this - would happily produce something for you.

  • @hituttea8788
    @hituttea8788 3 года назад +1

    very nice i like

  • @dairof7
    @dairof7 3 года назад

    Great!! thanks a lot, you save my live

  • @KevinTempelx
    @KevinTempelx 3 года назад +1

    thank you

  • @ketankumar5689
    @ketankumar5689 11 месяцев назад

    I am getting segmentation error while running runserver command after overriding the admin panel with blogadmin. Any idea ?

  • @masood2
    @masood2 3 года назад +3

    Make next video on Multiple users in Django( not multiple user types ). There are not many videos on this topic on YT.

    • @veryacademy
      @veryacademy  3 года назад +1

      Cant promise it will be next but it will be coming 👍

    • @noob_coder001
      @noob_coder001 2 года назад

      Please make this🥺

  • @omarhasan7622
    @omarhasan7622 3 года назад +1

    Good tutorial...please suggest me how can I make another admin panel to get/delete a registered user blog post and user itself?

    • @veryacademy
      @veryacademy  3 года назад +2

      Maybe start here? realpython.com/customize-django-admin-python/

    • @omarhasan7622
      @omarhasan7622 3 года назад

      @@veryacademy thank you.

  • @aayushacharya1607
    @aayushacharya1607 3 года назад +1

    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?

    • @veryacademy
      @veryacademy  3 года назад +2

      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

  • @temmmbebkd2922
    @temmmbebkd2922 2 года назад +1

    Hi sir, i'm having an error saying column name doesn't exist in model when clicking save on admin panel ... Thank you

    • @veryacademy
      @veryacademy  2 года назад +2

      Difficult to suggest. Maybe you are trying to add a column in the admin file that you don't have in the database?

    • @temmmbebkd2922
      @temmmbebkd2922 2 года назад +1

      @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 🙏

  • @DanielStoehr203
    @DanielStoehr203 2 года назад

    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?

  • @vg-hg3vz
    @vg-hg3vz 3 года назад +2

    Is there any way to customize entire admin site with html and css?

    • @veryacademy
      @veryacademy  3 года назад +4

      Indeed there is, I can point you to info or else I will cover this 👍

  • @georgesmith3022
    @georgesmith3022 3 года назад

    Yes but then I need different types of users to be able to login only to specific admin areas

  • @jiwangharti5484
    @jiwangharti5484 3 года назад +1

    I have done same as you but it throws :
    RuntimeError: 'blog.apps' declares more than one default AppConfig: 'AdminConfig', 'BlogAdminConfig'.
    why sir??

    • @veryacademy
      @veryacademy  3 года назад

      Sounds like a naming issue - 2 names the same. Difficult to say from that text

    • @pranatis2314
      @pranatis2314 3 года назад +1

      @@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??

    • @AceCrashPilot
      @AceCrashPilot 3 года назад +13

      You can solve this with using the full pointer in the INSTALLED_APPS section of settings. change 'blog' to 'blog.apps.BlogConfig'

    • @juannajul5172
      @juannajul5172 3 года назад +1

      @@AceCrashPilot thanks u

    • @pranatis2314
      @pranatis2314 3 года назад +1

      @@AceCrashPilot hi that worked thank a lot!

  • @macsinvan
    @macsinvan Год назад +1

    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.

    • @veryacademy
      @veryacademy  Год назад

      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.

  • @mishkathossain2984
    @mishkathossain2984 6 месяцев назад +1

    post, Post