Django tutorial - How to improve your Django admin

Поділитися
Вставка
  • Опубліковано 14 жов 2024

КОМЕНТАРІ • 57

  • @mattfreire
    @mattfreire  5 років тому +132

    For people who'd prefer not to comment, feel free to like this comment if you'd like to see tables/graphs when customising the admin.
    A note on that - customising the Django admin in terms of how it looks (colours, buttons etc) seems to be a large and unnecessary task. A possible alternative would be to specify a path to your custom Django admin in the settings.py file. That custom admin would be built from scratch and from what I understand would be an easier approach. If you have any other ideas feel free to comment them in response.
    Thanks again for watching!

    • @michelkant
      @michelkant 5 років тому

      Customizing some basic colors in Django Admin is not that difficult / large / unnecessary right? Just use some templating & blocks. For easy websites that could be enough. However i'm curious to learn what the options are when creating your complete own admin! :) Is it possible to leverage maybe a creative-tim.com free bootstrap template when doing this? You could even do 3 sections: Simple: Improving the standard Admin with templates and blocks. 2nd: Leveraging bootstrap to create a new admin. and 3. Do it with react/vue ?

    • @darkryanpetroniverse7958
      @darkryanpetroniverse7958 5 років тому

      how to rename the "django Administration"?
      pls help... thank you...

    • @Matt-ke7mc
      @Matt-ke7mc 4 роки тому

      Where in the settings.py file would we put the link to a new admin document. And how would we specify that we want our file to override the original admin template?

    • @jameskulu
      @jameskulu 4 роки тому

      Yes, please make video on making own cutomize admin panel from scratch

  • @harshbehl4
    @harshbehl4 5 років тому +67

    Please create a tutorial to show how to use custom admin template and turn django admin into a powerful dashboard with features like sidebar and charts. Will be very greatful.

    • @Mostaqmahmud
      @Mostaqmahmud 5 років тому +4

      @JustDango It will be great if you make some videos following the above comment. Thanks

    • @MaltheHave
      @MaltheHave 5 років тому +1

      Yes absolutely!

    • @njjayme8776
      @njjayme8776 4 роки тому +1

      Please Sir.. make this wish list come true.

  • @vardhanmahajan7135
    @vardhanmahajan7135 3 роки тому +2

    I loved your explanation of the inline fields, everyone else made it really complication, yours was straight-forwards and easy to understand!

  • @alexbarasa3816
    @alexbarasa3816 3 роки тому

    Here from another distant tutorial. and still finding your work so educative. And yes, I would wish for one on full customization of admin page from scratch.

  • @machinimaaquinix3178
    @machinimaaquinix3178 3 роки тому

    Oh thank you for this! I've been puzzling over how to add inline table from another class into an admin page. (@15:00 - ish)

  • @LookNumber9
    @LookNumber9 5 років тому +2

    Beautifully done, as usual. Very informative and well paced.

  • @vrfEducation
    @vrfEducation 3 роки тому

    Thank you very useful video and cover so many good tips about admin model

  • @petarz9029
    @petarz9029 4 роки тому

    I wish I could like this video more than once! Thanks for the nice tutorial.

  • @PrashantKumar-ur5wy
    @PrashantKumar-ur5wy 4 роки тому

    Amazing video. The way you describe the things makes things simpler. Please create a video on customising the Django admin like adding buttons to Delete. With as much as customisation possible. That would be a great help for us

  • @chamithjanaka6040
    @chamithjanaka6040 5 років тому +1

    Good stuff.. Thank you so much again and again for making pretty useful tutorials for us...:)
    Also please make a tutorial about how to create a complete make of the default django admin site, like you said at the beginning of this tut.That will be pretty useful.

  • @roshanpandey5357
    @roshanpandey5357 4 роки тому

    Thanks buddy, this lesson really helps me to won the project tender

  • @rennyjacob5094
    @rennyjacob5094 4 роки тому +1

    Very informative one, cleared a lot of my queries. Good work JD.

  • @floppy_keyboard
    @floppy_keyboard 5 років тому +1

    I just ran across your channel. Thanks for sharing with us! I am interested in customizing the admin page as well.
    Keep up the good work!
    Also why can't you use a FK in the list display?

  • @bridroid58
    @bridroid58 5 років тому

    great stuff! Been using django for a few years and still learned something new.

  • @caseymccray3861
    @caseymccray3861 5 років тому +4

    Great video

  • @sonsangsom
    @sonsangsom 4 роки тому

    Thank you. Clear my mind

  • @catafest-work
    @catafest-work 4 роки тому

    good video tutorial! ...custom admin area with chart by values from database will be a good issue!

  • @Christian-lg7uu
    @Christian-lg7uu 5 років тому +2

    I’m interested in customizing the admin with table and graphs like you mention at the beginning

  • @wealthyisaiah6448
    @wealthyisaiah6448 4 роки тому

    I really appreciate this project. Please can you create a tutorial on complete makeover of the default admin panel

  • @michakwiatek5031
    @michakwiatek5031 5 років тому

    Great Tutorial, maybe not the most important things to know in Django but, It's good to know that!

  • @YashPatel-vw9nz
    @YashPatel-vw9nz 4 роки тому

    I liked the video, are you able to make a video on how the graph shows on the admin page that these many new user accounts have been built and how many people visited the website?

  • @rgenericson5361
    @rgenericson5361 5 років тому +2

    Would love to see a tut on super customizing the admin panel.

  • @riskzerobeatz
    @riskzerobeatz 5 років тому

    SO useful. Thank you SIR!

  • @caseymccray3861
    @caseymccray3861 5 років тому +1

    Im definitely interested in customizing django admin

  • @Soughandhika_197
    @Soughandhika_197 5 років тому

    Good explanation sir

  • @ergun5112
    @ergun5112 4 роки тому

    Good job thank you.

  • @nestorbustos4391
    @nestorbustos4391 3 роки тому

    Good tutorial

  • @mahmudsajib8648
    @mahmudsajib8648 5 років тому

    Many thanks for the awesome tutorial. Would like to have a django-admin built from scratch or adding a bootstrap fancy template that works with django

  • @nileshswami2426
    @nileshswami2426 4 роки тому

    thank you so much ......

  • @Miyan00000
    @Miyan00000 5 років тому

    Just discovered your channel, nice work!
    At 6:40, you paste fields from the model as a tuple, what extension are you using for this ?
    Thanks

    • @mattfreire
      @mattfreire  5 років тому

      Andre Masse no extension is being used for that. Just fast forwarded adding the apostrophes and formatting it

    • @Miyan00000
      @Miyan00000 5 років тому

      Ah Ok, Thanks. Would have been cool though.

  • @Funtoshi
    @Funtoshi 5 років тому

    Love IT Dude !! i wish to be expert in django QQ

  • @ahnafkhan8115
    @ahnafkhan8115 4 роки тому

    good work!!

  • @MotazIbrahim
    @MotazIbrahim 5 років тому +2

    How can I send a notification to the admin upon a user-specific action?

  • @mahadihassan5897
    @mahadihassan5897 5 років тому +1

    I am currently working with school system in django...i want to create two types of user (teacher, student) where teacher logs in to the system and can add,update,delete result of students (based on class/section) and student logs in the system and can view his/her profile and results
    I am very new in django...so it confuses me how to do that...how to create role based (teacher/student) login, how to redirect them after login to different pages based on their role...can u help me

  • @Gauravsharma-gs9dt
    @Gauravsharma-gs9dt 4 роки тому

    please create a video on how to fully customize django-admin-site

  • @paristar3079
    @paristar3079 5 років тому +1

    I am interested in complete makeover of Admin site

  • @andresfelipeariaspinto5038
    @andresfelipeariaspinto5038 3 роки тому

    Hey, how can I give admin access to all models, so as not to have to do admin.site.register, for each model?

  • @catafest
    @catafest 5 років тому

    I think you can do something similar with: from import_export.admin import ImportExportModelAdmin and @admin.register(...)
    then define it: class ViewAdmin(ImportExportModelAdmin):

  • @vikaskait5057
    @vikaskait5057 5 років тому

    awesome.......

  • @szymonmiks6038
    @szymonmiks6038 5 років тому +5

    I'm also interested in

  • @kaumsatria7981
    @kaumsatria7981 5 років тому

    12:11 you're clicking title field (django introduction) then take you jump to edit page, how to disable it and how to create a custom edit button ?

  • @katata4742
    @katata4742 4 роки тому

    please do thanks for your tutorials

  • @priyankamadhesh7836
    @priyankamadhesh7836 4 роки тому

    How to put drop-down button on custom Django admin page

  • @deepikasrinivasasharma7481
    @deepikasrinivasasharma7481 4 роки тому

    How to export models form django admin panel as PDF

  • @rns10
    @rns10 4 роки тому

    Could you please increase the recording volume next time. Its hard to hear even at full volume.

  • @omkarprakashbhosale8338
    @omkarprakashbhosale8338 4 роки тому

    How change foreign key caption in drop-down

  • @vrushangdesai2813
    @vrushangdesai2813 4 роки тому

    please please please we need complete makeover over django admin

  • @harmonycode4173
    @harmonycode4173 3 роки тому

    D2 please