This repository has been archived by the owner on Jun 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #901 from yverdon/feature/3.2.0
Feature/3.2.0
- Loading branch information
Showing
5 changed files
with
1,424 additions
and
22 deletions.
There are no files selected for viewing
31 changes: 31 additions & 0 deletions
31
geocity/apps/accounts/migrations/0015_alter_siteprofile_integrator.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Generated by Django 4.2.4 on 2023-12-05 10:39 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("auth", "0012_alter_user_first_name_max_length"), | ||
( | ||
"accounts", | ||
"0014_alter_administrativeentity_is_single_form_submissions_and_permitdepartment_shortname", | ||
), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name="siteprofile", | ||
name="integrator", | ||
field=models.ForeignKey( | ||
default=None, | ||
limit_choices_to={"permit_department__is_integrator_admin": True}, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
related_name="site_profiles", | ||
to="auth.group", | ||
verbose_name="Groupe des administrateurs", | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 0 additions & 21 deletions
21
geocity/apps/forms/migrations/0027_form_max_submissions_bypass_enabled.py
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from django.test import TestCase | ||
from rest_framework.test import APIClient | ||
|
||
|
||
class AgendaAPITestCase(TestCase): | ||
def setUp(self): | ||
super().setUp() | ||
self.client = APIClient() | ||
|
||
|
||
# Test avec tous les status, s'affichent qu'avec les bons status | ||
# Test élément dans light et pas élément pas dans light | ||
# Test configuration, si le moindre élément manque, rien ne s'affiche | ||
# Les filtres apparaissent que s'il y a un domaine | ||
# Check order element (features, dates) | ||
# Check filters work correctly (domaines, types, dates, etc..) | ||
# Check if filters work correctly together, when we put multiple times | ||
# Check if too much filters throw an error |
Oops, something went wrong.