Removed hardcoded paths, make workflow changes

I removed some hardcoded paths for logging and where the default db should be located.
I also organized deployment stuff a bit
This commit is contained in:
TinyAtoms
2020-08-15 02:40:03 -03:00
parent 1b8d81bd3c
commit 75099ca05e
7 changed files with 60 additions and 43 deletions

View File

@ -15,7 +15,7 @@ def filters(request):
unique_authors = Author.objects.only('name', "id").annotate(num_books=Count('book')).order_by('name')
unique_tags = Tag.objects.annotate(num_books=Count('book')).order_by('name')
unique_publishers = Publisher.objects.annotate(num_books=Count('book')).order_by('name')
unique_languages = Language.objects.annotate(num_books=Count('book')).order_by('rating')
unique_languages = Language.objects.annotate(num_books=Count('book'))
unique_ratings = Rating.objects.annotate(num_books=Count('book'))
unique_series = Series.objects.annotate(num_books=Count('book')).order_by('sort')