Skip to content

Commit

Permalink
Merge pull request #30 from martync/patch-1
Browse files Browse the repository at this point in the history
Set fields = "__all__" in forms.py
  • Loading branch information
jezdez committed May 12, 2015
2 parents 4744060 + 41ac348 commit 8f5e332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robots/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
class RuleAdminForm(forms.ModelForm):
class Meta:
model = Rule
fields = ['robot', 'allowed', 'disallowed', 'sites', 'crawl_delay']
fields = "__all__"


def clean(self):
Expand Down

0 comments on commit 8f5e332

Please sign in to comment.