Skip to main content

Julia Evans

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:

konsonantenboy

@b0rk Tip: `./manage.py check` will tell you right away if there’s anything wrong with the code.
Have fun with Django!

dozymoe

@b0rk with additional modules you should be able to export the website content as static website

b0rk
Reply to dozymoe

@dozymoe interesting, what have you used that for?

dozymoe
Reply to b0rk

@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

adama

@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.

FunkyBob

@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...

anton

@b0rk welcome to the fabulous world of Django! :)