Hi!
Am Sonntag, 18. Juni 2017 10:23:26 UTC+2 schrieb softie...@gmail.com:
Yes, wrong position in the thread, but I hope to reach people looking not that deep in my thread.
Got the example running now (with things like
instead of that User thing.
But it's still the question what my models should look like that
1. I can't replace that array(?, see above) with like a table from the database (created via models).
2. that the database relationships are the way it should be for that task.
Thank you for any help!
-- Am Sonntag, 18. Juni 2017 10:23:26 UTC+2 schrieb softie...@gmail.com:
Yes, wrong position in the thread, but I hope to reach people looking not that deep in my thread.
Hi!
I think I found something. But it seems to be an very old example, couldn't find forms.py (and no word about where to create it) -> http://blog.e-shell.org/130
So if anybody here has an idea -> thank you!
PS: "dynamic choices" seem to be the keywords here.
Got the example running now (with things like
TITLE_CHOICES = ( ('MR', 'Mr.'), ('MRS', 'Mrs.'), ('MS', 'Ms.'), )
instead of that User thing.
But it's still the question what my models should look like that
1. I can't replace that array(?, see above) with like a table from the database (created via models).
2. that the database relationships are the way it should be for that task.
Thank you for any help!
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4795e60a-dce9-4af5-9d33-2d91dffaf268%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment