Skip to content
This repository
Browse code

Added require_payment_approval to membership type

  • Loading branch information...
commit ba97b2ae5a8111c472486da56b0cfcfa97509fd8 1 parent 3f8bb0e
jebixly authored March 15, 2013
2  tendenci/addons/memberships/admin.py
@@ -467,7 +467,7 @@ class MembershipTypeAdmin(admin.ModelAdmin):
467 467
 
468 468
         ('Other Options', {'fields': (
469 469
             'expiration_grace_period', ('require_approval',
470  
-            'admin_only'), 'position', 'status_detail')}),
  470
+            'admin_only'), 'require_payment_approval', 'position', 'status_detail')}),
471 471
     )
472 472
 
473 473
     form = MembershipTypeForm
1  tendenci/addons/memberships/forms.py
@@ -234,6 +234,7 @@ class Meta:
234 234
                   #'corporate_membership_only',
235 235
                   #'corporate_membership_type_id',
236 236
                   'require_approval',
  237
+                  'require_payment_approval',
237 238
                   'admin_only',
238 239
                   'renewal_require_approval',
239 240
                   'renewal_period_start',
781  tendenci/addons/memberships/migrations/0016_auto__add_field_membershiptype_require_payment_approval.py
... ...
@@ -0,0 +1,781 @@
  1
+# encoding: utf-8
  2
+import datetime
  3
+from south.db import db
  4
+from south.v2 import SchemaMigration
  5
+from django.db import models
  6
+
  7
+class Migration(SchemaMigration):
  8
+
  9
+    def forwards(self, orm):
  10
+        
  11
+        # Adding field 'MembershipType.require_payment_approval'
  12
+        db.add_column('memberships_membershiptype', 'require_payment_approval', self.gf('django.db.models.fields.BooleanField')(default=True), keep_default=False)
  13
+
  14
+
  15
+    def backwards(self, orm):
  16
+        
  17
+        # Deleting field 'MembershipType.require_payment_approval'
  18
+        db.delete_column('memberships_membershiptype', 'require_payment_approval')
  19
+
  20
+
  21
+    models = {
  22
+        'auth.group': {
  23
+            'Meta': {'object_name': 'Group'},
  24
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  25
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '80'}),
  26
+            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'})
  27
+        },
  28
+        'auth.permission': {
  29
+            'Meta': {'ordering': "('content_type__app_label', 'content_type__model', 'codename')", 'unique_together': "(('content_type', 'codename'),)", 'object_name': 'Permission'},
  30
+            'codename': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
  31
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
  32
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  33
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '50'})
  34
+        },
  35
+        'auth.user': {
  36
+            'Meta': {'object_name': 'User'},
  37
+            'date_joined': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 3, 15, 7, 44, 12, 23228)'}),
  38
+            'email': ('django.db.models.fields.EmailField', [], {'max_length': '75', 'blank': 'True'}),
  39
+            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
  40
+            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Group']", 'symmetrical': 'False', 'blank': 'True'}),
  41
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  42
+            'is_active': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  43
+            'is_staff': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  44
+            'is_superuser': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  45
+            'last_login': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime(2013, 3, 15, 7, 44, 12, 23122)'}),
  46
+            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '30', 'blank': 'True'}),
  47
+            'password': ('django.db.models.fields.CharField', [], {'max_length': '128'}),
  48
+            'user_permissions': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.Permission']", 'symmetrical': 'False', 'blank': 'True'}),
  49
+            'username': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '30'})
  50
+        },
  51
+        'categories.category': {
  52
+            'Meta': {'object_name': 'Category'},
  53
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  54
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255', 'db_index': 'True'})
  55
+        },
  56
+        'categories.categoryitem': {
  57
+            'Meta': {'object_name': 'CategoryItem'},
  58
+            'category': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'categoryitem_category'", 'null': 'True', 'to': "orm['categories.Category']"}),
  59
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
  60
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  61
+            'object_id': ('django.db.models.fields.PositiveIntegerField', [], {}),
  62
+            'parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'categoryitem_parent'", 'null': 'True', 'to': "orm['categories.Category']"})
  63
+        },
  64
+        'contenttypes.contenttype': {
  65
+            'Meta': {'ordering': "('name',)", 'unique_together': "(('app_label', 'model'),)", 'object_name': 'ContentType', 'db_table': "'django_content_type'"},
  66
+            'app_label': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
  67
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  68
+            'model': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
  69
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '100'})
  70
+        },
  71
