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.
- intermediate_model_base_class
- FilterPersistMiddleware
get_unique_code
- Generate unique codepass_gen
- Unique password generatorcomp_month_range
- Prepare month range list to compare with selected monthcomp_day_range
- Prepare day range list to compare with selected daydate_range
- Get date list between two datesvalidate_days
- Validate no of days in given month and yearget_news
- Get news from news urlonly_one
- Decorator for distributed task locking in celeryceil_strdate
- Convert a string date to either a start or end day datepercentage
- Get percentage valueunset_session_var
- Unset settion variablegetvar
- Check field in POST/GET request and return field value. if there is value you can also save a session variableword_capital
- Capitalizes the first character of each word
time_in_min
- Convert value in min:sec or seconds formatconv_min
- Convert value in min:sec formatmonth_name
- Get month name from 1-12 int nosort_link
- Usage: {% sort_link "link text" "field_name" %} or {% sort_link "link text" "field_name" "Visible name" %}get_fieldset
- Make group of fields for field-set- Usage: {% get_fieldset field1,field2 as list_field from xyz_form %}
groupby_rows
- Returns a list of n lists. Each sub-list is the same lengthgroupby_rows
- Returns a list of lists where each sub-list has n items.listsort
- Perform sorting on template listconvert_to_int
- Convert value to intergerwordcap
- Capitalizes the first character of each words.percentage_tag
- get percentage value.
- LanguageField - Field to language list
- build_test_suite_from : Returns a single or group of unittest test suite
- AppLabelRenamer Class for django admin UI
- export_as_csv_action - Admin custom action which returns an export csv
Install using the sources
pip install -r requirements.txt python setup.py install
Install with PIP
python install django-lets-go
- CDR-Stats : http://www.cdr-stats.org
- Newfies-Dialer : http://www.newfies-dialer.org
Changelog summary : https://github.com/areski/django-lets-go/blob/master/CHANGELOG.rst
Django-lets-go is licensed under MIT
The Initial Developer is Arezqui Belaid <[email protected]>