I tried using this, but it doesn't necessarily work or let me enter in two
words that get turned into a translation. Could you elaborate on how inline
would help?
On Monday, September 12, 2016 at 10:39:29 PM UTC-7, ludovic coues wrote:
>
> Have you looked at
> https://docs.djangoproject.com/en/
Thank You Mike, I understand what you mean and I've made the changes, but
it doesn't help me with my original problem, unfortunately.
On Tuesday, September 13, 2016 at 12:53:51 AM UTC-7, Mike Dewhirst wrote:
>
> On 13/09/2016 4:06 PM, Hanh Kieu wrote:
> > "So your Translation needs a FK to each
On 13/09/2016 4:06 PM, Hanh Kieu wrote:
"So your Translation needs a FK to each of two different words. "
What would this look like?
class Translation(models.Model):
#word1 belongs to one word
word1 = models.ForeignKey(Word, on_delete=models.CASCADE,
related_name="Translation_word1")
"So your Translation needs a FK to each of two different words. "
What would this look like?
On Monday, September 12, 2016 at 10:42:10 PM UTC-7, Mike Dewhirst wrote:
>
> On 13/09/2016 3:02 PM, Hanh Kieu wrote:
> > Hey guys, I'm creating a translation app that allows you to translate
> > from one
On 13/09/2016 3:02 PM, Hanh Kieu wrote:
Hey guys, I'm creating a translation app that allows you to translate
from one object to the other. My translation model has two foreign
keys that links to two words, and on the admin site I want the Admin
to be able to input two different words. The word
Have you looked at
https://docs.djangoproject.com/en/1.10/ref/contrib/admin/#inlinemodeladmin-objects
?
It's still early morning here so I haven't to it with your specific use
case but the django tutorial use this feature to create a poll and its
response in the same form.
2016-09-13 7:29 GMT+02:0
See https://github.com/django-parler/django-parler
2016-09-12 23:02 GMT-06:00 Hanh Kieu :
> Hey guys, I'm creating a translation app that allows you to translate from
> one object to the other. My translation model has two foreign keys that
> links to two words, and on the admin site I want the A
7 matches
Mail list logo