Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Model examples: skip models without a number.

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@4794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 248da0511fc741be4177e1aa510456b149d13c25 1 parent 288243a
jacob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/apps/docs/views.py
View
2  django_website/apps/docs/views.py
@@ -62,7 +62,7 @@ def model_index(request, version=None):
number, title = title.split(". ", 1)
number = int(number)
except ValueError:
- number = None
+ continue
model_docs.append({"title" : title, "link" : os.path.basename(testdir.name), "number" : number})
model_docs.sort(lambda a,b: cmp(a["number"], b["number"]))

0 comments on commit 248da05

Please sign in to comment.
Something went wrong with that request. Please try again.