+        'directories.directory': {
  72
+            'Meta': {'object_name': 'Directory'},
  73
+            'activation_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  74
+            'address': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
  75
+            'address2': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
  76
+            'admin_notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  77
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  78
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  79
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  80
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  81
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  82
+            'body': ('tinymce.models.HTMLField', [], {}),
  83
+            'city': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  84
+            'country': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  85
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  86
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'directories_directory_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  87
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  88
+            'design_notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  89
+            'email': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  90
+            'email2': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  91
+            'enclosure_length': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  92
+            'enclosure_type': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  93
+            'enclosure_url': ('django.db.models.fields.CharField', [], {'max_length': '500', 'blank': 'True'}),
  94
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'directories_directory_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  95
+            'expiration_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  96
+            'fax': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  97
+            'first_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
  98
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  99
+            'headline': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  100
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  101
+            'invoice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['invoices.Invoice']", 'null': 'True', 'blank': 'True'}),
  102
+            'last_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
  103
+            'list_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  104
+            'logo': ('django.db.models.fields.files.FileField', [], {'max_length': '260', 'blank': 'True'}),
  105
+            'meta': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['meta.Meta']", 'unique': 'True', 'null': 'True'}),
  106
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'directories_directory_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  107
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  108
+            'payment_method': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  109
+            'phone': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  110
+            'phone2': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  111
+            'pricing': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['directories.DirectoryPricing']", 'null': 'True'}),
  112
+            'renewal_notice_sent': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  113
+            'requested_duration': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  114
+            'slug': ('tendenci.core.base.fields.SlugField', [], {'unique': 'True', 'max_length': '100', 'db_index': 'True'}),
  115
+            'source': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
  116
+            'state': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  117
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  118
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  119
+            'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  120
+            'syndicate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  121
+            'tags': ('tagging.fields.TagField', [], {}),
  122
+            'timezone': ('timezones.fields.TimeZoneField', [], {'default': "'America/Chicago'", 'max_length': '100'}),
  123
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  124
+            'website': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'}),
  125
+            'zip_code': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'})
  126
+        },
  127
+        'directories.directorypricing': {
  128
+            'Meta': {'object_name': 'DirectoryPricing'},
  129
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  130
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_pricing_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  131
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  132
+            'duration': ('django.db.models.fields.IntegerField', [], {'blank': 'True'}),
  133
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  134
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  135
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'directory_pricing_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  136
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  137
+            'premium_price': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  138
+            'premium_price_member': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  139
+            'regular_price': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  140
+            'regular_price_member': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  141
+            'show_member_pricing': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  142
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  143
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  144
+        },
  145
+        'entities.entity': {
  146
+            'Meta': {'ordering': "('entity_name',)", 'object_name': 'Entity'},
  147
+            'admin_notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  148
+            'allow_anonymous_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  149
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  150
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  151
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  152
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  153
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  154
+            'contact_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  155
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  156
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entity_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  157
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  158
+            'email': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  159
+            'entity_name': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  160
+            'entity_parent': ('django.db.models.fields.related.ForeignKey', [], {'blank': 'True', 'related_name': "'entity_children'", 'null': 'True', 'to': "orm['entities.Entity']"}),
  161
+            'entity_type': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  162
+            'fax': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  163
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  164
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  165
+            'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  166
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entity_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  167
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  168
+            'phone': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  169
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  170
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  171
+            'summary': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  172
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  173
+            'website': ('django.db.models.fields.CharField', [], {'max_length': '300', 'blank': 'True'})
  174
+        },
  175
+        'industries.industry': {
  176
+            'Meta': {'object_name': 'Industry'},
  177
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  178
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  179
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  180
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  181
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  182
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  183
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'industries_industry_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  184
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  185
+            'description': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
  186
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'industries_industry_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  187
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  188
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  189
+            'industry_code': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
  190
+            'industry_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
  191
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'industries_industry_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  192
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  193
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  194
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  195
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  196
+        },
  197
+        'invoices.invoice': {
  198
+            'Meta': {'object_name': 'Invoice'},
  199
+            'admin_notes': ('django.db.models.fields.TextField', [], {'null': 'True', 'blank': 'True'}),
  200
+            'arrival_date_time': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  201
+            'balance': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  202
+            'bill_to': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  203
+            'bill_to_address': ('django.db.models.fields.CharField', [], {'max_length': '250', 'null': 'True', 'blank': 'True'}),
  204
+            'bill_to_city': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  205
+            'bill_to_company': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  206
+            'bill_to_country': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  207
+            'bill_to_email': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  208
+            'bill_to_fax': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  209
+            'bill_to_first_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  210
+            'bill_to_last_name': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  211
+            'bill_to_phone': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  212
+            'bill_to_state': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  213
+            'bill_to_zip_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True', 'blank': 'True'}),
  214
+            'box_and_packing': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '2'}),
  215
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  216
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'invoice_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  217
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  218
+            'disclaimer': ('django.db.models.fields.CharField', [], {'max_length': '150', 'null': 'True', 'blank': 'True'}),
  219
+            'due_date': ('django.db.models.fields.DateTimeField', [], {}),
  220
+            'estimate': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  221
+            'fob': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  222
+            'gift': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  223
+            'greeting': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
  224
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  225
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  226
+            'instructions': ('django.db.models.fields.CharField', [], {'max_length': '500', 'null': 'True', 'blank': 'True'}),
  227
+            'message': ('django.db.models.fields.CharField', [], {'max_length': '150', 'null': 'True', 'blank': 'True'}),
  228
+            'object_id': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}),
  229
+            'object_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True', 'blank': 'True'}),
  230
+            'other': ('django.db.models.fields.CharField', [], {'max_length': '120', 'null': 'True', 'blank': 'True'}),
  231
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'invoice_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  232
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  233
+            'payments_credits': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  234
+            'po': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  235
+            'project': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  236
+            'receipt': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  237
+            'ship_date': ('django.db.models.fields.DateTimeField', [], {}),
  238
+            'ship_to': ('django.db.models.fields.CharField', [], {'max_length': '120', 'blank': 'True'}),
  239
+            'ship_to_address': ('django.db.models.fields.CharField', [], {'max_length': '250', 'blank': 'True'}),
  240
+            'ship_to_address_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  241
+            'ship_to_city': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  242
+            'ship_to_company': ('django.db.models.fields.CharField', [], {'max_length': '100', 'blank': 'True'}),
  243
+            'ship_to_country': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  244
+            'ship_to_email': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  245
+            'ship_to_fax': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  246
+            'ship_to_first_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  247
+            'ship_to_last_name': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  248
+            'ship_to_phone': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  249
+            'ship_to_state': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  250
+            'ship_to_zip_code': ('django.db.models.fields.CharField', [], {'max_length': '20', 'blank': 'True'}),
  251
+            'ship_via': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  252
+            'shipping': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '2'}),
  253
+            'shipping_surcharge': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '2'}),
  254
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  255
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'estimate'", 'max_length': '50'}),
  256
+            'subtotal': ('django.db.models.fields.DecimalField', [], {'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  257
+            'tax': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '6', 'decimal_places': '4'}),
  258
+            'tax_exempt': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  259
+            'tax_exemptid': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True', 'blank': 'True'}),
  260
+            'tax_rate': ('django.db.models.fields.FloatField', [], {'default': '0', 'blank': 'True'}),
  261
+            'taxable': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  262
+            'tender_date': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  263
+            'terms': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  264
+            'title': ('django.db.models.fields.CharField', [], {'max_length': '150', 'null': 'True', 'blank': 'True'}),
  265
+            'total': ('django.db.models.fields.DecimalField', [], {'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  266
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  267
+            'variance': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '10', 'decimal_places': '4'}),
  268
+            'variance_notes': ('django.db.models.fields.TextField', [], {'max_length': '1000', 'null': 'True', 'blank': 'True'})
  269
+        },
  270
+        'memberships.app': {
  271
+            'Meta': {'object_name': 'App'},
  272
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  273
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  274
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  275
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  276
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  277
+            'confirmation_text': ('tinymce.models.HTMLField', [], {}),
  278
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  279
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_app_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  280
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  281
+            'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  282
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_app_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  283
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  284
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  285
+            'membership_types': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['memberships.MembershipType']", 'symmetrical': 'False'}),
  286
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '155'}),
  287
+            'notes': ('tinymce.models.HTMLField', [], {'blank': 'True'}),
  288
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_app_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  289
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  290
+            'payment_methods': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['payments.PaymentMethod']", 'symmetrical': 'False'}),
  291
+            'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200', 'db_index': 'True'}),
  292
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  293
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  294
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  295
+            'use_captcha': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  296
+            'use_for_corp': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
  297
+        },
  298
+        'memberships.appentry': {
  299
+            'Meta': {'object_name': 'AppEntry'},
  300
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  301
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  302
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  303
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  304
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  305
+            'app': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entries'", 'to': "orm['memberships.App']"}),
  306
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  307
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_appentry_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  308
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  309
+            'decision_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  310
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_appentry_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  311
+            'entry_time': ('django.db.models.fields.DateTimeField', [], {}),
  312
+            'hash': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '40', 'null': 'True'}),
  313
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  314
+            'invoice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['invoices.Invoice']", 'null': 'True'}),
  315
+            'is_approved': ('django.db.models.fields.NullBooleanField', [], {'null': 'True', 'blank': 'True'}),
  316
+            'is_renewal': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  317
+            'judge': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entries'", 'null': 'True', 'to': "orm['auth.User']"}),
  318
+            'membership': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'entries'", 'null': 'True', 'to': "orm['memberships.Membership']"}),
  319
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_appentry_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  320
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  321
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  322
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  323
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  324
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
  325
+        },
  326
+        'memberships.appfield': {
  327
+            'Meta': {'ordering': "('position',)", 'object_name': 'AppField'},
  328
+            'admin_only': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  329
+            'app': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'fields'", 'to': "orm['memberships.App']"}),
  330
+            'attribute_name': ('django.db.models.fields.CharField', [], {'max_length': '300'}),
  331
+            'choices': ('django.db.models.fields.CharField', [], {'max_length': '1000', 'blank': 'True'}),
  332
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership_app_field_set'", 'null': 'True', 'to': "orm['contenttypes.ContentType']"}),
  333
+            'css_class': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  334
+            'default_value': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  335
+            'description': ('django.db.models.fields.TextField', [], {'max_length': '200', 'blank': 'True'}),
  336
+            'exportable': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  337
+            'field_function': ('django.db.models.fields.CharField', [], {'max_length': '64', 'null': 'True', 'blank': 'True'}),
  338
+            'field_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'blank': 'True'}),
  339
+            'field_type': ('django.db.models.fields.CharField', [], {'max_length': '100'}),
  340
+            'function_params': ('django.db.models.fields.CharField', [], {'max_length': '100', 'null': 'True', 'blank': 'True'}),
  341
+            'help_text': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  342
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  343
+            'label': ('django.db.models.fields.CharField', [], {'max_length': '2000'}),
  344
+            'position': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}),
  345
+            'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  346
+            'unique': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  347
+            'visible': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  348
+            'vital': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
  349
+        },
  350
+        'memberships.appfieldentry': {
  351
+            'Meta': {'object_name': 'AppFieldEntry'},
  352
+            'entry': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'fields'", 'to': "orm['memberships.AppEntry']"}),
  353
+            'field': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'field'", 'to': "orm['memberships.AppField']"}),
  354
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  355
+            'value': ('django.db.models.fields.CharField', [], {'max_length': '2000'})
  356
+        },
  357
+        'memberships.membership': {
  358
+            'Meta': {'object_name': 'Membership'},
  359
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  360
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  361
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  362
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  363
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  364
+            'corporate_membership_id': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  365
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  366
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membership_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  367
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  368
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membership_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  369
+            'expire_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  370
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  371
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  372
+            'invoice': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['invoices.Invoice']", 'null': 'True', 'blank': 'True'}),
  373
+            'ma': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['memberships.App']", 'null': 'True'}),
  374
+            'member_number': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  375
+            'membership_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['memberships.MembershipType']"}),
  376
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membership_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  377
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  378
+            'payment_method': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['payments.PaymentMethod']", 'null': 'True', 'blank': 'True'}),
  379
+            'renewal': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  380
+            'send_notice': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  381
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  382
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  383
+            'subscribe_dt': ('django.db.models.fields.DateTimeField', [], {}),
  384
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  385
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'memberships'", 'to': "orm['auth.User']"})
  386
+        },
  387
+        'memberships.membershipapp': {
  388
+            'Meta': {'object_name': 'MembershipApp'},
  389
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  390
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  391
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  392
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  393
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  394
+            'confirmation_text': ('tinymce.models.HTMLField', [], {}),
  395
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  396
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipapp_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  397
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  398
+            'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  399
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipapp_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  400
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  401
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  402
+            'membership_types': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['memberships.MembershipType']", 'symmetrical': 'False'}),
  403
+            'name': ('django.db.models.fields.CharField', [], {'max_length': '155'}),
  404
+            'notes': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
  405
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipapp_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  406
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  407
+            'payment_methods': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['payments.PaymentMethod']", 'symmetrical': 'False'}),
  408
+            'slug': ('django.db.models.fields.SlugField', [], {'unique': 'True', 'max_length': '200', 'db_index': 'True'}),
  409
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  410
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  411
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  412
+            'use_captcha': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  413
+            'use_for_corp': ('django.db.models.fields.BooleanField', [], {'default': 'True'})
  414
+        },
  415
+        'memberships.membershipappfield': {
  416
+            'Meta': {'ordering': "('order',)", 'object_name': 'MembershipAppField'},
  417
+            'admin_only': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  418
+            'choices': ('django.db.models.fields.CharField', [], {'max_length': '1000', 'blank': 'True'}),
  419
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']", 'null': 'True'}),
  420
+            'css_class': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
  421
+            'default_value': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
  422
+            'description': ('django.db.models.fields.TextField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
  423
+            'display': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  424
+            'field_name': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '100', 'blank': 'True'}),
  425
+            'field_type': ('django.db.models.fields.CharField', [], {'max_length': '64'}),
  426
+            'help_text': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '200', 'blank': 'True'}),
  427
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  428
+            'label': ('django.db.models.fields.CharField', [], {'max_length': '2000'}),
  429
+            'membership_app': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'fields'", 'to': "orm['memberships.MembershipApp']"}),
  430
