Add license header to source files
This commit is contained in:
parent
270e7d6fe3
commit
67766ffff5
|
|
@ -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 import admin
|
from django.contrib import admin
|
||||||
from .models import Recipe, Version, Ingredient
|
from .models import Recipe, Version, Ingredient
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.apps import AppConfig
|
from django.apps import AppConfig
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.forms import ModelForm, ValidationError, modelformset_factory, BooleanField
|
from django.forms import ModelForm, ValidationError, modelformset_factory, BooleanField
|
||||||
from .models import Recipe, Version, Ingredient
|
from .models import Recipe, Version, Ingredient
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.db import models
|
from django.db import models
|
||||||
from django.contrib.auth.models import User
|
from django.contrib.auth.models import User
|
||||||
from django.urls import reverse
|
from django.urls import reverse
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}Recipes{% endblock %}
|
{% block title %}Recipes{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,21 @@
|
||||||
|
<!--
|
||||||
|
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.
|
||||||
|
-->
|
||||||
{% extends "base_main.html" %}
|
{% extends "base_main.html" %}
|
||||||
{% block title %}{{ recipe.title }}{% endblock %}
|
{% block title %}{{ recipe.title }}{% endblock %}
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|
|
||||||
|
|
@ -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.test import TestCase
|
from django.test import TestCase
|
||||||
|
|
||||||
# Create your tests here.
|
# Create your tests here.
|
||||||
|
|
|
||||||
|
|
@ -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.urls import path
|
from django.urls import path
|
||||||
from . import views
|
from . import views
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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.shortcuts import render, get_object_or_404, redirect
|
from django.shortcuts import render, get_object_or_404, redirect
|
||||||
from .models import Recipe, Version, Ingredient
|
from .models import Recipe, Version, Ingredient
|
||||||
from .forms import RecipeForm, VersionForm, IngredientFormSet
|
from .forms import RecipeForm, VersionForm, IngredientFormSet
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue