Django Admin Tutorial - Full Customization (2018)

preview_player
Показать описание
7 Tips For Getting Better At Django:

In this video you will learn how to customize the django admin view.

django-suit package license:

Starting point for this tutorial:

You are going to learn:

- how to register and unregister models
- how to add filtering
- how to add a custom input and button which update a field on all objects
- how to change the theme using the django-suit package.

In order to take our customization further, we'll then create an admin class for the snippet and alter various attributes, such as filter, exclude, list_display, list_filter.

Anyway, you can find the step-by-steps instructions in this video.

If you enjoyed this video, make sure to subscribe and share it with anyone you think could enjoy it as well.

I hope to see you inside of the next episode,

Cheers.
Рекомендации по теме
Комментарии
Автор

thanks you are the life saver you are the only one who cover this topic

please add more videos about admin Customization if you can because no one talk about it before

alexdin
Автор

Only Tutorial That Actually Shows How To Customize Django Admin.

foreducation
Автор

Usually I don't comment on Youtube, but I have to say that this video is AMAZING !!! The speed of presenting is really great - it's amazing how much I learnt and how many new ideas I got in only 14 minutes. Thanks !

hrvojelo
Автор

Awesome! You deserve more than 1 million subscribers.
Hope that you'll have 1 million subscribers very soon.

Thesrik
Автор

I love you Sir. You deserve more than 1 million subscribers.

gabrieludoudo
Автор

Very good tutorial, one of the best I have seen in ages! Congrats. Keep up the great work!

YaredFlores
Автор

It's super usefull, simple and full of info

fahdalharbi
Автор

Wow that looks really easy. Thank you for showing us !

hueguy
Автор

Nice...So fast, but touches everything

arunh
Автор

What kind of keyboard were you using? It sounds amazing

rameenhousseini
Автор

You can fix the admin.py HttpResponseRedirect to ("../../"), which of course depends on the custom url path('fontsize/<int:size>/') in this case, go 2 directories back
Without this, "Snipped with ID "fontsize" doesn't exist. Perhaps it was deleted?" will appear as yellog warning and the redirect happens to localhost:8000/admin, because it tried to access the page "/fontsize" before the "<int:size>"

gfxChris
Автор

Awesome tutorial! Really enjoyed watching it!

jixinliang
Автор

I know this video is 2 years old but which version of django were you using and is this tutorial update to date with the current version of django?

BabyFaceLyfe
Автор

Great tutorial sir. Would love to see your tutorials based on data visualization in Django using d3 or chart.js

nishantbhavsar
Автор

will you make video how to customize admin panel in django ? how to change it like WP admin panel

kaumsatria
Автор

Hi, nice video, not sure if you're going to see this message, but is there a way in which I can add for example a rad button to all records of a given model to mark them as primary (primary would be a field of the model) so when I click a record's rad button then the flag for it is set to true and all others are set to false? The rad button would have to appear in every record of the model

VeLawrence
Автор

If possible, I'd like to make a video request. Do you have any experience with a multiple page form? For example, the Form Wizard tool with Django? Would you be interested in making a tutorial for that where the form data gets passed in to the back end?

You're making great tutorials! They're brilliant!

kaylagordon
Автор

How can I redirect the user to the website after saving the form instead of redirecting then to the default admin section? I will really appreciate if someone could help.

christiannyembo
Автор

Hello Sir thank you for the tutorial
please I have a question though it's beyond the scope of this tutorial

I have a django app deployed on namecheap shared hosting and throws up and error such as:

Request Method: POST
Raised


And everything works well in development
I have pillow installed and my urls config is ok according to the docs.
Please any help base on how I could bypass this error will be highly appreciated

andrewsmichael
Автор

So I'm getting the Django 'No module named 'suit.apps' error
Your videos are really educational, thank you
But can you please help with the above?

josephdisraeliomenda
welcome to shbcf.ru