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

Tons of updates #5

Merged
merged 22 commits into from May 15, 2013
Merged

Tons of updates #5

merged 22 commits into from May 15, 2013

Conversation

senko
Copy link
Owner

@senko senko commented May 15, 2013

Changes:

  • Renamed project name to generic 'project' so it doesn't have to
    be changed and manage.py/Makefile/fabfile.py logic is simpler
    (it's still easy to change it if you want, and the procedure is
    documented)
  • Split the requirements into base (always needed), production,
    development and test. This makes the production env cleaner and
    means we can add more bells'n'whistles to dev environment without
    polluting prod further.
  • Updated all the requirements to their newest versions.
  • Switched to default Django's LOGGING instead of doing logging through
    Sentry (it isn't a good fit for generic logging). Sentry is still
    supported for logging the exceptions (and the raven client settings
    are updated). The develpoment LOGGING tweaked so it shows SQL
    query log to the console (even in Django shell).
  • Added django-compressor for minifying/combining static assets in
    production.
  • Lots of updates to dev environment: added django-extensions, IPython,
    and Werkzeug, for beefed up Django shell with model autoloading
    (shell_plus + IPython) and view crash debugging directly from inside
    the browser (runserver_plus + Werkzeug).
  • Expanded Makefile to make the dev setup and dev and production
    updates automatic; also added a linter target (and flake8 dependancy
    to dev), making it easier to ensure the coding standards are met.
  • Updated the documentation (README) to make the whole thing more
    usable.
  • Misc minor fixes and tweaks

senko added 22 commits May 9, 2013 22:40
So it doesn't have to be renamed.
This gets rid of the "log through Sentry" setup completely as
it's not designed for that purpose.
This has runserver_plus (in-page debugging support through Werkzeug)
and shell_plus (auto-load all modules, use IPython for better REPL)
and a host of other useful tools.
Since we have a fixed project name now, there's no need for complex
project folder discovery logic, so we can simplify things.
senko added a commit that referenced this pull request May 15, 2013
@senko senko merged commit 2fae92b into master May 15, 2013
@senko senko deleted the tons-of-updates branch May 15, 2013 17:26
krisfields pushed a commit to krisfields/django-starter that referenced this pull request Jan 25, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant