<commit_before>django-authr [![Build Status](https://travis-ci.org/sunliwen/django-authr.png?branch=master)](https://travis-ci.org/sunliwen/django-authr) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sunliwen/django-authr/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
============

Django Auth in RESTful way

### Installation

```console
git clone https://github.com/sunliwen/django-authr.git
mkvirtualenv django-authr
cd django-authr
make develop
```

### Run the tests

```console
make
```

### Fire up a temp server

```console
make run
```

### Authentication

#### Session-based
*TODO*
#### Token-based
*TODO*
#### OAuth
*TODO*

### Acknowledgements

Initially based on demo from @dustinfarris <https://github.com/dustinfarris/django-ember-authentication>

### License 

(MIT)<commit_msg>Update instruction to run the demo<commit_after>django-authr [![Build Status](https://travis-ci.org/sunliwen/django-authr.png?branch=master)](https://travis-ci.org/sunliwen/django-authr) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/sunliwen/django-authr/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
============

Django Auth in RESTful way

### Installation

```console
git clone https://github.com/sunliwen/django-authr.git
mkvirtualenv django-authr
cd django-authr
make develop
```

### Run the tests

```console
make
```

### Fire up a temp server

```console
make migrate
make run
```

Run `open http://localhost:8000` to view the demo. The default username is `liwen` and password is `<PASSWORD>`.

### Authentication

#### Session-based
*TODO*
#### Token-based
*TODO*
#### OAuth
*TODO*

### Acknowledgements

Initially based on demo from @dustinfarris <https://github.com/dustinfarris/django-ember-authentication>

### License

(MIT)
{'fraction_non_alphanumeric': 0.176171654432524, 'fraction_numerical': 0.007905138339920948, 'mean_word_length': 5.328571428571428, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, 'https://': 12, 'lorem ipsum': 0, 'www.': 0, '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': '2384206', 'n_tokens_mistral': 647, 'n_tokens_neox': 612, 'n_words': 128}