Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #38 from Jumpstartz/master

fix typo in readme
  • Loading branch information...
commit e13a8ca794250deccd8dca98f914643eca53d40a 2 parents af3e67f + b81d747
@jonathanslenders jonathanslenders authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -170,7 +170,7 @@ state transitions for the admin site. To support this in your model, update
your `ModelAdmin`:
```python
-class PurchaseAdmin(admin.ModelAdmin);
+class PurchaseAdmin(admin.ModelAdmin):
actions = Purchase.Machine.get_admin_actions()
```
@@ -178,7 +178,7 @@ If your model didn't inherit from `StateModel`, you can also specify the
`field_name`:
```python
-class PurchaseAdmin(admin.ModelAdmin);
+class PurchaseAdmin(admin.ModelAdmin):
actions = Purchase.Machine.get_admin_actions(field_name='purchase_state')
```
Please sign in to comment.
Something went wrong with that request. Please try again.