lincolnloop / django-lint
- Source
- Commits
- Network (1)
- Issues (0)
- Downloads (0)
- Wiki (1)
- Graphs
-
Branch:
master
yml (author)
Fri Sep 11 14:03:39 -0700 2009
commit b71c354273fb1b79d778bc4330e8d8c6a4621795
tree c75feddae718f738c075faaac6238f2fdcfdb12e
parent 117c9c140c8b0c817aeb123028e004c4c0510729
tree c75feddae718f738c075faaac6238f2fdcfdb12e
parent 117c9c140c8b0c817aeb123028e004c4c0510729
| name | age | message | |
|---|---|---|---|
| |
.gitignore | Mon Feb 09 03:19:47 -0800 2009 | |
| |
COPYING | Fri Dec 12 00:19:35 -0800 2008 | |
| |
DjangoLint/ | Fri Sep 11 14:03:39 -0700 2009 | |
| |
README.rst | Sat Dec 13 16:37:53 -0800 2008 | |
| |
django-lint | Mon Feb 09 03:19:47 -0800 2009 | |
| |
django-lint.1 | Sun Jan 11 15:36:01 -0800 2009 | |
| |
django_lint_example/ | Sat Feb 28 17:51:57 -0800 2009 | |
| |
setup.py | Mon Feb 09 03:19:47 -0800 2009 |
README.rst
settings module:
django-lint
Ideas
Detecting default managers
Determining whether you have a poor code/applications ratio.
Oldforms (?)
- Overring definition of model. Eg:
- class MyModel(models.Model):
foo = [..] foo = [..]
Non-absolute template_dirs
Missing __unicode__ (?)
Not importing settings via "django.conf import settings"
No related_name
Not using reverse (or @permalink) in get_absolute_url (?)
Templates
- {% if foo %}{{ foo }}{% else %}bar{% endif %} => {{ foo|default:"bar" }}
- {% with foo as bar %} ... [ not using {{ bar }} ] ... {% endwith %}
- {% endblock %} vs. {% endblock blockname %}
- Ordering of MIDDLEWARE_CLASSES
- TEMPLATE_DIRS not absolute
