From fb4bd446d4c49f54f382eaeee9b583e618f113f1 Mon Sep 17 00:00:00 2001 From: Benjamin Date: Sun, 19 Mar 2023 15:56:08 +0100 Subject: [PATCH] Add license header to source files --- stadlbauer/asgi.py | 18 ++++++++++++++++++ stadlbauer/forms.py | 19 +++++++++++++++++++ stadlbauer/settings.py | 18 ++++++++++++++++++ stadlbauer/urls.py | 21 ++++++++++++++++++++- stadlbauer/views.py | 19 +++++++++++++++++++ stadlbauer/wsgi.py | 18 ++++++++++++++++++ templates/base.html | 18 ++++++++++++++++++ templates/base_main.html | 18 ++++++++++++++++++ templates/index.html | 18 ++++++++++++++++++ templates/registration/login.html | 18 ++++++++++++++++++ templates/registration/new-user.html | 18 ++++++++++++++++++ templates/registration/profile.html | 18 ++++++++++++++++++ 12 files changed, 220 insertions(+), 1 deletion(-) 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..32fd0af 100644 --- a/templates/base.html +++ b/templates/base.html @@ -1,3 +1,21 @@ +{% comment %} + 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. +{% endcomment %} diff --git a/templates/base_main.html b/templates/base_main.html index 65bbc33..792d6d5 100644 --- a/templates/base_main.html +++ b/templates/base_main.html @@ -1,4 +1,22 @@ {% extends "base.html" %} +{% comment %} + 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. +{% endcomment %} {% block head %} {% load static %} diff --git a/templates/index.html b/templates/index.html index f832f16..582347c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,4 +1,22 @@ {% extends "base_main.html" %} +{% comment %} + 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. +{% endcomment %} {% block title %}Barn{% endblock %} {% block main %}

Barn

diff --git a/templates/registration/login.html b/templates/registration/login.html index af8bf75..a7d7477 100644 --- a/templates/registration/login.html +++ b/templates/registration/login.html @@ -1,4 +1,22 @@ {% extends "base_main.html" %} +{% comment %} + 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. +{% endcomment %} {% block main %} diff --git a/templates/registration/new-user.html b/templates/registration/new-user.html index e17b7b8..1329b62 100644 --- a/templates/registration/new-user.html +++ b/templates/registration/new-user.html @@ -1,4 +1,22 @@ {% extends "base_main.html" %} +{% comment %} + 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. +{% endcomment %} {% block main %} {% if form.errors %} diff --git a/templates/registration/profile.html b/templates/registration/profile.html index 81df905..81a7a98 100644 --- a/templates/registration/profile.html +++ b/templates/registration/profile.html @@ -1,4 +1,22 @@ {% extends "base_main.html" %} +{% comment %} + 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. +{% endcomment %} {% block title %}Profile {{ user.username }}{% endblock %} {% block main %}

Profile {{ user.username }}