Commit 62230a4e authored by Kenzo-Hugo Hillion's avatar Kenzo-Hugo Hillion
Browse files

fix flake8

parent 41e9453b
Pipeline #54372 passed with stages
in 3 minutes and 49 seconds
from factory import ( from factory import (
Faker, RelatedFactory, SubFactory, fuzzy Faker, RelatedFactory, SubFactory
) )
from factory.django import DjangoModelFactory from factory.django import DjangoModelFactory
......
...@@ -11,7 +11,7 @@ class Source(models.Model): ...@@ -11,7 +11,7 @@ class Source(models.Model):
tools = models.JSONField(blank=True, null=True) tools = models.JSONField(blank=True, null=True)
def save(self, *args, **kwargs): def save(self, *args, **kwargs):
self.slug=slugify(self.name) self.slug = slugify(self.name)
super(Source, self).save(*args, **kwargs) super(Source, self).save(*args, **kwargs)
def __str__(self): def __str__(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment