Initial commit from ZIP
This commit is contained in:
commit
378d4692a9
454 files changed
+40367
No files matched your search
Executable
+13
@@ -0,0 +1,13 @@
|
||||
from django.utils import timezone
|
||||
|
||||
|
||||
def get_now():
|
||||
return timezone.now()
|
||||
|
||||
|
||||
def get_current_date():
|
||||
return timezone.localtime(get_now()).date()
|
||||
|
||||
|
||||
def is_empty_set(tested_set):
|
||||
return tested_set == set()
|
||||
Reference in new issue
Block a user