mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
b2265b1af8
* Dropped redundant `type` attribute from script elements (some had them removed already). * Dropped redundant `media` attribute from link elements. * <div> is not a valid self-closing tag. * Dropped redundant / in self-closing tags in <hr/>, <br/>, <input/>. Just like was done for <img> and <link> already). * Aliasing $ to jQuery (local reference is cheaper and using jQuery as global seems more stable, bootstrap.js does this too). * Unminified it a bit (nothing extreme, just more consistent other code here already). * Consistently used single quotes in the js code (most code used singled quotes already). * Quoting attribute selectors $('input[name="foo"]'). Unquoted selectors have been deprecated. * Ignore .pyc files (so they don't show up in `git status`, and aren't accidentally committed with `git add`).
342 B
342 B
====== dpaste
dpaste is a Django based pastebin. It's intended to run separatly or installed into an existing Django project.
You can find a live example on http://www.dpaste.de/
Testing
$ pip install -r requirements.txt
$ pip install -e .
$ manage.py test dpaste