Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code reuse: low hanging fruit #7

Open
ejucovy opened this issue May 11, 2013 · 0 comments
Open

Code reuse: low hanging fruit #7

ejucovy opened this issue May 11, 2013 · 0 comments
Labels

Comments

@ejucovy
Copy link
Member

ejucovy commented May 11, 2013

I'd like to gradually move the system away from being a giant Django project, and towards being a (set of?) reusable Django app(s).

The first steps here should be to:

  1. Rename the "main" app to something like "akcode"
  2. Update settings.py accordingly
  3. Move urls.py inside the app, and build a new urls.py at the project level which only includes the akcode.urls file
  4. But keep the admin, login, etc urlconfs in the project-level urls.py file, not the app-level one
  5. Move the templates (at least all but base.html) into the app directory, and rename them from main/ to akcode/.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant