Django Tutorial #9 - The Django Admin

Поделиться
HTML-код
  • Опубликовано: 13 янв 2025

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

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

    This is the best tutorial even after 4 years. Net ninja is a genius!

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

      Thanks for the kind words Mushraf :)

  • @T21-TwentyOneTrailers.
    @T21-TwentyOneTrailers. 6 лет назад +15

    I want to say you, 1000 thanks for this courses...the best or the best. Very well explained...you are the man, bravo!
    You know, for me learning Django and python is like finding water in the desert. Awsome language...you can't get bored, and is very large and flexible.
    I Hope when you get a free time, to make a commerce Django website with a real payment credit card.
    Thanks again for all your effort, for sharing ur knowlidge and lastly i want to ses u: you are the best.
    Good continuation.

  • @aboubiko8826
    @aboubiko8826 6 лет назад +4

    I have just started my web dev journey and django framework and your tutorials is the best for a beginner like me now #3

  • @maxiequa567
    @maxiequa567 7 лет назад +9

    Thoroughly enjoying this series, thanks!!

  • @xujiahui4553
    @xujiahui4553 4 года назад +1

    thanks for your contribution! best django tutorial in the universe

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

    For folks having issue in ...save(), try adding "from __future__ import unicode_literals" in 001_initial.py file. Might help!

  • @sameerahmed1580
    @sameerahmed1580 4 года назад

    Bro your video is point to point which is an amazing thing.

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

    This guy is always on point every time thanks alot buddy

  • @anroiduser1222
    @anroiduser1222 4 года назад

    You are the best, after I'm done with this tutorial I'm going to comeback and like all the videos and share them on facebook!

  • @KeffelewAssefa
    @KeffelewAssefa 7 лет назад +1

    Thank you for this amazing tutorial about Django.

  • @tariq.mehmood
    @tariq.mehmood 4 года назад

    4:43 that is Freakin' awesome

  • @rawa3088
    @rawa3088 6 лет назад +1

    Love it! This has been super helpful

  • @okanyldrmop
    @okanyldrmop 4 года назад +1

    Great explanation :)

  • @subrinakhan3573
    @subrinakhan3573 6 лет назад +1

    Thank you so much.

  • @aboubiko8826
    @aboubiko8826 6 лет назад +2

    thank you

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

    big big thanks

  • @agent4140
    @agent4140 4 года назад

    the best tutor ever!

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

    Thanks a lot

  • @904rawr
    @904rawr 4 года назад +1

    For windows people finding this tutorial just now and using git bash to run the createsuperuser, you need to add 'winpty' at the start. More info here: stackoverflow.com/questions/32532900/not-able-to-create-super-user-with-django-manage-py

  • @zahraBatenin
    @zahraBatenin 7 месяцев назад

    great thnx

  • @bernatferrer425
    @bernatferrer425 4 года назад +1

    For some reason my host does not allow to go to admin site no matter which browser i try. Anyone has an idea why?

  • @yallasomasatyanarayana7493
    @yallasomasatyanarayana7493 6 лет назад +1

    Sir page not found
    In admin section

  • @KevinTempelx
    @KevinTempelx 4 года назад

    Is the model already added to the database since it was previously saved already? If so then does registering it only save it to our admin?

  • @melvinadade7886
    @melvinadade7886 6 лет назад +1

    Even though I have last function you added to the models.py file in my models.py file, my code still shows this 👇
    am using django version 2.1 on a windows PC , any help on how to fix this?

    • @relaxgg3077
      @relaxgg3077 6 лет назад +4

      add the __str__ function inside the class. Probably u have add the function outside the class

    • @kc137
      @kc137 5 лет назад +2

      @@relaxgg3077 It's work. Thanks!

  • @Lbmaniak
    @Lbmaniak 6 лет назад

    thx

  • @thepuckchucker
    @thepuckchucker 4 года назад

    I have the def __str__(self): return self.title in my models.py but the Django Admin articles is still showing "Article Object" for each item... ???

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

      have you made sure that the function is indented so it is within the class

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

      @@oliverromm5869 tnx ,i had the same problem

  • @dustbinsavesyou8283
    @dustbinsavesyou8283 7 лет назад

    I do the same thing but articles does not appear after
    admin.site.register(Article)

    • @dustbinsavesyou8283
      @dustbinsavesyou8283 7 лет назад

      Nevermind it's there
      MAGIC

    • @jdmandal8885
      @jdmandal8885 6 лет назад

      @@dustbinsavesyou8283 how have you fixed it? i dont see it either

    • @humbertogessinger7444
      @humbertogessinger7444 5 лет назад

      @@jdmandal8885 Probably he was writing "sites" instead of "site". I did this

    • @mggame_
      @mggame_ 5 лет назад

      Simply try to log out and log in, it should help

  • @ladyking83
    @ladyking83 6 лет назад

    def __str__(self) is not working with me, titles still show like this : XXXX object.
    i did manage.py makemigrations, as well as manage.py migrate..
    any idea why isn't working? thanks

    • @OvaisDIYGarage
      @OvaisDIYGarage 6 лет назад

      it is the function of the class Article. and has to be on the same indentation as the class. Try this and then it will work

    • @ladyking83
      @ladyking83 6 лет назад +1

      @@OvaisDIYGarage i figured out the problem, it was an def should be inside the class, not outside it. thanks for reply :)

    • @naveengoyal5243
      @naveengoyal5243 5 лет назад

      ​@@ladyking83 Worked for me. Thanks :)

  • @jmmacatangay_grizzlybear
    @jmmacatangay_grizzlybear 4 года назад

    How can you make your own Admin UI? without using Django Admin.

  • @xyz76021
    @xyz76021 6 лет назад +1

    for stose trying to do this on Linux, and getting 'Trying to write a readonly DB' error
    go to terminal
    navigate to your django project
    type
    sudo chown YOUR_USERNAME:YOUR_USERNAME db.sqlite3
    type your password
    DONE
    this command shal give you permission to write to DB, happy hacking)))

  • @OvaisDIYGarage
    @OvaisDIYGarage 6 лет назад

    if you want to sort list in order follow this link :
    eureka.ykyuen.info/2014/12/12/django-sort-the-djano-admin-list-table-by-specific-field/