mirror of
				https://gitlab.com/animath/si/plateforme-corres2math.git
				synced 2025-11-04 16:42:33 +01:00 
			
		
		
		
	Create new applications
This commit is contained in:
		
							
								
								
									
										0
									
								
								apps/participation/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								apps/participation/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								apps/participation/admin.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/participation/admin.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.contrib import admin
 | 
			
		||||
 | 
			
		||||
# Register your models here.
 | 
			
		||||
							
								
								
									
										5
									
								
								apps/participation/apps.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								apps/participation/apps.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
from django.apps import AppConfig
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class ParticipationConfig(AppConfig):
 | 
			
		||||
    name = 'participation'
 | 
			
		||||
							
								
								
									
										0
									
								
								apps/participation/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								apps/participation/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								apps/participation/models.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/participation/models.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.db import models
 | 
			
		||||
 | 
			
		||||
# Create your models here.
 | 
			
		||||
							
								
								
									
										3
									
								
								apps/participation/tests.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/participation/tests.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.test import TestCase
 | 
			
		||||
 | 
			
		||||
# Create your tests here.
 | 
			
		||||
							
								
								
									
										3
									
								
								apps/participation/views.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/participation/views.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.shortcuts import render
 | 
			
		||||
 | 
			
		||||
# Create your views here.
 | 
			
		||||
							
								
								
									
										0
									
								
								apps/registration/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								apps/registration/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								apps/registration/admin.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/registration/admin.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.contrib import admin
 | 
			
		||||
 | 
			
		||||
# Register your models here.
 | 
			
		||||
							
								
								
									
										5
									
								
								apps/registration/apps.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								apps/registration/apps.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,5 @@
 | 
			
		||||
from django.apps import AppConfig
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class RegistrationConfig(AppConfig):
 | 
			
		||||
    name = 'registration'
 | 
			
		||||
							
								
								
									
										0
									
								
								apps/registration/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										0
									
								
								apps/registration/migrations/__init__.py
									
									
									
									
									
										Normal file
									
								
							
							
								
								
									
										3
									
								
								apps/registration/models.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/registration/models.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.db import models
 | 
			
		||||
 | 
			
		||||
# Create your models here.
 | 
			
		||||
							
								
								
									
										3
									
								
								apps/registration/tests.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/registration/tests.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.test import TestCase
 | 
			
		||||
 | 
			
		||||
# Create your tests here.
 | 
			
		||||
							
								
								
									
										3
									
								
								apps/registration/views.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								apps/registration/views.py
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
from django.shortcuts import render
 | 
			
		||||
 | 
			
		||||
# Create your views here.
 | 
			
		||||
@@ -58,6 +58,9 @@ INSTALLED_APPS = [
 | 
			
		||||
    'polymorphic',
 | 
			
		||||
    'rest_framework',
 | 
			
		||||
    'rest_framework.authtoken',
 | 
			
		||||
 | 
			
		||||
    'registration',
 | 
			
		||||
    'participation',
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
MIDDLEWARE = [
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user