The following commit has been merged in the master branch:
commit b3c89bc0e2bb1df9b05875802cf0b822e110bb95
Author: Michal Čihař <[email protected]>
Date: Thu Oct 8 11:55:35 2009 +0200
Reorder fields to have more logical order.
diff --git a/phonedb/models.py b/phonedb/models.py
index 64e180b..0466f6b 100644
--- a/phonedb/models.py
+++ b/phonedb/models.py
@@ -75,8 +75,8 @@ class Connection(models.Model):
return '%s (%s)' % (self.name, self.medium)
class Phone(models.Model):
- name = models.CharField(max_length = 250, help_text = ugettext_lazy('Phone
name, please exclude vendor name.'))
vendor = models.ForeignKey(Vendor)
+ name = models.CharField(max_length = 250, help_text = ugettext_lazy('Phone
name, please exclude vendor name.'))
connection = models.ForeignKey(Connection, null = True, blank = True,
help_text = ugettext_lazy('Connection used in Gammu configuration.'))
features = models.ManyToManyField(Feature, help_text =
ugettext_lazy('Features which are working in Gammu.'), blank = True)
model = models.CharField(max_length = 100, blank = True, help_text =
ugettext_lazy('Model used in Gammu configuration, usually empty.'))
--
UNNAMED PROJECT
_______________________________________________
Wammu-svn mailing list
[email protected]
https://lists.cihar.com/cgi-bin/mailman/listinfo/wammu-svn