#Python #Shorts
After we created a new Django project, the next step we need to figure out is how to add a new Django app to this project.
And it's actually really easy. First, you need to open the terminal in your project folder and run `python manage.py startapp appname`, where "appname" is the name of the app you want to create. And if you need to create multiple apps, just run the same command multiple times, switching out the "appname" each time.
After that, you just need to open the "settings.py" file in your project and add your new app name or names to the INSTALLED_APPS variable.
-------------------------------------------------------------------------------------
Links:
Blog: https://evgenyurubkov.com
Twitter: / evgenyurubkov
Instagram: / evgenyurubkov
Youtube: / @codevev
Смотрите видео How to Create a New App in Django | Python Web Development онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь codevev 20 Июнь 2021, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 539 раз и оно понравилось 18 людям.