Startapp in pydev

Hi everyone, I want to write a Django view for the main page, and I know that I need to create a Django application inside my project first. I know that I should write the following: $ python manage.py startapp name, in the coomand line, but my problem is that I do not know how to do this in pydev (eclipse). Somebody knows?

$ python manage.py startapp name filename contains-> __init__ ->forms ->models ->tests ->views 
+4
source share
2 answers

After creating a Django project inside PyDev, you can right-click the project and select a Django entry for Django -related activities ... one of them is Create application (manage.py startapp) , which can be used to create the Django Application.

Check out: http://pydev.org/manual_adv_django.html if you need more information about setting up an existing project as a Django project or creating an actual project.

+3
source

Right-click on the project root -> Django -> Create Application (manage.py startapp).

+13
source

Source: https://habr.com/ru/post/1390695/


All Articles