Skip to content
This repository was archived by the owner on Mar 26, 2021. It is now read-only.

Commit 4b43e83

Browse files
author
MoiTux
committed
Add some explanation on how "translation" works
1 parent 4492979 commit 4b43e83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

baobab/translate/models.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ def __unicode__(self):
2020
return self.name
2121

2222

23+
# XXX entris in this table are auto-genered by the admin
24+
# see: baobab.backoffice.adminform.EventForm.save
25+
# XXX this should probably be replace with a `django.dispatch.receiver`
2326
class EventData(models.Model):
2427

2528
event = models.ForeignKey('backoffice.Event', related_name='eventdatas')
@@ -34,6 +37,9 @@ class Meta:
3437
unique_together = ('event', 'lang')
3538

3639

40+
# XXX entris in this table are auto-genered by the admin
41+
# see: baobab.backoffice.adminform.EventLogForm.save
42+
# XXX this should probably be replace with a `django.dispatch.receiver`
3743
class EventLogData(models.Model):
3844

3945
eventlog = models.ForeignKey('backoffice.EventLog',

0 commit comments

Comments
 (0)