mirror of
https://github.com/jazzband/django-admin-sortable.git
synced 2026-03-17 14:30:26 +00:00
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.
14 lines
425 B
Python
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)
|