summaryrefslogtreecommitdiff
path: root/docs/tutorials/wiki/NOTE-relocatable.txt
blob: c3f30af513c432b9f1295f99b9e52af109e9daa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
We specifically use relative package references where possible so this demo
works even if the user names their package (in the
'cookiecutter gh:Pylons/pyramid-cookiecutter-starter' step) something other
than 'tutorial'.

Specifically:

- use relative imports
- use plain relative URLs for resources (like stylesheets and images) in
  page templates.

Direct uses of the package name, like in __init__.py 'config.scan()'
statements, are already adjusted by the cookiecutter, so we don't have to
worry about them.