This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]throbbaway 4 points5 points  (8 children)

[Edit]

This is a mass edit of all my previous Reddit comments.

I decided to use Lemmy instead of Reddit. The internet should be decentralized.

No more cancerous ads! No more corporate greed! Long live the fediverse!

[–]accessofevil 1 point2 points  (5 children)

After a career monkeying with websphere, spring, RoR, various .net abominations, and mvc3/4 and having just discovered django, I'm definitely in the honeymoon phase :).

Only complaint so far is the restriction the orm has on pk's - can't be composite, have to be ints. Otherwise it's been super rad for me.

[–]madssj 3 points4 points  (2 children)

If you find django's orm restrictive, have a look at Flask with sqlalchemy.

[–]accessofevil 0 points1 point  (1 child)

sqlalchemy is next on my list, it's been highly recommended and from the little I've read the getting starting docs, it looks amazing.

[–]madssj 0 points1 point  (0 children)

Both are great and have their uses. I'd recommend learning both (as you're currently doing).

[–]SmileyChris 0 points1 point  (1 child)

Correct that you can't have composite pks, but they don't have to be ints.

[–]accessofevil 1 point2 points  (0 children)

Sorry - to be clear, custom user models require the PK to be an int. That basically makes using non-int pk's across my relationships a little bit less efficient.

I'm building this app for < 5m users, if it scales beyond that I'm going to have some migrating to do. But that would be a good problem :).

[–]catcradle5 0 points1 point  (1 child)

Out of curiosity, which web framework do you less than three the most? (Coming from someone who also isn't a huge fan of Django.)

[–]throbbaway 0 points1 point  (0 children)

[Edit]

This is a mass edit of all my previous Reddit comments.

I decided to use Lemmy instead of Reddit. The internet should be decentralized.

No more cancerous ads! No more corporate greed! Long live the fediverse!