<commit_before># django-starter-template #

An easy to use project template for Django 1.10 that follows best practices.

## Features ##

- Compatible with python 2.7 and 3.4
- [Django compressor](http://django-compressor.readthedocs.org/en/latest/) to compress JS and CSS and compile LESS/SASS files.
- [Django debug toolbar](http://django-debug-toolbar.readthedocs.org/) enabled for superusers.
- [Bcrypt](https://docs.djangoproject.com/en/1.8/topics/auth/passwords/#using-bcrypt-with-django) to hash the passwords
- [Django flat theme](https://github.com/elky/django-flat-theme) to style the admin.
- A [fabfile](http://www.fabfile.org/) to ease the deployment.

## Quickstart ##

First create and activate your virtualenv, you can use [virtualenvwrapper](https://virtualenvwrapper.readthedocs.org/en/latest/). Then install Django 1.8 in your virtualenv:

    pip install django==1.10

To create a new Django project (make sure to change `project_name`)

    django-admin.py startproject --template=https://github.com/fasouto/django-starter-template/archive/master.zip --extension=py,md,html,txt,less project_name

cd to your project and install the dependences

    pip install -r requirements.txt

If you need a database, edit the settings and create one with
   
    python manage.py syncdb
    python manage.py migrate<commit_msg>syncdb was removed from 1.10<commit_after># django-starter-template #

An easy to use project template for Django 1.10 that follows best practices.

## Features ##

- Compatible with python 2.7 and 3.4
- [Django compressor](http://django-compressor.readthedocs.org/en/latest/) to compress JS and CSS and compile LESS/SASS files.
- [Django debug toolbar](http://django-debug-toolbar.readthedocs.org/) enabled for superusers.
- [Bcrypt](https://docs.djangoproject.com/en/1.8/topics/auth/passwords/#using-bcrypt-with-django) to hash the passwords
- [Django flat theme](https://github.com/elky/django-flat-theme) to style the admin.
- A [fabfile](http://www.fabfile.org/) to ease the deployment.

## Quickstart ##

First create and activate your virtualenv, you can use [virtualenvwrapper](https://virtualenvwrapper.readthedocs.org/en/latest/). Then install Django 1.8 in your virtualenv:

    pip install django==1.10

To create a new Django project (make sure to change `project_name`)

    django-admin.py startproject --template=https://github.com/fasouto/django-starter-template/archive/master.zip --extension=py,md,html,txt,less project_name

cd to your project and install the dependences

    pip install -r requirements.txt

If you need a database, edit the settings and create one with
   
    python manage.py migrate
{'fraction_non_alphanumeric': 0.11123637730176625, 'fraction_numerical': 0.011649755730928222, 'mean_word_length': 4.19921875, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5843498', 'n_tokens_mistral': 836, 'n_tokens_neox': 787, 'n_words': 248}