mirror of
				https://gitlab.crans.org/bde/nk20
				synced 2025-10-31 15:50:03 +01:00 
			
		
		
		
	Why coding something custom when Django implements it natively?
This commit is contained in:
		| @@ -8,8 +8,11 @@ DJANGO_DB_PASSWORD=CHANGE_ME | ||||
| DJANGO_DB_PORT= | ||||
| DJANGO_SECRET_KEY=CHANGE_ME | ||||
| DJANGO_SETTINGS_MODULE=note_kfet.settings | ||||
| DOMAIN=localhost | ||||
| CONTACT_EMAIL=tresorerie.bde@localhost | ||||
| NOTE_URL=localhost | ||||
| # Config for mails. Only used in production | ||||
| NOTE_MAIL=notekfet@localhost | ||||
| WEBMASTER_MAIL=notekfet@localhost | ||||
| EMAIL_HOST=smtp.localhost | ||||
| EMAIL_PORT=443 | ||||
| EMAIL_USER=notekfet@localhost | ||||
| EMAIL_PASSWORD=CHANGE_ME | ||||
|   | ||||
							
								
								
									
										11
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										11
									
								
								README.md
									
									
									
									
									
								
							| @@ -117,9 +117,14 @@ On supposera pour la suite que vous utilisez Debian/Ubuntu sur un serveur tout n | ||||
|         DJANGO_SETTINGS_MODULE="note_kfet.settings | ||||
|         DOMAIN=localhost # note.example.com | ||||
|         CONTACT_EMAIL=tresorerie.bde@localhost | ||||
|         NOTE_URL=localhost # serveur cas note.example.com si auto-hébergé. | ||||
|         NOTE_MAIL=notekfet@localhost  # Adresse expéditrice des mails | ||||
|         WEBMASTER_MAIL=notekfet@localhost  # Adresse sur laquelle contacter les webmasters de la note | ||||
|         NOTE_URL=localhost # URL où accéder à la note | ||||
|         # Le reste n'est utile qu'en production, pour configurer l'envoi des mails | ||||
|         NOTE_MAIL=notekfet@localhost | ||||
|         EMAIL_HOST=smtp.localhost | ||||
|         EMAIL_PORT=443 | ||||
|         EMAIL_USER=notekfet@localhost | ||||
|         EMAIL_PASSWORD=CHANGE_ME | ||||
|  | ||||
|  | ||||
|     Ensuite on (re)bascule dans l'environement virtuel et on lance les migrations | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user