<commit_before>Django URL Objects = urljects
=============================


[![Travis CL](https://img.shields.io/travis/Visgean/urljects.svg)](https://travis-ci.org/Visgean/urljects)
[![Documentation Status](https://readthedocs.org/projects/urljects/badge/?version=latest)](https://urljects.readthedocs.org/en/latest/)
[![Pypi](https://img.shields.io/pypi/v/urljects.svg)](https://pypi.python.org/pypi/urljects)
[![Code Health](https://landscape.io/github/Visgean/urljects/master/landscape.svg?style=flat)](https://landscape.io/github/Visgean/urljects/master)

**THIS MODULE IS IN DEVELOPMENT, THERE IS NO FUNCTIONALITY YET!**


Ugliness of Django routing system
---------------------------------

Adding new views in Django is done usually in two files: in ``views.py`` where most of the stuff go and then it is registered in ``urls.py``. 

This sucks, especcially if you are using Class-Based-Views: 

```
url(r'^add$', views.AddSource.as_view(), name='add'),
```

I hate calling ``as_view`` method in ``urls.py``, this should be resolved automatically!
<commit_msg>there is some functionality already<commit_after>Django URL Objects = urljects
=============================


[![Travis CL](https://img.shields.io/travis/Visgean/urljects.svg)](https://travis-ci.org/Visgean/urljects)
[![Documentation Status](https://readthedocs.org/projects/urljects/badge/?version=latest)](https://urljects.readthedocs.org/en/latest/)
[![Pypi](https://img.shields.io/pypi/v/urljects.svg)](https://pypi.python.org/pypi/urljects)
[![Code Health](https://landscape.io/github/Visgean/urljects/master/landscape.svg?style=flat)](https://landscape.io/github/Visgean/urljects/master)


Ugliness of Django routing system
---------------------------------

Adding new views in Django is done usually in two files: in ``views.py`` where most of the stuff go and then it is registered in ``urls.py``. 

This sucks, especcially if you are using Class-Based-Views: 

```
url(r'^add$', views.AddSource.as_view(), name='add'),
```

I hate calling ``as_view`` method in ``urls.py``, this should be resolved automatically!

{'fraction_non_alphanumeric': 0.2140468227424749, 'fraction_numerical': 0.0, 'mean_word_length': 4.598930481283422, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 16, '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': '2383052', 'n_tokens_mistral': 735, 'n_tokens_neox': 690, 'n_words': 144}