mirror of
https://github.com/encode/django-rest-framework.git
synced 2024-11-11 04:07:39 +03:00
Added epio configuration.
This commit is contained in:
parent
ee4cba9081
commit
500b0dcddc
1
examples/.epio-app
Normal file
1
examples/.epio-app
Normal file
|
@ -0,0 +1 @@
|
|||
rest
|
61
examples/epio.ini
Normal file
61
examples/epio.ini
Normal file
|
@ -0,0 +1,61 @@
|
|||
# This is an example epio.ini file.
|
||||
# We suggest you edit it to fit your application's needs.
|
||||
# Documentation for the options is available at www.ep.io/docs/epioini/
|
||||
|
||||
[wsgi]
|
||||
|
||||
# Location of your requirements file
|
||||
requirements = requirements-epio.txt
|
||||
|
||||
|
||||
[static]
|
||||
|
||||
# Serve the static directory directly as /static
|
||||
/static/admin = ../shortcuts/django-admin-media/
|
||||
|
||||
|
||||
[services]
|
||||
|
||||
# Uncomment to enable the PostgreSQL service.
|
||||
postgres = true
|
||||
|
||||
# Uncomment to enable the Redis service
|
||||
# redis = true
|
||||
|
||||
|
||||
[checkout]
|
||||
|
||||
# By default your code is put in a directory called 'app'.
|
||||
# You can change that here.
|
||||
# directory_name = my_project
|
||||
|
||||
|
||||
[env]
|
||||
|
||||
# Set any additional environment variables here. For example:
|
||||
# IN_PRODUCTION = true
|
||||
|
||||
|
||||
[symlinks]
|
||||
|
||||
# Any symlinks you'd like to add. As an example, link the symlink 'config.py'
|
||||
# to the real file 'configs/epio.py':
|
||||
# config.py = configs/epio.py
|
||||
|
||||
|
||||
# #### If you're using Django, you'll want to uncomment some or all of these lines ####
|
||||
# [django]
|
||||
# # Path to your project root, relative to this directory.
|
||||
# base = .
|
||||
#
|
||||
# [static]
|
||||
# Serve the admin media
|
||||
# # Django 1.3
|
||||
# /static/admin = ../shortcuts/django-admin-media/
|
||||
# # Django 1.2 and below
|
||||
# /media = ../shortcuts/django-admin-media/
|
||||
#
|
||||
# [env]
|
||||
# # Use a different settings module for ep.io (i.e. with DEBUG=False)
|
||||
# DJANGO_SETTINGS_MODULE = production_settings
|
||||
|
3
examples/requirements-epio.txt
Normal file
3
examples/requirements-epio.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
Pygments==1.4
|
||||
Markdown==2.0.3
|
||||
djangorestframework
|
|
@ -61,7 +61,7 @@ MEDIA_URL = ''
|
|||
# but it does require the admin media be served. Django's test server will do
|
||||
# this for you automatically, but in production you'll want to make sure you
|
||||
# serve the admin media from somewhere.
|
||||
ADMIN_MEDIA_PREFIX = '/admin-media/'
|
||||
ADMIN_MEDIA_PREFIX = '/static/admin'
|
||||
|
||||
# Make this unique, and don't share it with anybody.
|
||||
SECRET_KEY = 't&9mru2_k$t8e2-9uq-wu2a1)9v*us&j3i#lsqkt(lbx*vh1cu'
|
||||
|
@ -118,4 +118,4 @@ if os.environ.get('HUDSON_URL', None):
|
|||
TEST_RUNNER = 'xmlrunner.extra.djangotestrunner.XMLTestRunner'
|
||||
TEST_OUTPUT_VERBOSE = True
|
||||
TEST_OUTPUT_DESCRIPTIONS = True
|
||||
TEST_OUTPUT_DIR = 'xmlrunner'
|
||||
TEST_OUTPUT_DIR = 'xmlrunner'
|
||||
|
|
Loading…
Reference in New Issue
Block a user