Create a package for ease setting django project settings.
Project description
===============================
Django AutoConf
===============================
.. image:: https://badge.fury.io/py/djangoautoconf.png
:target: http://badge.fury.io/py/djangoautoconf
.. image:: https://travis-ci.org/weijia/djangoautoconf.png?branch=master
:target: https://travis-ci.org/weijia/djangoautoconf
.. image:: https://pypip.in/d/djangoautoconf/badge.png
:target: https://crate.io/packages/djangoautoconf?version=latest
Create a package for ease setting django project settings.
* Free software: BSD license
* Documentation: http://djangoautoconf.rtfd.org.
Installation
------------
::
python setup.py install
Create Poject
------------
::
Create manage.py
Added the following:
#!/usr/bin/env python
import logging
import os
import sys
from ufs_tools import get_sibling_folder
from ufs_tools.folder_tool import get_file_folder
from ufs_tools.libtool import include_all_direct_sub_folders_in_sibling
# include_all_direct_sub_folders_in_sibling(__file__, "server_base_packages")
if __name__ == "__main__":
# logging.basicConfig(level=logging.DEBUG)
logging.getLogger('chronograph.models').setLevel(level=logging.DEBUG)
from djangoautoconf import DjangoAutoConf
# Additional settings can be made
# os.environ["EXTRA_SETTING_FOLDER"] = get_sibling_folder(__file__, "local/local_postgresql_settings")
# os.environ["MANAGE_PY"] = "manage_with.py"
DjangoAutoConf.set_settings_env()
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Features
--------
::
r = AdminRegister()
r.register(UserDefinedModel)
Default behavior
--------
* When "/" is not defined, redirect to all_login app if it is added to INSTALLED_APPS
TODO
--------
History
-------
0.1.0 (2013-08-11)
++++++++++++++++++
* First release on PyPI.
Django AutoConf
===============================
.. image:: https://badge.fury.io/py/djangoautoconf.png
:target: http://badge.fury.io/py/djangoautoconf
.. image:: https://travis-ci.org/weijia/djangoautoconf.png?branch=master
:target: https://travis-ci.org/weijia/djangoautoconf
.. image:: https://pypip.in/d/djangoautoconf/badge.png
:target: https://crate.io/packages/djangoautoconf?version=latest
Create a package for ease setting django project settings.
* Free software: BSD license
* Documentation: http://djangoautoconf.rtfd.org.
Installation
------------
::
python setup.py install
Create Poject
------------
::
Create manage.py
Added the following:
#!/usr/bin/env python
import logging
import os
import sys
from ufs_tools import get_sibling_folder
from ufs_tools.folder_tool import get_file_folder
from ufs_tools.libtool import include_all_direct_sub_folders_in_sibling
# include_all_direct_sub_folders_in_sibling(__file__, "server_base_packages")
if __name__ == "__main__":
# logging.basicConfig(level=logging.DEBUG)
logging.getLogger('chronograph.models').setLevel(level=logging.DEBUG)
from djangoautoconf import DjangoAutoConf
# Additional settings can be made
# os.environ["EXTRA_SETTING_FOLDER"] = get_sibling_folder(__file__, "local/local_postgresql_settings")
# os.environ["MANAGE_PY"] = "manage_with.py"
DjangoAutoConf.set_settings_env()
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)
Features
--------
::
r = AdminRegister()
r.register(UserDefinedModel)
Default behavior
--------
* When "/" is not defined, redirect to all_login app if it is added to INSTALLED_APPS
TODO
--------
History
-------
0.1.0 (2013-08-11)
++++++++++++++++++
* First release on PyPI.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djangoautoconf-0.6.37.tar.gz
(51.9 kB
view details)
Built Distribution
File details
Details for the file djangoautoconf-0.6.37.tar.gz
.
File metadata
- Download URL: djangoautoconf-0.6.37.tar.gz
- Upload date:
- Size: 51.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f2cedcf5c8018f8cbe4f33c0b55ec5c17b2fa5e9bf2bb39e52955b26bcde0ee3 |
|
MD5 | 37da62d910fee48456ba42fffaf4011b |
|
BLAKE2b-256 | c18cd36689dab93257ab9fe79902c7cb6ee12246d5785e8e0dea3698ff2a040a |
File details
Details for the file djangoautoconf-0.6.37-py2-none-any.whl
.
File metadata
- Download URL: djangoautoconf-0.6.37-py2-none-any.whl
- Upload date:
- Size: 96.9 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e90cb4afd244d2ffcb919c5408976d11abe3c963fe0959d6339b687fb1a2c4ce |
|
MD5 | fe0eeccccdd6c40c83ebd8a6ca65e395 |
|
BLAKE2b-256 | 98f9b19e69812feb89050d00fa4f0a7200dbc39af2921daee4010e6b5b3c795a |