I am creating a chemistry database using django's admin interface in
Sqlite3.
The database has a simulations table which has a many to many
relationship with the compounds table.
Each simulation needs to start off with a fixed number of compounds
that it has and each simulation can have 1 or more compounds. suppose
a simulation has water molecule and hcl molecule, it must start off
with 25 water molecules and 10 hcl molecules. Is there anyway in
Django to define this within the database? Please let me know if the
question is not clear and I will post my models here.
Thank you
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
No comments:
Post a Comment