1
0
Fork 0

Fix linting errors.

merge-requests/12/head
John Giannelos 2014-09-01 23:31:22 +03:00
parent e5ebbe208f
commit ef0fca7804
10 changed files with 10 additions and 9 deletions

View File

@ -27,6 +27,7 @@ class Transponder(models.Model):
invert = models.BooleanField()
baud = models.FloatField(validators=[MinValueValidator(0)])
class Antenna(models.Model):
"""Model for antennas tracked with SatNOGS."""
frequency = models.FloatField(validators=[MinValueValidator(0)])

View File

@ -4,6 +4,7 @@ from django import template
register = template.Library()
@register.simple_tag
def active(request, pattern):
if re.search(pattern, request.path):

View File

@ -2,7 +2,6 @@
from django.contrib.auth.models import AbstractUser
from django.core.validators import MaxLengthValidator
from django.db import models
from django.utils.translation import ugettext_lazy as _
class User(AbstractUser):