Skip to main content

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.

Project description

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

Further documentation can be found here:


2.8 (2014-08-02)

  • The API create view has a new argument ‘filename’ which is used to determine the lexer out of a given filename.
  • Fixed a XSS bug where HTML tags were not properly escaped with the simple code lexer.

2.7 (2014-06-08)

  • “never” as an expiration choice is enable by default! This creates snippets in the database which are never purged.
  • The API create call now supports to set the exiration time.
  • Some simple Bootstrap 3 support.
  • Gist fixes on Python 3.

2.6 (2014-04-12)

  • Fix for the rare case of duplicate slug (secret id) generation.
  • A new ‘code’ lexer renders source code with no highlighting.
  • Whitespace fixes with tab indention and word wrap mode.
  • Installation docs.

2.5 (2014-01-21)

  • IRC lexer is now in the default lexer list.
  • One-time snippet support. Snippets get automatically deleted after the another user looks at it.
  • Toggle wordwrap for code snippets.
  • General UI and readability improvements.

2.4 (2014-01-11)

  • API accepts the format or lexer via GET too. You can call an API url like and have the body in POST only.
  • Added an option to keep snippets forever.
  • ABAP lexer is now in the default lexer list.

2.3 (2014-01-07)

  • API Documentation.
  • Full test coverage.
  • Removed Twitter button from homepage.
  • Slug generation is less predictable.

2.2 (2013-12-18)

  • Added documentation:
  • Added support for CSRF middleware.
  • Windows users can submit the form using Ctrl+Enter.
  • The raw view now sends the X-Content-Type-Options=nosniff header.
  • Various constants can now be overridden by settings.
  • Support for python test to run the tox suite.

2.1 (2013-12-14)

  • Changes and fixes along the package management.

2.0 (2013-11-29)

  • A huge cleanup and nearly total rewrite.
  • dpaste now includes a Django project which is used on as well as hooks to get it integrated into existing projcts.

Project details

Release history Release notifications

History Node


History Node


History Node


History Node


History Node


History Node


This version
History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


History Node


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
dpaste-2.8.tar.gz (125.8 kB) Copy SHA256 hash SHA256 Source None Aug 2, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page