···11+## OSX ###
22+.DS_Store
33+.AppleDouble
44+.LSOverride
55+66+### SublimeText ###
77+# cache files for sublime text
88+*.tmlanguage.cache
99+*.tmPreferences.cache
1010+*.stTheme.cache
1111+1212+# workspace files are user-specific
1313+*.sublime-workspace
1414+1515+# project files should be checked into the repository, unless a significant
1616+# proportion of contributors will probably not be using SublimeText
1717+# *.sublime-project
1818+1919+# sftp configuration file
2020+sftp-config.json
2121+2222+# Basics
2323+*.py[cod]
2424+__pycache__
2525+2626+# Packaging files:
2727+*.egg*
2828+2929+# Logs
3030+logs
3131+*.log
3232+pip-log.txt
3333+3434+# Unit test / coverage reports
3535+.cache
3636+.coverage
3737+.tox
3838+nosetests.xml
3939+htmlcov
4040+4141+# Translations
4242+*.mo
4343+*.pot
4444+4545+# Pycharm
4646+.idea
4747+4848+# Vim
4949+5050+*~
5151+*.swp
5252+*.swo
5353+5454+5555+# virtual environments
5656+.env
5757+5858+# Others
5959+docs/_build
6060+build/
6161+dist/
6262+.coverage
+8
AUTHORS.rst
···11+=======
22+Credits
33+=======
44+55+Development Lead
66+----------------
77+88+* Marcos Gabarda <hey@marcosgabarda.com>
+9
HISTORY.rst
···11+.. :changelog:
22+33+History
44+-------
55+66+1.0a1 (2017-2-20)
77++++++++++++++++++
88+99+* First release on PyPI.
+21
LICENSE
···11+The MIT License (MIT)
22+33+Copyright (c) 2017 Marcos Gabarda
44+55+Permission is hereby granted, free of charge, to any person obtaining a copy
66+of this software and associated documentation files (the "Software"), to deal
77+in the Software without restriction, including without limitation the rights
88+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
99+copies of the Software, and to permit persons to whom the Software is
1010+furnished to do so, subject to the following conditions:
1111+1212+The above copyright notice and this permission notice shall be included in
1313+all copies or substantial portions of the Software.
1414+1515+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1616+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1717+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
2121+THE SOFTWARE.
···11+# -*- coding: utf-8 -*-
22+from __future__ import unicode_literals, print_function, division, absolute_import
33+44+from django.conf import settings
55+66+77+# Set on settings the default options for this project. These will be created
88+# on the post migrate signal handler.
99+# Sample:
1010+#
1111+# CONFIGURATION_DEFAULT_OPTIONS = {
1212+# "sold_out": {
1313+# "value": 0,
1414+# "type": INT,
1515+# "public_name": "Sets tickets as sold out"
1616+# },
1717+# }
1818+#
1919+DEFAULT_OPTIONS = getattr(settings, "CONFIGURATION_DEFAULT_OPTIONS", {})