Sunday, January 23, 2022

Re: Database design

Ohh you want create custom fields in forms


Take input, select, textarea tags, make them their own fields but save all of these in fields in one table with types and max values all of the attributes of tags 


Finally show then what they chosen 

On Sun, 23 Jan 2022 at 2:28 PM, Prashanth Patelc <prashanthpatelc@gmail.com> wrote:
Dear Django users,

I need some information regarding Django models, I would like to know is there any way to 
create Django models through frontend or can we create models by super admin. Kindly share any tutorials or any examples available.

Example:
we are create models in django
like below fields 
===================
class modelname(models.Model):
       id = models.PrimeryKey(auto_now_add=true)
       name =models.CharField()
       salary =models.DecimalField()

But my concern is create model name and fields like in html or super admin can do

===================
=> he will enter values in variables with appropriate field type.
 for eg., "name char type", "Salary decimal field" and so on..
=>When the user enter data into application it should directly store in database in the form of tables and rows..

Regards;
Prashanth

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAMCU6Co2CysGZ_ZHrFW5XJEregFhR6pdZS3i%2BJkLvVsvBqnUOQ%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAFwQct%2B6Gp%3D4Gm91mis9k6FUGJjt1%2B1T9xEEbs8ENcC8g9yD-w%40mail.gmail.com.

No comments:

Post a Comment