6. Sampleproject

Sample project useful for testing django applications and other utility needs.

6.1. Installation

git clone https://github.com/asyncee/django-easy-select2.git
cd django-easy-select2/sampleproject
./bootstrap.sh  # creates virtualenv and installs django (from requirements.txt)
source env/bin/activate
./manage.py migrate
./manage.py createsuperuser
./manage.py runserver

6.2. Configuration

Project ships with sane defaults (settings are pretty verbose):

  • sqlite3 database
  • filebased cache in /tmp
  • cached sessions
  • console email backend
  • non-cached template loaders
  • css/js/img default static dirs
  • default templates directory
  • nice default loggers

6.3. Usage

After you bootstrapped a project, you can fill it with some data and play with Note model admin.