Skip to content

Commit

Permalink
Merge pull request #93 from Benbb96/patch-1
Browse files Browse the repository at this point in the history
Update README.md to include requirements for Django 2.2+
  • Loading branch information
banagale authored May 10, 2020
2 parents 53d68e1 + 3fb4b81 commit eee884c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Values can be set either by assigning an Address object:
Or by supplying a dictionary of address components:

```python
obj.address = {'street_number': '1', route='Somewhere Ave', ...}
obj.address = {'street_number': '1', 'route': 'Somewhere Ave', ...}
```

The structure of the address components is as follows:
Expand Down Expand Up @@ -156,7 +156,7 @@ The model:
from address.models import AddressField

class Person(models.Model):
address = AddressField()
address = AddressField(on_delete=models.CASCADE)
```

The form:
Expand Down

0 comments on commit eee884c

Please sign in to comment.