Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Acquisti
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Cosimo Antonio Volpicelli
Acquisti
Commits
dd18cbf6
Commit
dd18cbf6
authored
4 years ago
by
Cosimo Antonio Volpicelli
Browse files
Options
Downloads
Patches
Plain Diff
Upload New File
parent
d02067f8
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
manage.py
+22
-0
22 additions, 0 deletions
manage.py
with
22 additions
and
0 deletions
manage.py
0 → 100644
+
22
−
0
View file @
dd18cbf6
#!/usr/bin/env python
"""
Django
'
s command-line utility for administrative tasks.
"""
import
os
import
sys
def
main
():
"""
Run administrative tasks.
"""
os
.
environ
.
setdefault
(
'
DJANGO_SETTINGS_MODULE
'
,
'
amministrazione.settings
'
)
try
:
from
django.core.management
import
execute_from_command_line
except
ImportError
as
exc
:
raise
ImportError
(
"
Couldn
'
t import Django. Are you sure it
'
s installed and
"
"
available on your PYTHONPATH environment variable? Did you
"
"
forget to activate a virtual environment?
"
)
from
exc
execute_from_command_line
(
sys
.
argv
)
if
__name__
==
'
__main__
'
:
main
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment