Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/d/j/django-forge-0.5.1/forge/settings.py   django-forge(Download)
import os
 
from .constants import FORGE_HOME, FORGE_ROOT, RELEASES_URL
 
DEBUG = bool(os.environ.get('FORGE_DEBUG', False))
 
MEDIA_ROOT = os.path.join(FORGE_ROOT, 'releases')
MEDIA_URL = RELEASES_URL
STATIC_URL = '/static/'
 

src/d/j/django-forge-HEAD/forge/settings.py   django-forge(Download)
import os
 
from .constants import FORGE_HOME, FORGE_ROOT, RELEASES_URL
 
DEBUG = bool(os.environ.get('FORGE_DEBUG', False))
 
MEDIA_ROOT = os.path.join(FORGE_ROOT, 'releases')
MEDIA_URL = RELEASES_URL
STATIC_URL = '/static/'