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 (
Faker, RelatedFactory, SubFactory, fuzzy
Faker, RelatedFactory, SubFactory
from factory.django import DjangoModelFactory
......@@ -11,7 +11,7 @@ class Source(models.Model):
tools = models.JSONField(blank=True, null=True)
def save(self, *args, **kwargs):
self.slug = slugify(
super(Source, self).save(*args, **kwargs)
def __str__(self):
Supports Markdown
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