Tutorial¶
This tutorial walks you through building a complete blog application with Buraq — models, views, forms, templates, and authentication.
What you'll build: A blog with posts, categories, comments, and user authentication.
Parts¶
- Models — Define your data with Buraq ORM
- Views & URLs — Handle requests with FBVs and CBVs
- Forms — Validate user input with Form and ModelForm
- Templates — Render HTML with Jinja2
- Authentication — Protect views with JWT auth
Prerequisites¶
- Python 3.11+
- Buraq installed (see Installation)
- Basic Python and async/await knowledge
Setup¶
Add "posts" to INSTALLED_APPS in config/settings.py.