+            'order': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  431
+            'required': ('django.db.models.fields.BooleanField', [], {'default': 'False'})
  432
+        },
  433
+        'memberships.membershipdefault': {
  434
+            'Meta': {'object_name': 'MembershipDefault'},
  435
+            'action_taken': ('django.db.models.fields.CharField', [], {'max_length': '500', 'blank': 'True'}),
  436
+            'action_taken_dt': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
  437
+            'action_taken_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'action_taken_set'", 'null': 'True', 'to': "orm['auth.User']"}),
  438
+            'admin_notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  439
+            'affiliation_member_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  440
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  441
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  442
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  443
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  444
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  445
+            'application_abandoned': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  446
+            'application_abandoned_dt': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
  447
+            'application_abandoned_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'application_abandond_set'", 'null': 'True', 'to': "orm['auth.User']"}),
  448
+            'application_approved': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  449
+            'application_approved_denied_dt': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
  450
+            'application_approved_denied_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'application_approved_denied_set'", 'null': 'True', 'to': "orm['auth.User']"}),
  451
+            'application_approved_dt': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
  452
+            'application_approved_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'application_approved_set'", 'null': 'True', 'to': "orm['auth.User']"}),
  453
+            'application_complete': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  454
+            'application_complete_dt': ('django.db.models.fields.DateTimeField', [], {'default': 'None', 'null': 'True'}),
  455
+            'application_complete_user': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'application_complete_set'", 'null': 'True', 'to': "orm['auth.User']"}),
  456
+            'application_denied': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  457
+            'areas_of_expertise': ('django.db.models.fields.CharField', [], {'max_length': '1000', 'blank': 'True'}),
  458
+            'bod_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  459
+            'certifications': ('django.db.models.fields.CharField', [], {'max_length': '500', 'blank': 'True'}),
  460
+            'chapter': ('django.db.models.fields.CharField', [], {'max_length': '150', 'blank': 'True'}),
  461
+            'company_size': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  462
+            'corp_profile_id': ('django.db.models.fields.IntegerField', [], {'default': '0', 'blank': 'True'}),
  463
+            'corporate_entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'corporate_set'", 'null': 'True', 'to': "orm['entities.Entity']"}),
  464
+            'corporate_membership_id': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'}),
  465
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  466
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipdefault_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  467
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  468
+            'directory': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['directories.Directory']", 'null': 'True', 'blank': 'True'}),
  469
+            'directory_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  470
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipdefault_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  471
+            'expire_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  472
+            'exported': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  473
+            'government_agency': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '250', 'blank': 'True'}),
  474
+            'government_worker': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  475
+            'groups': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['user_groups.Group']", 'null': 'True', 'symmetrical': 'False'}),
  476
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  477
+            'home_state': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  478
+            'how_long_in_practice': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  479
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  480
+            'industry': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['industries.Industry']", 'null': 'True', 'blank': 'True'}),
  481
+            'join_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  482
+            'lang': ('django.db.models.fields.CharField', [], {'default': "'eng'", 'max_length': '10'}),
  483
+            'license_number': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  484
+            'license_state': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  485
+            'member_number': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  486
+            'membership_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['memberships.MembershipType']"}),
  487
+            'network_sectors': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '250', 'blank': 'True'}),
  488
+            'networking': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '250', 'blank': 'True'}),
  489
+            'newsletter_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'}),
  490
+            'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  491
+            'organization_entity': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'organization_set'", 'null': 'True', 'to': "orm['entities.Entity']"}),
  492
+            'override': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  493
+            'override_price': ('django.db.models.fields.FloatField', [], {'null': 'True'}),
  494
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershipdefault_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  495
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  496
+            'payment_method': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['payments.PaymentMethod']", 'null': 'True'}),
  497
+            'payment_received_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  498
+            'personnel_notified_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  499
+            'primary_practice': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '100', 'blank': 'True'}),
  500
+            'promotion_code': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  501
+            'referral_source': ('django.db.models.fields.CharField', [], {'max_length': '150', 'blank': 'True'}),
  502
+            'referral_source_member_name': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  503
+            'referral_source_member_number': ('django.db.models.fields.CharField', [], {'default': "u''", 'max_length': '50', 'blank': 'True'}),
  504
+            'referral_source_other': ('django.db.models.fields.CharField', [], {'max_length': '150', 'blank': 'True'}),
  505
+            'region': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['regions.Region']", 'null': 'True', 'blank': 'True'}),
  506
+            'renew_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  507
+            'renewal': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  508
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  509
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  510
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
  511
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']"}),
  512
+            'work_experience': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  513
+            'year_left_native_country': ('django.db.models.fields.IntegerField', [], {'null': 'True', 'blank': 'True'})
  514
+        },
  515
