dj-ango 0.2.0
pip install dj-ango
Latest version
Released:
Simplifying the import structure of Django.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Daniel Roy Greenfeld
- Tags dj-ango
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
Simplifying the import structure of Django.
Documentation
The full documentation is at https://dj-ango.readthedocs.org.
Quickstart
Install dj-ango:
pip install dj-ango
Then use it in a project:
from ango import settings, TemplateView, url
class AboutView(TemplateView):
template_name = "about.html"
def get_context_data(self, **kwargs):
context = super(AboutView, self).get_context_data(**kwargs)
context['is_debug_mode'] = settings.DEBUG
return context
urlpatterns = [
url(
regex=r'^about/$',
view=AboutView.as_view(),
name='about'
)
]
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install -r requirements-text.txt (myenv) $ python runtests.py
Credits
Tools used in creating this package:
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: BSD License (BSD)
- Author: Daniel Roy Greenfeld
- Tags dj-ango
Classifiers
- Development Status
- Framework
- Intended Audience
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file dj-ango-0.2.0.tar.gz
.
File metadata
- Download URL: dj-ango-0.2.0.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0aeaa4a343071cbfa34d4dddc7b269b2ec8dbe73292c175ec67e1b9878bcec28 |
|
MD5 | 652444bc4835be2d9f8f81230af37f22 |
|
BLAKE2b-256 | 609e1136ba50fb13853df16480574c57dead15c2fc454d487fe803543abebbce |
File details
Details for the file dj_ango-0.2.0-py2.py3-none-any.whl
.
File metadata
- Download URL: dj_ango-0.2.0-py2.py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cb2b300b2fa6923a28ff8d1166552c383a317a9657f5233c0e083050a9e248f9 |
|
MD5 | 7b3298f69aee9544fe1d94369f19fb99 |
|
BLAKE2b-256 | e69c0e45c994b4e35c19b1243665744ef92691a9cd7cd43e46b78b16076c460c |