1
0
mirror of https://gitlab.crans.org/bde/nk20 synced 2024-11-26 18:37:12 +00:00

Add member models in API

This commit is contained in:
Yohann D'ANELLO 2020-02-06 23:44:59 +01:00
parent edc428a05e
commit 8e2b0688b5
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,5 @@
# -*- mode: python; coding: utf-8 -*- # -*- mode: python; coding: utf-8 -*-
# Copyright (C) 2018-2019 by BDE ENS Paris-Saclay # Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
from django.conf.urls import url, include from django.conf.urls import url, include

View File

@ -1,3 +1,7 @@
# -*- mode: python; coding: utf-8 -*-
# Copyright (C) 2018-2020 by BDE ENS Paris-Saclay
# SPDX-License-Identifier: GPL-3.0-or-later
from .models import Profile, Club, Role, Membership from .models import Profile, Club, Role, Membership
from rest_framework import serializers, viewsets from rest_framework import serializers, viewsets