Django helpers, goodies, mix of snippets, etc...
Project description
Django-Lets-go provide a lot of goodies, functions, useful snippets recompiled, if you develop some Django projects you will certainly found something useful here.
Django-lets-go contains the following :
1. Model
intermediate_model_base_class
2. Middleware
FilterPersistMiddleware
3. Functions
get_unique_code - Generate unique code
pass_gen - Unique password generator
comp_month_range - Prepare month range list to compare with selected month
comp_day_range - Prepare day range list to compare with selected day
date_range - Get date list between two dates
validate_days - Validate no of days in given month and year
get_news - Get news from news url
only_one - Decorator for distributed task locking in celery
ceil_strdate - Convert a string date to either a start or end day date
percentage - Get percentage value
unset_session_var - Unset settion variable
getvar - Check field in POST/GET request and return field value. if there is value you can also save a session variable
word_capital - Capitalizes the first character of each word
5. Fields
LanguageField - Field to language list
6. Test suite tools
build_test_suite_from : Returns a single or group of unittest test suite
7. Admin Class Helper
AppLabelRenamer Class for django admin UI
export_as_csv_action - Admin custom action which returns an export csv
Installation
Install using the sources
pip install -r requirements.txt python setup.py install
Install with PIP
python install django-lets-go
Projects using Django-lets-go
CDR-Stats : http://www.cdr-stats.org
Newfies-Dialer : http://www.newfies-dialer.org
Changelog
Changelog summary : https://github.com/areski/django-lets-go/blob/master/CHANGELOG.rst
License
Django-lets-go is licensed under MIT
The Initial Developer is Arezqui Belaid <areski@gmail.com>
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-lets-go-2.9.4.tar.gz
.
File metadata
- Download URL: django-lets-go-2.9.4.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b811c2ca6d781ad386bab85b9852261553c9f57531e6620e1a99c6ccac5a84f |
|
MD5 | 0c2782ae59720efc211550e62831e4aa |
|
BLAKE2b-256 | 45f7dd85272588b73b4d70980ba8cb2937636bc75ac65eae2ecbf0be9479b899 |