Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Commit

Permalink
issue-76: moves enable_logging to top
Browse files Browse the repository at this point in the history
  • Loading branch information
lowitea committed Mar 17, 2021
1 parent 146ae75 commit 7f3f1be
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions http_stubs/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,11 @@ class HTTPStub(models.Model):
help_text='Path is a regular expression',
default=False,
)
enable_logging = models.BooleanField(
verbose_name='Logging',
help_text='Enables logging of requests',
default=False,
)
method = models.CharField(
verbose_name='Request method',
max_length=10,
Expand Down Expand Up @@ -90,11 +95,6 @@ class HTTPStub(models.Model):
help_text='Language: python 3.8. The script will run on each request.',
blank=True,
)
enable_logging = models.BooleanField(
verbose_name='Logging',
help_text='Enables logging of requests',
default=False,
)

class Meta:
verbose_name = 'http stub'
Expand Down

0 comments on commit 7f3f1be

Please sign in to comment.