Revert "Renamed djangomod module and state to django while enforcing absolute imports."

This reverts commit 2f4d82b295.
This commit is contained in:
Pedro Algarvio 2013-08-20 23:43:56 +01:00
parent 105a81ac27
commit d598a8074e
5 changed files with 10 additions and 12 deletions

View File

@ -41,7 +41,7 @@ Full list of builtin execution modules
debian_service
dig
disk
django
djangomod
dnsmasq
dnsutil
dpkg

View File

@ -1,6 +0,0 @@
===================
salt.modules.django
===================
.. automodule:: salt.modules.django
:members:

View File

@ -1 +1,6 @@
Please see :doc:`salt.modules.django`.
======================
salt.modules.djangomod
======================
.. automodule:: salt.modules.djangomod
:members:

View File

@ -3,12 +3,11 @@ Manage Django sites
'''
# Import python libs
from __future__ import absolute_import
import os
def __virtual__():
return True
return 'django'
def _get_django_admin(bin_env):
@ -84,7 +83,7 @@ def syncdb(settings_module,
args.append('noinput')
return command(settings_module,
'syncdb',
'syncdb',
bin_env,
pythonpath,
env,

View File

@ -8,7 +8,7 @@ ensure_in_syspath('../../')
# Import salt libs
import integration
from salt.modules import django
from salt.modules import djangomod as django
try:
from mock import MagicMock, patch