-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Root urls.py
- Possibly use it as index urls file.
- Nest other urls based on apps, business logic
Discourse View
- Break this file into smaller componets, otherwise after a month this will be unmanageable.
- Remove all static variables, constants to either
settings.pyor create new file for sitewide configurable vars. - Create
utils.pypython file which will contain pure python classes and methods for processing etc.
General:
- Follow PEP-8 standards from start. Use pylint which you can configure in any editor.
- Avoid
from <some-module> import *, will make code miserable to troubleshoot issue/bug. This may also leads to cyclic imports. - If things are exclusive put it in different files.
-
e.g: Separate file for
group,page
-
- Avoiod hardcoded values.
-
e.g:
{"file":open('/home/siddhu/Desktop/nroer.jpg','rb') }
-
- Start
doc/folder at root. Keep adding markdown/org/rst documentation init. - Create INSTALL file. Keep documenting sudo level packages that are being getting used.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request