Adding Meeps! (Tweets) - Django Wednesdays Twitter #7

preview_player
Показать описание
In this video I'll show you how to create our Tweet Meep Model for our Twitter Clone App!

We'll add a Meep model, and we'll query the database to get meeps, which we'll output on the homepage.

We'll also tweak the profile page to show a specific user's meeps.

#django #codemy #JohnElder

Timecodes

0:00​​ - Introduction
2:15 - Create Meep Model
5:27 - Make Migration and Migrate
6:20 - Register Meeps In Admin
7:07 - Add Some Meeps!
8:13 - Add Meeps to Homepage
10:00 - Reverse Meep Order on Homepage
10:34 - Add Styling To Meeps
11:20 - Add Meeps To Profile Page
14:17 - Reversion Meep Order on Profiles
14:53 - Conclusion
Рекомендации по теме
Комментарии
Автор

▶ Watch Django Wednesdays Twitter Playlist ✅ Subscribe To My YouTube Channel:
▶ See More At: ✅ Join My Facebook Group:
▶ Get The Code

Codemycom
Автор

Thank you for bringing back django Wednesdays!

NolanCoe
Автор

Crazy job .. your coding is impressive 👌

lorenminiuk
Автор

It's been a long time since i left a comment here, thanks for uploading this videos.

labialkosta
Автор

can show us how to add a hashtag # feature in coming videos....

_devilmay_cry
Автор

Thanks for this! Is there a way to automatically refresh the page when new meeps are posted?

_DeeJay_
Автор

Thanks a lot for these.

May I ask if you're able to do a tutorial for uploading data from a csv/xlsx file into a model? Including the view and template?

If you're busy with this new Twitter playlist, are you at least able to help me understand if it's possible to have a file upload into a model with foreignkey fields?

I've successfully implemented an import page with pandas. I've also successfully implemented another method with django-import-export.

The first method is a really long view but allows for data validation. The second method is much cleaner but it doesn't seem to allow data validation.

Any help or pointers are greatly appreciated.

Importing seems to be a very difficult thing with Django.

Thanks and love your channel.

JA-urob