Não pode escolher mais do que 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

basic_customization.rst 1.2 KiB

123456789101112131415161718192021222324252627282930313233
  1. Basic Customization
  2. ===================
  3. Since we use the standard Django templating system you can edit
  4. ``pinry/templates`` and ``pinry/static`` to change the overall look and feel of
  5. Pinry. It's all basic HTML, CSS and JS built on top of Bootstrap and some custom
  6. JavaScript plugins, we don't provide any support for modifications to any of
  7. this and future updates of Pinry may need to overwrite your changes so use
  8. caution when changing the way Pinry looks.
  9. Custom Settings
  10. ---------------
  11. We currently have two custom settings you can change in
  12. ``pinry/settings/__init__.py``::
  13. # Set to False to disable people from creating new accounts.
  14. ALLOW_NEW_REGISTRATIONS = False
  15. # Set to False to force users to login before seeing any pins.
  16. PUBLIC = True
  17. ``ALLOW_NEW_REGISTRATIONS`` by default is set to False to prevent random people
  18. from signing up to your Pinry, to create new private users you can use Django's
  19. ``createsuperuser``, add them to the database manually or open registrations
  20. temporarily while you get your friends/family/coworkers to sign up.
  21. ``PUBLIC`` by default is set to True, if you set to False users will have to
  22. login to see any of your pins. This is a great way to create a completely
  23. private system for a few users or just yourself.