mirror of
				https://gitlab.crans.org/bde/nk20-scripts
				synced 2025-10-31 07:09:52 +01:00 
			
		
		
		
	Update extract_ml_registrations.py
This commit is contained in:
		| @@ -1,4 +1,4 @@ | |||||||
| # Copyright (C) 2018-2021 by BDE ENS Paris-Saclay | # Copyright (C) 2018-2024 by BDE ENS Paris-Saclay | ||||||
| # SPDX-License-Identifier: GPL-3.0-or-later | # SPDX-License-Identifier: GPL-3.0-or-later | ||||||
|  |  | ||||||
| from datetime import date | from datetime import date | ||||||
| @@ -57,7 +57,7 @@ class Command(BaseCommand): | |||||||
|             for user in User.objects.filter(profile__ml_art_registration=True).all(): |             for user in User.objects.filter(profile__ml_art_registration=True).all(): | ||||||
|                 self.stdout.write(user.email) |                 self.stdout.write(user.email) | ||||||
|                 nb+=1 |                 nb+=1 | ||||||
|             self.stdout.write(nb) |             self.stdout.write(str(nb)) | ||||||
|             return |             return | ||||||
|  |  | ||||||
|         if options["type"] == "sport": |         if options["type"] == "sport": | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user