This commit is contained in:
prance 2022-01-27 19:17:26 +01:00
parent 057a7399c1
commit 829efffce7
25 changed files with 17 additions and 16 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
/Serwer_django/.idea/* /MUOR/.idea/*

View File

@ -1,5 +1,5 @@
""" """
ASGI config for Serwer_django project. ASGI config for MUOR project.
It exposes the ASGI callable as a module-level variable named ``application``. It exposes the ASGI callable as a module-level variable named ``application``.
@ -11,6 +11,6 @@ import os
from django.core.asgi import get_asgi_application from django.core.asgi import get_asgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MUOR.settings')
application = get_asgi_application() application = get_asgi_application()

View File

@ -1,5 +1,5 @@
""" """
Django settings for Serwer_django project. Django settings for MUOR project.
Generated by 'django-admin startproject' using Django 4.0.1. Generated by 'django-admin startproject' using Django 4.0.1.
@ -25,8 +25,7 @@ SECRET_KEY = 'django-insecure-t52#vo-k9ty*$@u9bf75hrkd#^o_)gadrz9$7w%xnkb-0#y!bi
# SECURITY WARNING: don't run with debug turned on in production! # SECURITY WARNING: don't run with debug turned on in production!
DEBUG = True DEBUG = True
ALLOWED_HOSTS = [] ALLOWED_HOSTS = ['127.0.0.1', 'localhost']
# Application definition # Application definition
@ -50,7 +49,7 @@ MIDDLEWARE = [
'django.middleware.clickjacking.XFrameOptionsMiddleware', 'django.middleware.clickjacking.XFrameOptionsMiddleware',
] ]
ROOT_URLCONF = 'Serwer_django.urls' ROOT_URLCONF = 'MUOR.urls'
TEMPLATES = [ TEMPLATES = [
{ {
@ -69,7 +68,7 @@ TEMPLATES = [
}, },
] ]
WSGI_APPLICATION = 'Serwer_django.wsgi.application' WSGI_APPLICATION = 'MUOR.wsgi.application'
# Database # Database

View File

@ -1,4 +1,4 @@
"""Serwer_django URL Configuration """MUOR URL Configuration
The `urlpatterns` list routes URLs to views. For more information please see: The `urlpatterns` list routes URLs to views. For more information please see:
https://docs.djangoproject.com/en/4.0/topics/http/urls/ https://docs.djangoproject.com/en/4.0/topics/http/urls/

View File

@ -1,5 +1,5 @@
""" """
WSGI config for Serwer_django project. WSGI config for MUOR project.
It exposes the WSGI callable as a module-level variable named ``application``. 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 from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MUOR.settings')
application = get_wsgi_application() application = get_wsgi_application()

View File

@ -6,7 +6,7 @@ import sys
def main(): def main():
"""Run administrative tasks.""" """Run administrative tasks."""
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'Serwer_django.settings') os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'MUOR.settings')
try: try:
from django.core.management import execute_from_command_line from django.core.management import execute_from_command_line
except ImportError as exc: except ImportError as exc:

2
MUOR/requirements.txt Normal file
View File

@ -0,0 +1,2 @@
Django
django-crispy-forms

View File

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

Before

Width:  |  Height:  |  Size: 147 KiB

After

Width:  |  Height:  |  Size: 147 KiB

View File

Before

Width:  |  Height:  |  Size: 153 KiB

After

Width:  |  Height:  |  Size: 153 KiB

View File

@ -1,9 +1,9 @@
# MultiUserOpenRefine # MultiUserOpenRefine
![MultiUserOpenRefine](Serwer_django/static/images/logo.svg) ![MultiUserOpenRefine](MUOR/static/images/logo.svg)
MultiUserOpenRefine is an extension to open-source tool that, in addition to MultiUserOpenRefine is an extension to open-source tool that, in addition to all
all the features described below, allows creating user accounts, each providing the features described below, allows creating user accounts, each providing
private workspace and leaving the convenience of running the basic OpenRefine private workspace and leaving the convenience of running the basic OpenRefine
tool on a remote server. tool on a remote server.