+        'memberships.membershipdemographic': {
  516
+            'Meta': {'object_name': 'MembershipDemographic'},
  517
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  518
+            'ud1': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  519
+            'ud10': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  520
+            'ud11': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  521
+            'ud12': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  522
+            'ud13': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  523
+            'ud14': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  524
+            'ud15': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  525
+            'ud16': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  526
+            'ud17': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  527
+            'ud18': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  528
+            'ud19': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  529
+            'ud2': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  530
+            'ud20': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  531
+            'ud21': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  532
+            'ud22': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  533
+            'ud23': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  534
+            'ud24': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  535
+            'ud25': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  536
+            'ud26': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  537
+            'ud27': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  538
+            'ud28': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  539
+            'ud29': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  540
+            'ud3': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  541
+            'ud30': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  542
+            'ud4': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  543
+            'ud5': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  544
+            'ud6': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  545
+            'ud7': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  546
+            'ud8': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  547
+            'ud9': ('django.db.models.fields.TextField', [], {'default': "u''", 'blank': 'True'}),
  548
+            'user': ('django.db.models.fields.related.OneToOneField', [], {'related_name': "'demographics'", 'unique': 'True', 'to': "orm['auth.User']"})
  549
+        },
  550
+        'memberships.membershipimport': {
  551
+            'Meta': {'object_name': 'MembershipImport'},
  552
+            'app': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['memberships.App']", 'null': 'True'}),
  553
+            'complete_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True'}),
  554
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  555
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'}),
  556
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  557
+            'interactive': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  558
+            'key': ('django.db.models.fields.CharField', [], {'default': "'email/member_number/fn_ln_phone'", 'max_length': '50'}),
  559
+            'num_processed': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  560
+            'override': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  561
+            'status': ('django.db.models.fields.CharField', [], {'default': "'not_started'", 'max_length': '50'}),
  562
+            'summary': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '500', 'null': 'True'}),
  563
+            'total_rows': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  564
+            'upload_file': ('django.db.models.fields.files.FileField', [], {'max_length': '260', 'null': 'True'})
  565
+        },
  566
+        'memberships.membershipimportdata': {
  567
+            'Meta': {'object_name': 'MembershipImportData'},
  568
+            'action_taken': ('django.db.models.fields.CharField', [], {'max_length': '20', 'null': 'True'}),
  569
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  570
+            'mimport': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership_import_data'", 'to': "orm['memberships.MembershipImport']"}),
  571
+            'row_data': ('tendenci.core.base.fields.DictField', [], {}),
  572
+            'row_num': ('django.db.models.fields.IntegerField', [], {})
  573
+        },
  574
