Skip to content

Instantly share code, notes, and snippets.

View PaulSebalu's full-sized avatar
🎯

Paul Sebalu PaulSebalu

🎯
  • Kampala
  • 10:02 (UTC +03:00)
View GitHub Profile
# Link to repo: https://github.com/PaulSebalu/bookstore
# using the interactive shell: "python manage.py shell"
from store.models import Book
books = Book.objects.select_related('author').all()
for book in books:
f"\"{book.title}\". {book.author.name}"
////////////////////////////////////////////////////////////////////////////////
// Create a directory called "pages" next to
// this file, put markdown files in there, and
// then run:
//
// ```
// $ node build.mjs
// ```
//
// Then deploy the "build" directory somewhere.