Rename the package to strojnadzor
This commit is contained in:
parent
c975ca6f19
commit
fece22b5ec
20 changed files with 17 additions and 19 deletions
4
setup.py
4
setup.py
|
|
@ -2,8 +2,6 @@
|
|||
|
||||
from setuptools import find_packages, setup
|
||||
|
||||
progname = 'pybtex'
|
||||
|
||||
setup(
|
||||
name='strojnadzor',
|
||||
version='0.0.1',
|
||||
|
|
@ -20,7 +18,7 @@ setup(
|
|||
include_package_data=True,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'strojnadzor-admin = mysite.__main__:main',
|
||||
'strojnadzor-admin = strojnadzor.__main__:main',
|
||||
],
|
||||
},
|
||||
)
|
||||
|
|
|
|||
|
|
@ -6,11 +6,11 @@ requirements_frozen.txt
|
|||
requirements_override.nix
|
||||
setup.py
|
||||
shell.nix
|
||||
src/mysite/__init__.py
|
||||
src/mysite/__main__.py
|
||||
src/mysite/settings.py
|
||||
src/mysite/urls.py
|
||||
src/mysite/wsgi.py
|
||||
src/strojnadzor/__init__.py
|
||||
src/strojnadzor/__main__.py
|
||||
src/strojnadzor/settings.py
|
||||
src/strojnadzor/urls.py
|
||||
src/strojnadzor/wsgi.py
|
||||
src/strojnadzor.egg-info/PKG-INFO
|
||||
src/strojnadzor.egg-info/SOURCES.txt
|
||||
src/strojnadzor.egg-info/dependency_links.txt
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
[console_scripts]
|
||||
strojnadzor-admin = mysite.__main__:main
|
||||
strojnadzor-admin = strojnadzor.__main__:main
|
||||
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
mysite
|
||||
strojnadzor
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import sys
|
|||
|
||||
|
||||
def main():
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mysite.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'strojnadzor.settings')
|
||||
try:
|
||||
from django.core.management import execute_from_command_line
|
||||
except ImportError as exc:
|
||||
|
|
@ -2,7 +2,7 @@ import os # isort:skip
|
|||
gettext = lambda s: s
|
||||
DATA_DIR = os.path.dirname(os.path.dirname(__file__))
|
||||
"""
|
||||
Django settings for mysite project.
|
||||
Django settings for strojnadzor project.
|
||||
|
||||
Generated by 'django-admin startproject' using Django 2.2.9.
|
||||
|
||||
|
|
@ -37,11 +37,11 @@ ALLOWED_HOSTS = []
|
|||
|
||||
|
||||
|
||||
ROOT_URLCONF = 'mysite.urls'
|
||||
ROOT_URLCONF = 'strojnadzor.urls'
|
||||
|
||||
|
||||
|
||||
WSGI_APPLICATION = 'mysite.wsgi.application'
|
||||
WSGI_APPLICATION = 'strojnadzor.wsgi.application'
|
||||
|
||||
|
||||
# Database
|
||||
|
|
@ -92,7 +92,7 @@ MEDIA_ROOT = os.path.join(DATA_DIR, 'media')
|
|||
STATIC_ROOT = os.path.join(DATA_DIR, 'static')
|
||||
|
||||
STATICFILES_DIRS = (
|
||||
os.path.join(BASE_DIR, 'mysite', 'static'),
|
||||
os.path.join(BASE_DIR, 'strojnadzor', 'static'),
|
||||
)
|
||||
SITE_ID = 1
|
||||
|
||||
|
|
@ -100,7 +100,7 @@ SITE_ID = 1
|
|||
TEMPLATES = [
|
||||
{
|
||||
'BACKEND': 'django.template.backends.django.DjangoTemplates',
|
||||
'DIRS': [os.path.join(BASE_DIR, 'mysite', 'templates'),],
|
||||
'DIRS': [os.path.join(BASE_DIR, 'strojnadzor', 'templates'),],
|
||||
'OPTIONS': {
|
||||
'context_processors': [
|
||||
'django.contrib.auth.context_processors.auth',
|
||||
|
|
@ -170,7 +170,7 @@ INSTALLED_APPS = [
|
|||
'sekizai',
|
||||
'treebeard',
|
||||
|
||||
'mysite'
|
||||
'strojnadzor'
|
||||
]
|
||||
|
||||
LANGUAGES = (
|
||||
|
|
@ -1,5 +1,5 @@
|
|||
"""
|
||||
WSGI config for mysite project.
|
||||
WSGI config for strojnadzor project.
|
||||
|
||||
It exposes the WSGI callable as a module-level variable named ``application``.
|
||||
|
||||
|
|
@ -11,6 +11,6 @@ import os
|
|||
|
||||
from django.core.wsgi import get_wsgi_application
|
||||
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mysite.settings')
|
||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'strojnadzor.settings')
|
||||
|
||||
application = get_wsgi_application()
|
||||
Loading…
Add table
Add a link
Reference in a new issue