Commit e231342a authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

admin

parent a228c8ab
from django.contrib.admin import site
from .models import Article, License, Namespace, Project, Repo
from . import models
for model in [Article, License, Namespace, Project, Repo]:
for model in [
models.Article,
models.License,
models.Namespace,
models.Project,
models.Repo,
models.Branch,
models.Robotpkg,
models.Image,
models.Tag,
models.Contributor,
models.ContributorName,
models.ContributorMail,
]:
site.register(model)
......@@ -101,7 +101,7 @@ class ContributorTable(StrippedTable):
class Meta:
model = models.Contributor
fields = ('names', 'mails')
fields = ('agreement_signed', 'names', 'mails')
class ContributorProjectTable(ContributorTable):
......
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