YD Technology common libraries
Project description
System Requirements
Python 2.7+
Settings
IGNORE_QUNIT_HTML_FILES ignore HTML qunits files
JSHINT_FILES_FIND JS Hint search files grep. Default -name "*.js" | xargs grep -l '/\*jslint' | grep -v libs
Views
QunitTestsView Qunit tests (stuff permission required), example entry in urls.py:
url(r"^js-tests/(?P<path>.*)", 'ydcommon.views.qunit_view', name='quinit'),
Commands
Checking requirement for tests:
./manage.py check_test_requirements
Running Qunit tests
./manage.py run_qunit
Running JS Hint
./manage.py jshint
Running JS Hint with custom directory
./manage.py jshint --dir=my/custom/dir
Clear database - drop all tables
./manage.py clear_database
Dump database
./manage.py dump_database
Project details
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
ydcommon-0.1.66.tar.gz
(14.3 kB
view hashes)
Built Distribution
ydcommon-0.1.66-py2-none-any.whl
(21.0 kB
view hashes)
Close
Hashes for ydcommon-0.1.66-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 119f65b4124a203a7b77f26ee4ace337470a4a4989788aa42c7b907beabc0577 |
|
MD5 | 8a99932c03fbd8f80f376050cccbd965 |
|
BLAKE2b-256 | 8fc9e1a6b0dbffb7ca0471559ebea2335b67f793e1b06f5432e5a8aea7eda4f0 |