diff --git a/stadlbauer/asgi.py b/stadlbauer/asgi.py index 5c18112..0d392fc 100644 --- a/stadlbauer/asgi.py +++ b/stadlbauer/asgi.py @@ -1,4 +1,22 @@ """ +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. + + ASGI config for stadlbauer project. It exposes the ASGI callable as a module-level variable named ``application``. diff --git a/stadlbauer/forms.py b/stadlbauer/forms.py index 5bf0711..13f4200 100644 --- a/stadlbauer/forms.py +++ b/stadlbauer/forms.py @@ -1,3 +1,22 @@ +""" +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. +""" + from django.contrib.auth.forms import UserCreationForm from django.contrib.auth.models import User diff --git a/stadlbauer/settings.py b/stadlbauer/settings.py index c2a8679..3298df5 100644 --- a/stadlbauer/settings.py +++ b/stadlbauer/settings.py @@ -1,4 +1,22 @@ """ +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. + + Django settings for stadlbauer project. Generated by 'django-admin startproject' using Django 4.1.4. diff --git a/stadlbauer/urls.py b/stadlbauer/urls.py index 3f80979..62c9e6b 100644 --- a/stadlbauer/urls.py +++ b/stadlbauer/urls.py @@ -1,4 +1,23 @@ -"""stadlbauer URL Configuration +""" +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. + + +stadlbauer URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/4.1/topics/http/urls/ diff --git a/stadlbauer/views.py b/stadlbauer/views.py index 2aeac7b..1e53c42 100644 --- a/stadlbauer/views.py +++ b/stadlbauer/views.py @@ -1,3 +1,22 @@ +""" +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. +""" + from .forms import SignupForm from django.shortcuts import render from django.urls import reverse diff --git a/stadlbauer/wsgi.py b/stadlbauer/wsgi.py index f9004d4..986afea 100644 --- a/stadlbauer/wsgi.py +++ b/stadlbauer/wsgi.py @@ -1,4 +1,22 @@ """ +Barn Web App - A collection of web-apps for my family's personal use, +including a recipe database. +Copyright © 2023 Benjamin Stadlbauer + +This program is free software: you can redistribute it and/or modify it +under the terms of the GNU Affero General Public License as published by +the Free Software Foundation, either version 3 of the License, or (at +your option) any later version. + +This program is distributed in the hope that it will be useful, but +WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero +General Public License for more details. + +This program comes with a copy of the GNU Affero General Public License +file at the root of this project. + + WSGI config for stadlbauer project. It exposes the WSGI callable as a module-level variable named ``application``. diff --git a/templates/base.html b/templates/base.html index c314b8b..bb0239d 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,3 +1,21 @@ + diff --git a/templates/base_main.html b/templates/base_main.html index 65bbc33..bc97ab8 100644 --- a/templates/base_main.html +++ b/templates/base_main.html @@ -1,3 +1,21 @@ + {% extends "base.html" %} {% block head %} diff --git a/templates/index.html b/templates/index.html index f832f16..e3e44d2 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,3 +1,21 @@ + {% extends "base_main.html" %} {% block title %}Barn{% endblock %} {% block main %} diff --git a/templates/registration/login.html b/templates/registration/login.html index af8bf75..8be812a 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,3 +1,21 @@ + {% extends "base_main.html" %} {% block main %} diff --git a/templates/registration/new-user.html b/templates/registration/new-user.html index e17b7b8..e6d6041 100644 --- a/templates/registration/new-user.html +++ b/templates/registration/new-user.html @@ -1,3 +1,21 @@ + {% extends "base_main.html" %} {% block main %} diff --git a/templates/registration/profile.html b/templates/registration/profile.html index 81df905..5511768 100644 --- a/templates/registration/profile.html +++ b/templates/registration/profile.html @@ -1,3 +1,21 @@ + {% extends "base_main.html" %} {% block title %}Profile {{ user.username }}{% endblock %} {% block main %}