727 B
727 B
- nav_items: this method should be called only if there is a station in the context.
- idea behind the station is that a station is always defined, except in one case: just right the platform is installed. Otherwise the idea is that user can eventually select the station through a dropbox in the nav menu (happened in last versions of aircox in the admin, should still be there).
- don't forget to add your exported module member name to all ;)
- it is better to put forms inside aircox.forms submodule (as aircox.forms.program subfiles, etc. if the file is to big + reexport in aircox.forms.init)
- you can eventually regroup urls under "/admin" or sth like this, in order to avoid mixing public and backoffice urls.