+        'memberships.membershiptype': {
  575
+            'Meta': {'object_name': 'MembershipType'},
  576
+            'admin_fee': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  577
+            'admin_only': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  578
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  579
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  580
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  581
+            'allow_renewal': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  582
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  583
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  584
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  585
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershiptype_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  586
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  587
+            'description': ('django.db.models.fields.CharField', [], {'max_length': '500'}),
  588
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershiptype_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  589
+            'expiration_grace_period': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  590
+            'fixed_option': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  591
+            'fixed_option1_day': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  592
+            'fixed_option1_month': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  593
+            'fixed_option1_year': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  594
+            'fixed_option2_can_rollover': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  595
+            'fixed_option2_day': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  596
+            'fixed_option2_month': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  597
+            'fixed_option2_rollover_days': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  598
+            'group': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership_types'", 'to': "orm['user_groups.Group']"}),
  599
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  600
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  601
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
  602
+            'never_expires': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  603
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'memberships_membershiptype_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  604
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  605
+            'period': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  606
+            'period_type': ('django.db.models.fields.CharField', [], {'default': "'rolling'", 'max_length': '10'}),
  607
+            'period_unit': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
  608
+            'position': ('django.db.models.fields.IntegerField', [], {'default': '0', 'null': 'True', 'blank': 'True'}),
  609
+            'price': ('django.db.models.fields.DecimalField', [], {'default': '0', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  610
+            'renewal': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  611
+            'renewal_period_end': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
  612
+            'renewal_period_start': ('django.db.models.fields.IntegerField', [], {'default': '30'}),
  613
+            'renewal_price': ('django.db.models.fields.DecimalField', [], {'default': '0', 'null': 'True', 'max_digits': '15', 'decimal_places': '2', 'blank': 'True'}),
  614
+            'renewal_require_approval': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  615
+            'require_approval': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  616
+            'require_payment_approval': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  617
+            'rolling_option': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  618
+            'rolling_option1_day': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  619
+            'rolling_renew_option': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  620
+            'rolling_renew_option1_day': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  621
+            'rolling_renew_option2_day': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  622
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  623
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  624
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  625
+        },
  626
+        'memberships.notice': {
  627
+            'Meta': {'object_name': 'Notice'},
  628
+            'content_type': ('django.db.models.fields.CharField', [], {'max_length': '10'}),
  629
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  630
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership_notice_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  631
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  632
+            'email_content': ('tinymce.models.HTMLField', [], {}),
  633
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  634
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  635
+            'membership_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['memberships.MembershipType']", 'null': 'True', 'blank': 'True'}),
  636
+            'notice_name': ('django.db.models.fields.CharField', [], {'max_length': '250'}),
  637
+            'notice_time': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
  638
+            'notice_type': ('django.db.models.fields.CharField', [], {'max_length': '20'}),
  639
+            'num_days': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  640
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'membership_notice_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  641
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50', 'null': 'True'}),
  642
+            'sender': ('django.db.models.fields.EmailField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
  643
+            'sender_display': ('django.db.models.fields.CharField', [], {'max_length': '255', 'null': 'True', 'blank': 'True'}),
  644
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  645
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  646
+            'subject': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
  647
+            'system_generated': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  648
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  649
+        },
  650
+        'memberships.noticedefaultlogrecord': {
  651
+            'Meta': {'object_name': 'NoticeDefaultLogRecord'},
  652
+            'action_taken': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  653
+            'action_taken_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  654
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  655
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  656
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  657
+            'membership': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'default_log_records'", 'to': "orm['memberships.MembershipDefault']"}),
  658
+            'notice_log': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'default_log_records'", 'to': "orm['memberships.NoticeLog']"})
  659
+        },
  660
+        'memberships.noticelog': {
  661
+            'Meta': {'object_name': 'NoticeLog'},
  662
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  663
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  664
+            'notice': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'logs'", 'to': "orm['memberships.Notice']"}),
  665
+            'notice_sent_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  666
+            'num_sent': ('django.db.models.fields.IntegerField', [], {})
  667
+        },
  668
+        'memberships.noticelogrecord': {
  669
+            'Meta': {'object_name': 'NoticeLogRecord'},
  670
+            'action_taken': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  671
+            'action_taken_dt': ('django.db.models.fields.DateTimeField', [], {'null': 'True', 'blank': 'True'}),
  672
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  673
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  674
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  675
+            'membership': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'log_records'", 'to': "orm['memberships.Membership']"}),
  676
+            'notice_log': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'log_records'", 'to': "orm['memberships.NoticeLog']"})
  677
+        },
  678
+        'meta.meta': {
  679
+            'Meta': {'object_name': 'Meta'},
  680
+            'canonical_url': ('django.db.models.fields.CharField', [], {'max_length': '500', 'blank': 'True'}),
  681
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  682
+            'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  683
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  684
+            'keywords': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  685
+            'title': ('django.db.models.fields.CharField', [], {'max_length': '200', 'blank': 'True'}),
  686
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  687
+        },
  688
+        'payments.paymentmethod': {
  689
+            'Meta': {'object_name': 'PaymentMethod'},
  690
+            'admin_only': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  691
+            'human_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
  692
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  693
+            'is_online': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  694
+            'machine_name': ('django.db.models.fields.CharField', [], {'max_length': '200'})
  695
+        },
  696
+        'perms.objectpermission': {
  697
+            'Meta': {'object_name': 'ObjectPermission'},
  698
+            'codename': ('django.db.models.fields.CharField', [], {'max_length': '255'}),
  699
+            'content_type': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['contenttypes.ContentType']"}),
  700
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  701
+            'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['user_groups.Group']", 'null': 'True'}),
  702
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  703
+            'object_id': ('django.db.models.fields.IntegerField', [], {}),
  704
+            'user': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['auth.User']", 'null': 'True'})
  705
+        },
  706
+        'regions.region': {
  707
+            'Meta': {'object_name': 'Region'},
  708
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  709
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  710
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  711
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  712
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  713
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  714
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'regions_region_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  715
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  716
+            'description': ('django.db.models.fields.TextField', [], {'default': "''", 'blank': 'True'}),
  717
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'regions_region_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  718
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  719
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  720
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'regions_region_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  721
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  722
+            'region_code': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
  723
+            'region_name': ('django.db.models.fields.CharField', [], {'max_length': '200'}),
  724
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  725
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  726
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  727
+        },
  728
+        'user_groups.group': {
  729
+            'Meta': {'ordering': "('name',)", 'object_name': 'Group'},
  730
+            'allow_anonymous_view': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  731
+            'allow_member_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  732
+            'allow_member_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  733
+            'allow_self_add': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  734
+            'allow_self_remove': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  735
+            'allow_user_edit': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  736
+            'allow_user_view': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  737
+            'auto_respond': ('django.db.models.fields.BooleanField', [], {'default': 'False'}),
  738
+            'auto_respond_priority': ('django.db.models.fields.FloatField', [], {'default': '0', 'blank': 'True'}),
  739
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  740
+            'creator': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'user_groups_group_creator'", 'null': 'True', 'to': "orm['auth.User']"}),
  741
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  742
+            'description': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  743
+            'email_recipient': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
  744
+            'entity': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'user_groups_group_entity'", 'null': 'True', 'blank': 'True', 'to': "orm['entities.Entity']"}),
  745
+            'group': ('django.db.models.fields.related.OneToOneField', [], {'default': 'None', 'to': "orm['auth.Group']", 'unique': 'True', 'null': 'True'}),
  746
+            'guid': ('django.db.models.fields.CharField', [], {'max_length': '40'}),
  747
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  748
+            'label': ('django.db.models.fields.CharField', [], {'max_length': '255', 'blank': 'True'}),
  749
+            'members': ('django.db.models.fields.related.ManyToManyField', [], {'to': "orm['auth.User']", 'through': "orm['user_groups.GroupMembership']", 'symmetrical': 'False'}),
  750
+            'name': ('django.db.models.fields.CharField', [], {'unique': 'True', 'max_length': '255'}),
  751
+            'notes': ('django.db.models.fields.TextField', [], {'blank': 'True'}),
  752
+            'owner': ('django.db.models.fields.related.ForeignKey', [], {'default': 'None', 'related_name': "'user_groups_group_owner'", 'null': 'True', 'to': "orm['auth.User']"}),
  753
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  754
+            'permissions': ('django.db.models.fields.related.ManyToManyField', [], {'symmetrical': 'False', 'related_name': "'group_permissions'", 'blank': 'True', 'to': "orm['auth.Permission']"}),
  755
+            'show_as_option': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  756
+            'slug': ('tendenci.core.base.fields.SlugField', [], {'unique': 'True', 'max_length': '100', 'db_index': 'True'}),
  757
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  758
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  759
+            'sync_newsletters': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  760
+            'type': ('django.db.models.fields.CharField', [], {'default': "'distribution'", 'max_length': '75', 'blank': 'True'}),
  761
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  762
+        },
  763
+        'user_groups.groupmembership': {
  764
+            'Meta': {'unique_together': "(('group', 'member'),)", 'object_name': 'GroupMembership'},
  765
+            'create_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now_add': 'True', 'blank': 'True'}),
  766
+            'creator_id': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  767
+            'creator_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  768
+            'group': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['user_groups.Group']"}),
  769
+            'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
  770
+            'member': ('django.db.models.fields.related.ForeignKey', [], {'related_name': "'group_member'", 'to': "orm['auth.User']"}),
  771
+            'owner_id': ('django.db.models.fields.IntegerField', [], {'default': '0'}),
  772
+            'owner_username': ('django.db.models.fields.CharField', [], {'max_length': '50'}),
  773
+            'role': ('django.db.models.fields.CharField', [], {'default': "''", 'max_length': '255', 'blank': 'True'}),
  774
+            'sort_order': ('django.db.models.fields.IntegerField', [], {'default': '0', 'blank': 'True'}),
  775
+            'status': ('django.db.models.fields.BooleanField', [], {'default': 'True'}),
  776
+            'status_detail': ('django.db.models.fields.CharField', [], {'default': "'active'", 'max_length': '50'}),
  777
+            'update_dt': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'})
  778
+        }
  779
+    }
  780
