mirror of
https://github.com/dkmstr/openuds.git
synced 2024-12-23 17:34:17 +03:00
removec cProfile from manage.py
This commit is contained in:
parent
7853f6b9b1
commit
a068838e0e
@ -1,11 +1,10 @@
|
||||
#!/usr/bin/env python3
|
||||
import os
|
||||
import sys
|
||||
import cProfile
|
||||
|
||||
if __name__ == "__main__":
|
||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "server.settings")
|
||||
|
||||
from django.core.management import execute_from_command_line
|
||||
|
||||
cProfile.run("execute_from_command_line(sys.argv)", "/tmp/django.pyprof")
|
||||
execute_from_command_line(sys.argv)", "/tmp/django.pyprof
|
||||
|
Loading…
Reference in New Issue
Block a user