flashingpumpkin / djangolint

Django Lint

Home Page:djangolint.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Introduction

Djangolint is the tool to detect django deprecated and non-optimal code in django projects and apps.

Installation

  1. Clone repo
  2. Run pip install -r requirements/development.txt in your virtualenv
  3. Run python project/manage.py syncdb --migrate
  4. Run python project/manage.py runserver
  5. Run in another tab python project/manage.py celeryd
  6. Open in your browser http://localhost:8000/
  7. Enjoy :)

Deployment

  1. Setup your server settings in fabfile (Ubuntu 11.04 only tested)
  2. Run fab bootstrap provision deploy

Todo

  1. Propose replacement for bad code in analysis results
  2. Create more analyzers

About

Django Lint

djangolint.com

License:Other