mirror of
https://github.com/kristoferssolo/FOSSDB.git
synced 2025-10-21 17:50:35 +00:00
Renamed project to FOSSDB
This commit is contained in:
parent
ddee0c44b1
commit
4dcf8709a2
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
ASGI config for FOSSDB_web project.
|
ASGI config for FOSSDB 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", "FOSSDB_web.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FOSSDB.settings")
|
||||||
|
|
||||||
application = get_asgi_application()
|
application = get_asgi_application()
|
||||||
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
Django settings for FOSSDB_web project.
|
Django settings for FOSSDB project.
|
||||||
|
|
||||||
Generated by "django-admin startproject" using Django 4.0.5.
|
Generated by "django-admin startproject" using Django 4.0.5.
|
||||||
|
|
||||||
@ -16,7 +16,7 @@ from pathlib import Path
|
|||||||
|
|
||||||
# Build paths inside the project like this: BASE_DIR / "subdir".
|
# Build paths inside the project like this: BASE_DIR / "subdir".
|
||||||
BASE_PATH = Path(__file__).resolve().parent.parent
|
BASE_PATH = Path(__file__).resolve().parent.parent
|
||||||
sys.path.insert(0, str(BASE_PATH.joinpath("FOSSDB_web", "apps")))
|
sys.path.insert(0, str(BASE_PATH.joinpath("FOSSDB", "apps")))
|
||||||
|
|
||||||
|
|
||||||
# SECURITY WARNING: don't run with debug turned on in production!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
@ -56,7 +56,7 @@ MIDDLEWARE = [
|
|||||||
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
"django.middleware.clickjacking.XFrameOptionsMiddleware",
|
||||||
]
|
]
|
||||||
|
|
||||||
ROOT_URLCONF = "FOSSDB_web.urls"
|
ROOT_URLCONF = "FOSSDB.urls"
|
||||||
|
|
||||||
TEMPLATES = [
|
TEMPLATES = [
|
||||||
{
|
{
|
||||||
@ -74,7 +74,7 @@ TEMPLATES = [
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
WSGI_APPLICATION = "FOSSDB_web.wsgi.application"
|
WSGI_APPLICATION = "FOSSDB.wsgi.application"
|
||||||
|
|
||||||
|
|
||||||
# Database
|
# Database
|
||||||
@ -1,4 +1,4 @@
|
|||||||
"""FOSSDB_web URL Configuration
|
"""FOSSDB 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/
|
||||||
@ -1,5 +1,5 @@
|
|||||||
"""
|
"""
|
||||||
WSGI config for FOSSDB_web project.
|
WSGI config for FOSSDB 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", "FOSSDB_web.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FOSSDB.settings")
|
||||||
|
|
||||||
application = get_wsgi_application()
|
application = get_wsgi_application()
|
||||||
@ -1,8 +1,8 @@
|
|||||||
# FOSSDB
|
# FOSSDB
|
||||||
|
|
||||||
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
[](https://www.gnu.org/licenses/gpl-3.0.en.html)
|
||||||

|

|
||||||

|

|
||||||
|
|
||||||
|
|
||||||
FOSSDB is an open-source web application that helps users find, contribute, and collaborate on free and open-source software (FOSS) projects.
|
FOSSDB is an open-source web application that helps users find, contribute, and collaborate on free and open-source software (FOSS) projects.
|
||||||
|
|||||||
@ -6,7 +6,7 @@ import sys
|
|||||||
|
|
||||||
def main():
|
def main():
|
||||||
"""Run administrative tasks."""
|
"""Run administrative tasks."""
|
||||||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FOSSDB_web.settings")
|
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "FOSSDB.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:
|
||||||
|
|||||||
@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
|
|||||||
check_untyped_defs = true
|
check_untyped_defs = true
|
||||||
disallow_any_generics = true
|
disallow_any_generics = true
|
||||||
ignore_missing_imports = true
|
ignore_missing_imports = true
|
||||||
mypy_path = "FOSSDB_web"
|
mypy_path = "FOSSDB"
|
||||||
no_implicit_optional = true
|
no_implicit_optional = true
|
||||||
no_implicit_reexport = true
|
no_implicit_reexport = true
|
||||||
show_error_codes = true
|
show_error_codes = true
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = FOSSDB-Web
|
name = FOSSDB
|
||||||
description = Free and Open-Source Software Database Website
|
description = Free and Open-Source Software Database Website
|
||||||
author = Kristofers Solo
|
author = Kristofers Solo
|
||||||
license = GPL3
|
license = GPL3
|
||||||
@ -9,7 +9,7 @@ classifiers =
|
|||||||
Programming Language :: Python :: 3.10
|
Programming Language :: Python :: 3.10
|
||||||
|
|
||||||
[options]
|
[options]
|
||||||
packages = FOSSDB_web
|
packages = FOSSDB
|
||||||
install_requires =
|
install_requires =
|
||||||
Django>=4.1
|
Django>=4.1
|
||||||
Pillow>=9.4.0
|
Pillow>=9.4.0
|
||||||
|
|||||||
4
tox.ini
4
tox.ini
@ -16,10 +16,10 @@ commands = python manage.py test
|
|||||||
[testenv:flake8]
|
[testenv:flake8]
|
||||||
basepython = python3.10
|
basepython = python3.10
|
||||||
deps = flake8
|
deps = flake8
|
||||||
commands = flake8 FOSSDB_web
|
commands = flake8 FOSSDB
|
||||||
|
|
||||||
[testenv:mypy]
|
[testenv:mypy]
|
||||||
basepython = python3.10
|
basepython = python3.10
|
||||||
deps =
|
deps =
|
||||||
-r{toxinidir}/requirements_dev.txt
|
-r{toxinidir}/requirements_dev.txt
|
||||||
commands = mypy FOSSDB_web
|
commands = mypy FOSSDB
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user