django-admin-sortable/sample_project/manage.py
Brandon Taylor 5e307d687b Version bump to 1.7.1.
Added Brazilian Portugese locale.
Fixed minor css scoping issue that caused stacked template items that were sortable to not display the 'move' cusor type.
Fixed comment line in manage.py for PEP8.
2014-08-21 22:14:36 -04:00

14 lines
425 B
Python

#!/usr/bin/env python
import os
import sys
# Adds the adminsortable package from the cloned repository instead of
# site_packages
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "sample_project.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)