Did I find the right examples for you? yes no

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
Returns current project name 

        def get_project_name():
    """ Returns current project name """
    return os.path.basename(get_project_root())
        


src/c/o/confine-controller-0.10.5/controller/management/commands/setupnginx.py   confine-controller(Download)
from django.utils.six.moves import input
 
from controller.utils.paths import get_project_root, get_site_root, get_project_name
from controller.utils.system import run, check_root, get_default_celeryd_username
 
        server = Server.objects.get()
        context = {
            'project_name': get_project_name(),
            'project_root': get_project_root(),
            'site_root': get_site_root(),

src/c/o/confine-controller-0.10.5/controller/management/commands/setupapache.py   confine-controller(Download)
from django.utils.six.moves import input
 
from controller.utils.paths import get_project_root, get_site_root, get_project_name
from controller.utils.system import run, check_root, get_default_celeryd_username
 
        server = Server.objects.get()
        context = {
            'project_name': get_project_name(),
            'project_root': get_project_root(),
            'site_root': get_site_root(),