Permalink
Browse files

Merge pull request #9 from bretonium/patch-1

s/ForeignField/ForeignKey/
  • Loading branch information...
2 parents e2b910f + 2a9723c commit 741f80afc09aadd25db2c57c98f410d9b4bd2eb5 @runekaagaard committed Mar 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.markdown
View
@@ -71,7 +71,7 @@ class CompanyDepartmentFilter(TreeFilter):
from filtrate import register_filter
class Case(Model):
...
- client = models.ForeignField(Client)
+ client = models.ForeignKey(Client)
register_filter(client, CompanyDepartmentFilter)
...
```
@@ -94,7 +94,7 @@ class CaseLicenseStartDateFilter(DateRangeFilter):
from filtrate import register_filter
class Case(Model):
...
- caselicense = models.ForeignField(Licence)
+ caselicense = models.ForeignKey(Licence)
register_filter(caselicense, CaseLicenseStartDateFilter)
...
```

0 comments on commit 741f80a

Please sign in to comment.