7 comments on "Some notes on starting to use Django"
If you have a Mastodon or Fediverse account, you can reply to this post to leave a comment.
Optionally, set the Mastodon server for "Reply" links:
If you have a Mastodon or Fediverse account, you can reply to this post to leave a comment.
Optionally, set the Mastodon server for "Reply" links:
@b0rk Tip: `./manage.py check` will tell you right away if there’s anything wrong with the code.
Have fun with Django!
@b0rk with additional modules you should be able to export the website content as static website
@dozymoe interesting, what have you used that for?
@b0rk it is personal blog and also a local middle school's website
for generating static website I think there are two types, one that uses cron and export the whole content every single time, and one where some static files are regenerated when there is content update
@b0rk This was really interesting to read, thanks for sharing your experience! I'm building a small app with Flask for the first time, and feeling similarly to you about some of the built-in stuff, sqlite, ORM, email, CSRF, etc.
@b0rk So great that Django now has "init_command" for DBs, making it much easier to set `journal_mode=WAL` for sqlite and really make it viable for small production uses.
Your comments on settings reminds me of a plan at some stage to "register" settings names to help with checking...
@b0rk welcome to the fabulous world of Django! :)