+
  781
+    complete_apps = ['memberships']
7  tendenci/addons/memberships/models.py
@@ -106,6 +106,9 @@ class MembershipType(OrderingBaseModel, TendenciBaseModel):
106 106
     allow_renewal = models.BooleanField(_('Allow Renewal'), default=1)
107 107
     renewal = models.BooleanField(_('Renewal Only'), default=0)
108 108
     renewal_require_approval = models.BooleanField(_('Renewal Requires Approval'), default=1)
  109
+    require_payment_approval = models.BooleanField(
  110
+        _('Auto-approval requires payment'), default=1,
  111
+        help_text='If checked, auto-approved memberships will require a successful online payment to be auto-approved.')
109 112
 
110 113
     admin_only = models.BooleanField(_('Admin Only'), default=0)  # from allowuseroption
111 114
 
@@ -822,8 +825,8 @@ def approval_required(self):
822 825
         This is dependent on whether membership is a join or renewal.
823 826
         """
824 827
         if self.renewal:
825  
-            return self.membership_type.renewal_require_approval
826  
-        return self.membership_type.require_approval
  828
+            return self.membership_type.renewal_require_approval or self.membership_type.require_payment_approval
  829
+        return self.membership_type.require_approval or self.membership_type.require_payment_approval
827 830
 
828 831
     def group_refresh(self):
829 832
         """

0 notes on commit ba97b2a

Please sign in to comment.
Something went wrong with that request. Please try again.