Skip to content

Commit

Permalink
Rename demo:dr27_demo to dr27demo:dr27app
Browse files Browse the repository at this point in the history
  • Loading branch information
SRJ9 committed Aug 11, 2017
1 parent acf81b2 commit 1716e38
Show file tree
Hide file tree
Showing 12 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Demo (virtualenv recommended)
$ git clone https://github.com/SRJ9/django-driver27
$ cd django-driver27 # or name of destiny folder
$ pip install -r requirements.txt
$ python demo/manage.py runserver
$ python dr27demo/manage.py runserver
$ # login /admin: admin:pass
~~~~

Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Demo (virtualenv recommended)
$ git clone https://github.com/SRJ9/django-driver27
$ cd django-driver27 # or name of destiny folder
$ pip install -r requirements.txt
$ python demo/manage.py runserver
$ python dr27demo/manage.py runserver
$ # login /admin: admin:pass
Todo
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions demo/dr27_demo/settings.py → dr27demo/dr27app/settings.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
Django settings for dr27_demo project.
Django settings for dr27app project.
Generated by 'django-admin startproject' using Django 1.10.1.
Expand Down Expand Up @@ -55,7 +55,7 @@

MIDDLEWARE_CLASSES = MIDDLEWARE

ROOT_URLCONF = 'demo.dr27_demo.urls'
ROOT_URLCONF = 'dr27demo.dr27app.urls'

TEMPLATES = [
{
Expand All @@ -73,7 +73,7 @@
},
]

WSGI_APPLICATION = 'dr27_demo.wsgi.application'
WSGI_APPLICATION = 'dr27app.wsgi.application'

# Database
# https://docs.djangoproject.com/en/1.10/ref/settings/#databases
Expand Down
2 changes: 1 addition & 1 deletion demo/dr27_demo/urls.py → dr27demo/dr27app/urls.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
"""dr27_demo URL Configuration
"""dr27app URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/1.10/topics/http/urls/
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions demo/dr27_demo/wsgi.py → dr27demo/dr27app/wsgi.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""
WSGI config for dr27_demo project.
WSGI config for dr27app project.
It exposes the WSGI callable as a module-level variable named ``application``.
Expand All @@ -23,6 +23,6 @@ def import_driver27():

import_driver27()

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dr27_demo.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dr27app.settings")

application = get_wsgi_application()
2 changes: 1 addition & 1 deletion demo/manage.py → dr27demo/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def import_driver27():

if __name__ == "__main__":
import_driver27()
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dr27_demo.settings")
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "dr27app.settings")
try:
from django.core.management import execute_from_command_line
except ImportError:
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ envlist = py{27,py,py3}-d{18,19,110,111}

[testenv]
setenv =
DJANGO_SETTINGS_MODULE = demo.dr27_demo.pytest_settings
DJANGO_SETTINGS_MODULE = dr27demo.dr27app.pytest_settings

commands =
py.test --cov=driver27
Expand Down

0 comments on commit 1716e38

Please sign in to comment.