Skip to content

This is a little repo to learn how to use Django Python web framework

Notifications You must be signed in to change notification settings

RichardsonFL/django-py-learn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django project templates

This project is to create Django Sample to use as snippets for anather future projects.

Setting up an initial

Note! I'm using virtual python enviroiment, so we can set this as the follow: We assume that python venv have been installed. Then you can type

  1. python3 -m venv .venv
  2. In linux, type this: source .venv/bin/activate
  3. And now install Django module: pip3 install Django

Creating a django project:

django-admin startproject <name_your_project>

To verify if it is allright, type:

cd <name_your_project> python manage.py runserver

And go to the link shown in the terminal...

Adding an app to the project:

Just type: python manage.py startapp <appname>

About

This is a little repo to learn how to use Django Python web framework

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages