Skip to main content

OneGov web application for small towns.

Project description

Run the Tests

Install tox and run it:

pip install tox

Limit the tests to a specific python version:

tox -e py27


Onegov Town follows PEP8 as close as possible. To test for it run:

tox -e pep8

Onegov Town uses Semantic Versioning

Build Status

Build Status


Project Coverage

Latests PyPI Release

Latest PyPI Release

License is released under GPLv2

Note that Imperavi Redactor (assets/js/redactor.min.js) itself is a proprietary commercial software, owned by Imperavi. We (Seantis GmbH) bought an OEM license to distribute Redactor alongside, so you may use it for free, but you are not allowed to use it independently of



0.5.0 (2015-09-04)

  • Adds the ability to enter, list and manage events (parties, concerts, etc.). [msom]
  • Adds a function field to the person. [href]
  • Adds the ability to clean up unused allocations. [href]
  • Updates redactor to 10.2.3. [href]
  • Adds the ability to filter tickets by handler. [href]
  • Adds the ability to show all tickets of all states in one table. [href]
  • Adds a link between allocation and tickets. [href]
  • Sorts the children pages on the homepage by A-Z as well. [href]
  • Includes the submitter e-mail address on the ticket view. [href]

0.4.0 (2015-08-28)

  • The allocation availability calculation is now faster and accurate. [href]
  • Expired reservation sessions are now automatically removed. [href]
  • Adds the ability to create reservations and to accept/reject them. [href]
  • The edit links for the model shown on the ticket view are now only visible if the ticket is in ‘pending’ state. To change something on the model, the ticket needs to be accepted/reopened. [href]
  • All forms now retain the posted value if a validation error occurs. [href]
  • Adds the ability to define the reservation form on the resource. [href]

0.3.10 (2015-08-25)

  • Replaces the broken ‘jsmin’ filter with the not so broken ‘rjsmin’ filter. [href]
  • Depends on latest onegov.core - with this release the upgrade tables should be set up correctly when creating new schemas. [href]

0.3.9 (2015-08-20)

  • Reservation allocations can now be created/modified and deleted. [href]
  • Adds the ability to confirm the confirmation dialog using enter. To cancel press escape. [href]
  • A person’s academic title is now a person’s salutation. [href]
  • Removes Gravatar support. [href]

0.3.8 (2015-08-14)

  • Emails are now sent only if the db transaction is successful. [href]

0.3.7 (2015-08-12)

  • Fixes some email sending issues. [href]

0.3.6 (2015-08-12)

  • Makes sure that all person links are valid. [href]
  • When inserting a defined link, the dropdown now starts with an empty selection. [href]

0.3.5 (2015-08-11)

  • Fix code editor not working in form definition editor. [href]

0.3.4 (2015-08-11)

  • Depends on latest onegov.form release to fix installation issue. [href]
  • The classes now use less memory. [href]

0.3.3 (2015-08-10)

  • Improves upon the requirements.txt generation. No other changes. [href]

0.3.2 (2015-08-10)

  • No changes worth mentioning. Experimental requirements.txt generation on release. [href]

0.3.1 (2015-08-07)

  • Adds the ability to insert site links in the redactor through a dropdown. [href]
  • Limit the deletion of pages including subpages to users with the admin role. [href]
  • Adds a copy&paste mechanism for pages, links and news. [href]
  • Add the ability to define room/daypass resources and allocations (no way to do reservations just yet). [href]
  • Group images by dates. [msom]

0.3.0 (2015-08-03)

  • Correctly sort the the pages even if the title has changed. [href]
  • Limits the news list on the homepage to two entries. [href]
  • Adds the datetimepicker plugin. [msom]
  • Add retrieve password functionality. [msom]

0.2.6 (2015-07-16)

  • Fixes encoding issue in Apple Mail. [href]

0.2.5 (2015-07-16)

  • Shows a ticket count at the top of every page for logged in users. [href]
  • Adds e-mail notifications for open/close ticket. [href]
  • Adds reopen ticket functionality. [msom]
  • Adds analytics code snippet. [msom]

0.2.4 (2015-07-14)

  • Integrates tickets through onegov.ticket. [href]
  • Form submissions automatically generate a onegov.ticket in the backend. [href]
  • The old form submissions colleciton view is no more. This is now done through the ticketing system. [href]
  • Form submissions, tickets and news are now shown with a relative date (e.g. 5 hours ago). [href]

0.2.3 (2015-07-09)

  • Each form must now contain at least one required e-mail address field. [href]
  • The login link always redirects to the original site now. [href]
  • Show an alert for every form that contains errors. [href]
  • Adds a reply-to address for automated e-mails. [href]
  • Show the edit/delete links outside the dropdown. [href]
  • Adds the ability to add an address block to topics, news and forms. [href]
  • Adds the ability to add people to topics, news and forms. [href]

0.2.2 (2015-07-03)

  • Show sidebar below the content on smaller screens. [href]
  • Adds the ability to keep a directory of people related to the town. [href]
  • Fix lists not showing a dot in the redactor editor. [href]
  • Adds files upload and listing. [treinhard]
  • Use more pronounced colors for various elements. [href]
  • Adds the ability to hide news, pages or forms from anonymous users. [href]
  • Fix sticky footer being partly rendered out of the viewport. [href]
  • Updates Redactor to 10.2. [href]

0.2.1 (2015-06-26)

  • Adds support for onegov.core.upgrade. [href]
  • Remove support for Python 3.3. [href]
  • Pages are now always sorted from A to Z. [href]
  • Fixes form dependency javascript not working with multiple choices. [href]
  • Fixes greyscale scss mixin not working in Firefox. [href]
  • Adds many new builtin forms. [freinhard]
  • Adds minor style adjustments. [freinhard]

0.2.0 (2015-06-10)

  • Adds the ability to use builtin forms, define custom forms and manage submissions.
  • The ‘more…’ news link is only showed if there actually is more to read. [href]
  • Paragraphs are now limited in width, images are 100% width. [href]
  • Fix sticky footer jumping in Chrome by fixating it using CSS. [href]

0.1.0 (2015-05-07)

  • Adds a news section. [href]
  • Refactors pages to be easily be able to define new kind of pages. [href]
  • Adds contact and opening hours as a footer. [href]

0.0.2 (2015-05-05)

  • Images are now always shown in order of their creation. [href]
  • Adds image thumbnails and the ability to select previously uploaded images in the html editor. [href]
  • Adds support for image uploads through the html editor. [href]
  • Replaces the markdown editor with a WYSIWYG html editor. [href]
  • Upgrade to Zurb Foundation 5.5.2. [href]
  • Show a wildcard next to required form fields. [href]
  • Adds hints to form fields, rendered as placemarks. [href]
  • The page markdown editor no longer steals the focus when opening the page. [href]

0.0.1 (2015-04-29)

  • Initial release. [href]

Project details

Release history Release notifications

This version
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 (4.5 MB) Copy SHA256 hash SHA256 Wheel py2 (4.4 MB) Copy SHA256 hash SHA256 Source None

Supported by

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