Renamed project to FOSSDB

This commit is contained in:
Kristofers Solo 2023-04-22 13:47:59 +03:00
parent ddee0c44b1
commit 4dcf8709a2
38 changed files with 17 additions and 17 deletions

View File

@ -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``.
@ -11,6 +11,6 @@ import os
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()

View File

@ -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.
@ -16,7 +16,7 @@ from pathlib import Path
# Build paths inside the project like this: BASE_DIR / "subdir".
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!
@ -56,7 +56,7 @@ MIDDLEWARE = [
"django.middleware.clickjacking.XFrameOptionsMiddleware",
]
ROOT_URLCONF = "FOSSDB_web.urls"
ROOT_URLCONF = "FOSSDB.urls"
TEMPLATES = [
{
@ -74,7 +74,7 @@ TEMPLATES = [
},
]
WSGI_APPLICATION = "FOSSDB_web.wsgi.application"
WSGI_APPLICATION = "FOSSDB.wsgi.application"
# Database

View File

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

View File

@ -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``.
@ -11,6 +11,6 @@ import os
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()

View File

@ -1,8 +1,8 @@
# FOSSDB
[![License](https://img.shields.io/badge/license-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0.en.html)
![Tests](https://github.com/kristoferssolo/FOSSDB-Web/actions/workflows/test.yml/badge.svg)
![Lint](https://github.com/kristoferssolo/FOSSDB-Web/actions/workflows/lint.yml/badge.svg)
![Tests](https://github.com/kristoferssolo/FOSSDB/actions/workflows/test.yml/badge.svg)
![Lint](https://github.com/kristoferssolo/FOSSDB/actions/workflows/lint.yml/badge.svg)
FOSSDB is an open-source web application that helps users find, contribute, and collaborate on free and open-source software (FOSS) projects.

View File

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

View File

@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta"
check_untyped_defs = true
disallow_any_generics = true
ignore_missing_imports = true
mypy_path = "FOSSDB_web"
mypy_path = "FOSSDB"
no_implicit_optional = true
no_implicit_reexport = true
show_error_codes = true

View File

@ -1,5 +1,5 @@
[metadata]
name = FOSSDB-Web
name = FOSSDB
description = Free and Open-Source Software Database Website
author = Kristofers Solo
license = GPL3
@ -9,7 +9,7 @@ classifiers =
Programming Language :: Python :: 3.10
[options]
packages = FOSSDB_web
packages = FOSSDB
install_requires =
Django>=4.1
Pillow>=9.4.0

View File

@ -16,10 +16,10 @@ commands = python manage.py test
[testenv:flake8]
basepython = python3.10
deps = flake8
commands = flake8 FOSSDB_web
commands = flake8 FOSSDB
[testenv:mypy]
basepython = python3.10
deps =
-r{toxinidir}/requirements_dev.txt
commands = mypy FOSSDB_web
commands = mypy FOSSDB