...

Open source softwares - Django

Back to Course

Lesson Description


Lession - #983 Django-Create App


What is an App?

An app is a web application that has a particular importance in your project, similar to a home page, a contact form, or an members database.

In this tutorial we will make an application that permits us to list and register individuals in a database.

On the whole, we should make a simple Django app that showcases "Hello World!".

Create App

I will name my app members.

Begin by exploring to the chose place where you need to store the app, and run the command below.

Assuming that the server is as still running, and you can't compose commands, press [CTRL] [BREAK] to stop the server and you should to be back in the virtual environment.

py manage.py startapp members
Django makes an folder named members in my project, with this substance:

myworld
    manage.py
    myworld/
    members/
        migrations/
            __init__.py
        __init__.py
        admin.py
        apps.py
        models.py
        tests.py
        views.py