You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reading this mastodon thread https://fosstodon.org/@paulox/111783847246554164 gave me an idea
An interactive --interactive mode for the crud command, the current idea is to have the crud command able to generate an application when it doesn't exist and add a model from the CLI, but adding all these options to the command directly could result in too many options, so they could all be available in the experimental interactive mode.
basic workflow idea:
falco crud books.model --interactive
create the books app and add it to INSTALLED_APPS if it does not exists
ask for the Book model fields in CLI and add to model the the models.py file
Generate migrations
generate crud views for the model
register the urls in the root url config
The text was updated successfully, but these errors were encountered:
adding fields from the CLI, that's a bad idea idea now that I think of it, plus the current crud and start-app command already covers the main features I wanted to add with this.
Reading this mastodon thread https://fosstodon.org/@paulox/111783847246554164 gave me an idea
An interactive
--interactive
mode for thecrud
command, the current idea is to have the crud command able to generate an application when it doesn't exist and add a model from the CLI, but adding all these options to the command directly could result in too many options, so they could all be available in the experimental interactive mode.basic workflow idea:
falco crud books.model --interactive
INSTALLED_APPS
if it does not existsThe text was updated successfully, but these errors were encountered: