local.py.sample 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. """Site-specific settings
  2. Rename this file to local.py and edit it to customize the settings of your
  3. Distro Tracker installation. By default it imports settings from the ``selected.py``
  4. file which is a symlink to the type of installation to you have
  5. (typically, ``production.py`` or ``development.py``) and lets you add
  6. overrides on top of those type-of-installation-specific settings.
  7. """
  8. # Load the selected configuration (selected.py is a symlink to preferred config)
  9. from .defaults import INSTALLED_APPS
  10. from .selected import * # noqa
  11. # If you want to run a development setup close to what's running on
  12. # tracker.debian.org, then uncomment the next two lines.
  13. # from .debian import * # noqa
  14. # from .db_sqlite import DATABASES # noqa
  15. ## Add your custom settings here
  16. # If you don't use the packaged version of Distro Tracker, put a random secret
  17. # key here. DO NOT USE THE EXAMPLE KEY GIVEN BELOW.
  18. # SECRET_KEY = 'etu2#5lv=!0(g9l31mw=cpwhioy!egg60lb5o3_67d83#(wu-u'
  19. # DISTRO_TRACKER_FQDN = "tracker.debian.org"
  20. # DISTRO_TRACKER_VENDOR_NAME = "Debian"
  21. # DISTRO_TRACKER_VENDOR_URL = "https://www.debian.org"
  22. # DISTRO_TRACKER_VENDOR_RULES = "distro_tracker.vendor.debian.rules"
  23. # DISTRO_TRACKER_CONTACT_EMAIL = 'owner@' + DISTRO_TRACKER_FQDN
  24. # You can enable supplementary Django applications here, refer to the
  25. # documation for details about what they do
  26. INSTALLED_APPS += (
  27. # Can be useful to create visualizations of the models
  28. # 'django_extensions',
  29. # Generate warnings for outdated values of the Standards-Version field
  30. # 'distro_tracker.stdver_warnings',
  31. # Generate news when packages are uploaded/removed/migrated
  32. # 'distro_tracker.auto_news',
  33. # Extract common files from the source package
  34. # 'distro_tracker.extract_source_files',
  35. # Must be added if you set DJANGO_EMAIL_ACCOUNTS_USE_CAPTCHA to True
  36. # 'captcha',
  37. )