Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6929299
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:17:57+00:00 2026-05-27T11:17:57+00:00

are there any generic CRUD admin for Flask based on WTForms? Currently we are

  • 0

are there any generic CRUD admin for Flask based on WTForms?

Currently we are building a hybrid backend system where admin must CRUD lots of data from various source, MongoDB, Redis, ini file, ENVIRON, etc. Writing specific admin view for each of them seems a waste of time, but all Flask admin or WTForms admin solutions are based on some kind of fixed ORM, e.g. MongoEngine, AppEngine Datastore, SQLAchemy, etc.

Are there any more generic ones which allows ORM-agnostic admin to be automatically generated?

I need it to provide the following functions

  • list view for a group of items, support inline editing or batch actions would be great!
  • edit view for one specific item for add/edit

Just define some Form model, implement a iteration method and auto generate a full fledged admin.

Are there any reusable OSS projects like this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:17:58+00:00Added an answer on May 27, 2026 at 11:17 am

    The short answer is no, as far as I know, there is no auto-generating ORM for redis or MongoDB.

    Now for a more detailed explanation:

    The reason why there exists CRUD generation for ‘fixed’ ORM’s and not datastores based in free-form records is simple: the very nature of free-form records makes it difficult to create a schema.

    Let’s look at redis for example, say each record was a hash e.g. key ‘user-{id}’ with fields username, age, and registered_on. Now, what happens when you add a new field ‘location’ to the users? Well, redis doesn’t care, you just add the field to any records as they’re modified, no need to go back and add the field to every hash. Simple enough.

    But now, you have your CRUD magic, which tries to figure out what fields to show. Say you decide looking at the first record to see what fields exist works, but what if user-1 is missing that new ‘location’ field? Now the CRUD won’t generate it.

    Furthermore, because redis stores every value as a string, a CRUD wouldn’t know that ‘age’ for example only accepts an integer and registered_on is actually an ISO-formatted date string.

    Oh, but you say, MongoDB has datatypes! surely, assuming we ignore the different fields per record allowance, pretending we have the same set of fields per record, it’s possible to do some automagic CRUD there? Well yes, you will be able to do a bit better than with Redis, because there’s e.g. a date type and integer type, but there are some discrepancies even then. Say you have a string value. How do you know if that string value requires a multi-line input (textarea) or single-line(input type=text), or is even only available from a drop-down select of a few choices?

    Because of this, the only way to really do a theoretical CRUD for many free-form types would be if you defined in advance the ‘schema’ (via a Form definition maybe?) for each record, and maybe implemented some sort of interface class/contract that allowed a CRUD tool to list records to retrieve objects, to retrieve a single record by key, to update/create a record, and to delete a single record by key.

    Such a theoretical ‘pluggable’ CRUD tool would be really cool, and I’d love to see someone take it on.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

is there any possibility to have a generic List<System.Type> and to have a constraint
Are there any more generic tools that can compile or basically merge multiple PHP
Is there any shorthand way of defining and using generic definitions without having to
Is there any (technical) reason that C# requires all generic type parameters to be
Is there any way to store the generic parameter type passed in at construction
Is there any way to determine if an object is a generic list? I'm
Is there any name for the following DB table design: Basically we have generic
Let's say I have entity $e . Is there any generic way to store
is there any generic way to get the role which is required for some
Anyone has experience measuring glibc regexp functions? Are there any generic tests I need

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.