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``.
|
||||
|
||||
@ -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()
|
||||
@ -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
|
||||
@ -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/
|
||||
@ -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()
|
||||
@ -1,8 +1,8 @@
|
||||
# FOSSDB
|
||||
|
||||
[](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.
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
4
tox.ini
4
tox.ini
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user