Moves reusable settings and receipt templates and views into looper.
Details
Details
Diff Detail
Diff Detail
- Repository
- rBDF Blender Dev Fund
Event Timeline
Comment Actions
Conceptually it's a nice cleanup. Just some notes about the use of import.
| blender_fund_main/urls.py | ||
|---|---|---|
| 4–6 | The shortness of the name should reflect the locality of that name. Now the symbols from another module are imported directly, whereas the local settings module requires settings.xxx. I'd say use from looper.views import settings as looper_settings and then using looper_settings.xxxx. | |
| looper/views/settings.py | ||
| 11–13 | Either do from .. import exceptions, forms, models, pdf or split everything up into separate lines. | |