mango r239 - in branches/django: . mango



Author: ovitters
Date: Mon Jun 23 16:26:38 2008
New Revision: 239
URL: http://svn.gnome.org/viewvc/mango?rev=239&view=rev

Log:
	* mango/models.py (AccountsForm: Add new Form, derived from the
	AccountRequest model.


Modified:
   branches/django/   (props changed)
   branches/django/ChangeLog
   branches/django/mango/models.py

Modified: branches/django/mango/models.py
==============================================================================
--- branches/django/mango/models.py	(original)
+++ branches/django/mango/models.py	Mon Jun 23 16:26:38 2008
@@ -31,6 +31,10 @@
     class Meta:
         db_table = u'account_request'
 
+class AccountsForm(ModelForm):
+    class Meta:
+        model = AccountRequest
+
 class AccountGroups(models.Model):
     id = models.AutoField(primary_key=True)
     request = models.ForeignKey(AccountRequest)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]