Justin Mayer 🐘 @[email protected]

1.8K posts

Justin Mayer 🐘 @justin@ramble.space banner
Justin Mayer 🐘 @justin@ramble.space

Justin Mayer 🐘 @[email protected]

@jmayer

Building @FortressaCom 🏰 in public • @GetPelican maintainer • Into privacy / Python / self-hosting / investing / Italy / Japan / wine • 🐘 @[email protected]

Italian Alps Katılım Temmuz 2007
684 Takip Edilen1.8K Takipçiler
Justin Mayer 🐘 @justin@ramble.space
Do you use a set of base model fields for your #Django projects? If so, what fields do you include & apply to most of your models? Here is a set of four fields that tracks created/updated date and who created/deleted the record. Anything missing or awry with this set of fields?
Justin Mayer 🐘 @justin@ramble.space tweet media
English
13
11
65
0
Justin Mayer 🐘 @justin@ramble.space
@webology Could you elaborate what you mean here? I *think* you are saying folks who post Django models on Twitter are usually also folks who the Django Admin, but I can’t tell for sure. 😊 Aside from that, anything you would change here?
English
1
0
0
0
✨ Jeff Triplett ✨
✨ Jeff Triplett ✨@webology·
@jmayer Every time I see someone post Django models on Twitter, I feel like it's a Rorschach test for who uses the Django Admin and who does not. 🤣 Otherwise, the lack of `blank=True` shines.
English
2
0
5
0
Haki
Haki@be_haki·
@jmayer I started a project ~8 years ago with an abstract base model and I regret it till this day. It's not worth it for just timestamps...
English
2
0
3
0
Justin Mayer 🐘 @justin@ramble.space
Do you use (1) the built-in authentication provided by #Django, (2) django-allauth, or (3) something else? What made you choose it over the alternatives? What don’t you like about it?
English
2
0
2
0
Justin Mayer 🐘 @justin@ramble.space
On this day 10 years ago, I made my first commit to @GetPelican. I can hardly believe it’s been a decade. Quite a milestone! 🎊 It has been an honor to have played a part in nurturing the growth of this community. Thanks to everyone who has contributed. Y’all are the best. 💗
Justin Mayer 🐘 @justin@ramble.space tweet media
English
4
3
31
0
oliver.mannion
oliver.mannion@tweeshan·
@feoh @jmayer Builds created using --enable-optimizations, which increases the build time significantly. It's enabled in the python docker images.
English
1
0
1
0
Justin Mayer 🐘 @justin@ramble.space
@JulianWasTaken I can understand that and would normally eschew another packaging tool on my system. But I’ve had such a pleasant experience with asdf that I don’t consider the extra tooling a burden. It’s been wonderful for me.
English
0
0
1
0
Justin Mayer 🐘 @justin@ramble.space
@webology That wouldn’t surprise me. I don’t use Zsh/Bash (I use Fish), but I ran into similar issues when testing asdf with Bash & virtualenvwrapper, as I mentioned here: #issuecomment-674092994" target="_blank" rel="nofollow noopener">github.com/asdf-vm/asdf/i… I think virtualenvwrapper causes issues with lots of things, to be quite honest.
English
0
0
1
0
✨ Jeff Triplett ✨
✨ Jeff Triplett ✨@webology·
@jmayer It was 3 or 4 years ago so I don't remember. I could get everything but Python to work, but it may have been related to virtualenv-wrapper or something. I'll give it another try since that's probably worked out.
English
1
0
0
0
✨ Jeff Triplett ✨
✨ Jeff Triplett ✨@webology·
@jezdez @jmayer This is no slam against asdf, but I could never quite get everything working with it, so I adopted pyenv. That said, I'll have to give it another try because it was nice having ruby and node pinned in projects.
English
1
0
0
0
oliver.mannion
oliver.mannion@tweeshan·
@jmayer Can asdf install optimised python binaries or does it need to build them from source?
English
2
0
0
0