Implement basic call to brewfather to pull data.

This commit is contained in:
2024-06-13 16:15:35 -04:00
parent 3d4bc5d2f5
commit b1332dede9
4 changed files with 116 additions and 13 deletions

View File

@ -3,7 +3,7 @@ from django.urls import reverse
from django.utils.html import format_html
from django.apps import apps
from beer.models import Batch, Recipe, BatchRecipe
from beer.models import Batch, BatchRecipe, BatchRecipe
from yeast.models import Yeast
from config.extras import BREWFATHER_APP_ROOT
@ -12,10 +12,6 @@ class SampleInline(admin.TabularInline):
model = Yeast
extra = 0
@admin.register(Recipe)
class RecipeAdmin(admin.ModelAdmin):
list_display = ['name']
@admin.register(BatchRecipe)
class BatchRecipeAdmin(admin.ModelAdmin):
list_display = ['name']