top | item 39425460

(no title)

monkey26 | 2 years ago

I don't want to hijack this thread, but what does Django do?

I ask, cause I have a service that is a Rust backend (kind of specialized in what it does) + a SolidJS frontend... But I've seen a potential area for growth, I didn't imagine at first, and that would be stuff like user profiles, authentication, and managing stuff. And I really don't want to cut all this more "CRUD" like stuff in Rust and an SPA. I don't know Ruby, but have done some rather large Python projects in the past, just never ventured into Django land.

discuss

order

legostormtroopr|2 years ago

Out of the box Django offers: authentication, database management and migration, a web server, a template engine, URL routing, and probably more - pretty much everything an app needs in a single framework.

ensignavenger|2 years ago

Django also has some GIS tools builtin if you need to do anything with geographic data. It has a solid library of error handling, messages, and web security tooling you will probably need, and, the third party ecosystem, both Djano specific modules and the wider Python ecosystem are very powerful.

halfcat|2 years ago

Django has all that built in: auth, users, CRUD.

It comes with a built in admin portal that lets you work with all your data in list views and detail views, with sorting, filtering, and searching. For a lot of scenarios you can get away with just using the admin portal (like we have accounting people log in there and import CSV files, etc).

It’s great for managing a data model, setting up a database schema and managing the migrations for you. And once that is setup it’s pretty trivial to enable API endpoints to do all the CRUD-style stuff, if needed.

eszed|2 years ago

Nothing against Django, just suggesting another option: Laravel offers the same "out of the box" tools that Django does. Django is built with Python, Laravel with PHP. Someone will be along in a moment to start the flame wars about why one or the other or both totally suck, but for your purposes it's most important to choose the language and approach that will be most comfortable to you.

TheCapeGreek|2 years ago

Yeah, these days I'd put Laravel and Rails pretty toe-to-toe on features and productivity. Django is good but it's not in the same tier, imo.

justech|2 years ago

Also PHP has Laravel Spark[0]. They basically bootstrapped a SaaS but for a price. Not sure if it's worth it, but it's from the guys who made Laravel, and everyone only has good things to say about that so...

[0] https://spark.laravel.com