Skip to content

octopusinvitro/treasure-gram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status build status

Treasure Gram

Screenshot

A project to play with Django.

This project was created with Python 3.4 and Django 1.10.0.

Install

Clone the repo and install all dependencies:

cd treasure-gram/Treasuregram
pip install -r requirements.txt

Run the migrations:

python3 manage.py makemigrations
python3 manage.py migrate

Run the tests

python3 manage.py test

Start the server:

python3 manage.py runserver

And go to http://localhost:8000/

Concepts covered

  • Database migrations
  • Static files
  • Routes and settings
  • Passing contexts
  • Templating language
  • Template inheritance
  • Form-Model mapping and sending data to the server
  • Image uploading
  • Registering admin with models
  • One to many relationship User-Treasures
  • User pages
  • User authentication
  • AJAX communicating with views
  • Tests with unittest
  • Continuous Integration for Travis and gitlab-ci