top | item 26659783

(no title)

jeffasinger | 4 years ago

Why not start out by using the Django Admin features?

That allows you to start with next to no code, but you can easily add a little business logic anywhere you need it eventually, and it provides a way to long term transition to a true application if the need arises.

discuss

order

throwmeout2141|4 years ago

I'm pushing ~$120 million this year through that exact model. Use what works.

Throwaway for obvious reasons.

mywacaday|4 years ago

Well done! What's the margin?

Closi|4 years ago

This is definitely the correct approach!

This will take a few minutes to implement and be significantly more stable and full-featured than any low/no-code solution.

cpach|4 years ago

Interesting! It would be awesome if anyone would want to expand on this advice (^_^)

How does one get started with Django Admin?

Would this tutorial be a good start? https://first-django-admin.readthedocs.io/

adsharma|4 years ago

I explore this topic in my blog post from a few months ago:

https://adsharma.github.io/flattools-programs/

In short, django models are written using a very low level of abstraction. I much prefer dataclasses generated from a high level IDL.

The blog post compares different IDLs and argues why flatbuffer IDL is more suitable.

In order to express queries over such models:

https://adsharma.github.io/fquery/

jnskender|4 years ago

I find answers in this format annoying. Why not? Maybe he's never heard of it. Great answer, but let's not assume he's considered it and decided not to.

cpach|4 years ago

I read as just a friendly suggestion that it’s something the OP might want to take a look at (^_^)

jeffasinger|4 years ago

I had written it this way because the OP had specifically ruled out using Django. Point taken though.

giardini|4 years ago

Colloquially "Why not?" is used to make a suggestion. That is, "Why not" means "Perhaps". One need not trace or question preceding statements or ideas nor is there any need to be annoyed.

Is English your native language?