Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: Add reimbursment #115

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@
'event',
'event.messages',
'event.meals',
'reimbursment',
]

MIDDLEWARE = [
Expand Down
3 changes: 3 additions & 0 deletions app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@
if is_installed("friends"):
urlpatterns.append(path('friends/', include('friends.urls')))

if is_installed("reimbursment"):
urlpatterns.append(path('reimbursment/', include('reimbursment.urls')))

# Error handlers
handler404 = "app.views.handler_error_404"
handler500 = "app.views.handler_error_500"
Expand Down
Empty file added reimbursment/__init__.py
Empty file.
3 changes: 3 additions & 0 deletions reimbursment/admin.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.contrib import admin

# Register your models here.
6 changes: 6 additions & 0 deletions reimbursment/apps.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.apps import AppConfig


class ReimbursmentConfig(AppConfig):
default_auto_field = 'django.db.models.BigAutoField'
name = 'reimbursment'
Empty file.
3 changes: 3 additions & 0 deletions reimbursment/models.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.db import models

# Create your models here.
6 changes: 6 additions & 0 deletions reimbursment/urls.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from django.urls import path

from reimbursment import views

urlpatterns = [
]
3 changes: 3 additions & 0 deletions reimbursment/views.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
from django.shortcuts import render

# Create your views here.
Loading