The Django project driving dpaste.org
Find a file
Brian Harring 219101d8ef Work around mptt slowness when there are thousands of snippets.
See ticket #85 for an example test case.

This works around mptt slowness via providing the proper defaults
settings, and using the mptt manager to track down the next tree_id
to use.  Note that it's inherintly racey in finding the next tree_id-
this isn't a flaw of this code, it's a flaw of mptt.  If you trace
the _get_next_tree_id() functionality, you'll find that it assumes
that between when that value is computed, and when the insertion happens,
nothing else slipped in- this isn't a safe assumption, although the
timing required to trigger the issue would be fairly tight.
2017-01-18 15:36:48 -08:00
.tx Added Transifex script configuration 2014-10-27 15:16:04 -02:00
docs Merge remote-tracking branch 'origin/master' 2016-03-23 14:15:34 +01:00
dpaste Work around mptt slowness when there are thousands of snippets. 2017-01-18 15:36:48 -08:00
server Make Webalizer work with rotated logfiles. 2016-06-18 10:54:20 +00:00
.coveragerc Test suite updates 2016-03-23 14:15:21 +01:00
.gitignore Added docs. 2013-12-18 11:28:45 +01:00
.travis.yml Trying different version identifiers. Refs #82. 2016-09-06 14:31:30 +02:00
CHANGELOG 2.12 Release 2016-09-06 15:14:27 +02:00
LICENSE Numerous fixes around package management. Kudos to @koobs. 2013-12-14 13:17:53 +01:00
manage.py Removed my private info. 2013-11-29 19:35:23 +01:00
MANIFEST.in Add docs to distribution. 2013-12-18 11:41:27 +01:00
README.rst 2.10 Release 2016-03-23 14:18:41 +01:00
requirements.txt Use Postgres for testing. 2016-12-02 13:38:13 +01:00
runtests.py Code cleanup and update for Django 1.10. Fixed all warnings. 2016-09-04 20:06:07 +02:00
setup.py 2.12 Release 2016-09-06 15:14:27 +02:00
tox.ini Trying different version identifiers. Refs #82. 2016-09-06 14:31:30 +02:00

.. image:: https://travis-ci.org/bartTC/dpaste.png?branch=master
    :target: https://travis-ci.org/bartTC/dpaste

.. image:: https://codecov.io/github/bartTC/dpaste/coverage.svg?branch=master
    :target: https://codecov.io/github/bartTC/dpaste?branch=master

======
dpaste
======

dpaste is a Django based pastebin. It's intended to run separately but its also
possible to be installed into an existing Django project like a regular app.

You can find a live example on http://dpaste.de/

Further documentation can be found here: http://dpaste.readthedocs.org/en/latest/