Skip to content

OrifInformatique/Django_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Django_test

Essai du framework Django (Python)

  • You need to install python (and pip), a MySQL or MariaDB database
  • Django must be installed
python -m pip install Django
  • Install Django-compatible MySQL python client
python -m pip install mysqlclient
  • Install the debug bar
python -m pip install django-debug-toolbar
  • Install Pillow (It is for ImageField)
python -m pip install pillow
  • Download the project
git clone https://github.com/OrifInformatique/Django_test
cd Django_test
  • Configure your database in mysite/settings.py
  • Create your database in MySQL or MariaDB
  • Tables must be created via :
python manage.py migrate

Create a admin

python manage.py createsuperuser
  • Launch the site
python manage.py runserver

Go on : http://localhost:8000/admin/ and create some products with images

About

Essai du framework Django (Python)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published