summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSerghei MIHAI <smihai@entrouvert.com>2014-02-05 14:52:18 (GMT)
committerSerghei MIHAI <smihai@entrouvert.com>2014-02-05 14:52:18 (GMT)
commitfc17cd46899ea64f6e113e8add858f54819531a5 (patch)
tree42b63a7f034732110a4b871844416957f3f2285a
parenta32c1fa9c8ebedd1298c47a935bb6ec8d2af63db (diff)
downloadcms-ajax-text-plugin-fc17cd46899ea64f6e113e8add858f54819531a5.zip
cms-ajax-text-plugin-fc17cd46899ea64f6e113e8add858f54819531a5.tar.gz
cms-ajax-text-plugin-fc17cd46899ea64f6e113e8add858f54819531a5.tar.bz2
useless models, forms and migrations removed
-rw-r--r--cms_ajax_text_plugin/forms.py7
-rw-r--r--cms_ajax_text_plugin/migrations/0001_initial.py60
-rw-r--r--cms_ajax_text_plugin/migrations/__init__.py0
-rw-r--r--cms_ajax_text_plugin/models.py12
4 files changed, 0 insertions, 79 deletions
diff --git a/cms_ajax_text_plugin/forms.py b/cms_ajax_text_plugin/forms.py
deleted file mode 100644
index b32ec63..0000000
--- a/cms_ajax_text_plugin/forms.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from .models import TextWithExtraArgs
-from cmsplugin_text_wrapper.forms import TextForm
-
-class TextWithExtraArgsForm(TextForm):
-
- class Meta:
- model = TextWithExtraArgs
diff --git a/cms_ajax_text_plugin/migrations/0001_initial.py b/cms_ajax_text_plugin/migrations/0001_initial.py
deleted file mode 100644
index 533f858..0000000
--- a/cms_ajax_text_plugin/migrations/0001_initial.py
+++ /dev/null
@@ -1,60 +0,0 @@
-# -*- coding: utf-8 -*-
-from south.utils import datetime_utils as datetime
-from south.db import db
-from south.v2 import SchemaMigration
-from django.db import models
-
-
-class Migration(SchemaMigration):
-
- def forwards(self, orm):
- # Adding model 'TextWithExtraArgs'
- db.create_table(u'cmsplugin_textwithextraargs', (
- (u'textwrapper_ptr', self.gf('django.db.models.fields.related.OneToOneField')(to=orm['cmsplugin_text_wrapper.TextWrapper'], unique=True, primary_key=True)),
- ('args', self.gf('django.db.models.fields.CharField')(max_length=256, null=True, blank=True)),
- ))
- db.send_create_signal(u'cms_ajax_text_plugin', ['TextWithExtraArgs'])
-
-
- def backwards(self, orm):
- # Deleting model 'TextWithExtraArgs'
- db.delete_table(u'cmsplugin_textwithextraargs')
-
-
- models = {
- 'cms.cmsplugin': {
- 'Meta': {'object_name': 'CMSPlugin'},
- 'changed_date': ('django.db.models.fields.DateTimeField', [], {'auto_now': 'True', 'blank': 'True'}),
- 'creation_date': ('django.db.models.fields.DateTimeField', [], {'default': 'datetime.datetime.now'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'language': ('django.db.models.fields.CharField', [], {'max_length': '15', 'db_index': 'True'}),
- 'level': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'lft': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'parent': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.CMSPlugin']", 'null': 'True', 'blank': 'True'}),
- 'placeholder': ('django.db.models.fields.related.ForeignKey', [], {'to': "orm['cms.Placeholder']", 'null': 'True'}),
- 'plugin_type': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'}),
- 'position': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True', 'blank': 'True'}),
- 'rght': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'}),
- 'tree_id': ('django.db.models.fields.PositiveIntegerField', [], {'db_index': 'True'})
- },
- 'cms.placeholder': {
- 'Meta': {'object_name': 'Placeholder'},
- 'default_width': ('django.db.models.fields.PositiveSmallIntegerField', [], {'null': 'True'}),
- u'id': ('django.db.models.fields.AutoField', [], {'primary_key': 'True'}),
- 'slot': ('django.db.models.fields.CharField', [], {'max_length': '50', 'db_index': 'True'})
- },
- u'cms_ajax_text_plugin.textwithextraargs': {
- 'Meta': {'object_name': 'TextWithExtraArgs', 'db_table': "u'cmsplugin_textwithextraargs'", '_ormbases': [u'cmsplugin_text_wrapper.TextWrapper']},
- 'args': ('django.db.models.fields.CharField', [], {'max_length': '256', 'null': 'True', 'blank': 'True'}),
- u'textwrapper_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': u"orm['cmsplugin_text_wrapper.TextWrapper']", 'unique': 'True', 'primary_key': 'True'})
- },
- u'cmsplugin_text_wrapper.textwrapper': {
- 'Meta': {'object_name': 'TextWrapper', 'db_table': "'cmsplugin_text'"},
- 'body': ('django.db.models.fields.TextField', [], {}),
- 'classes': ('cmsplugin_text_wrapper.fields.MultiSelectField', [], {'max_length': '250', 'null': 'True', 'blank': 'True'}),
- u'cmsplugin_ptr': ('django.db.models.fields.related.OneToOneField', [], {'to': "orm['cms.CMSPlugin']", 'unique': 'True', 'primary_key': 'True'}),
- 'wrapper': ('django.db.models.fields.CharField', [], {'max_length': '50', 'blank': 'True'})
- }
- }
-
- complete_apps = ['cms_ajax_text_plugin'] \ No newline at end of file
diff --git a/cms_ajax_text_plugin/migrations/__init__.py b/cms_ajax_text_plugin/migrations/__init__.py
deleted file mode 100644
index e69de29..0000000
--- a/cms_ajax_text_plugin/migrations/__init__.py
+++ /dev/null
diff --git a/cms_ajax_text_plugin/models.py b/cms_ajax_text_plugin/models.py
deleted file mode 100644
index 5d17e0b..0000000
--- a/cms_ajax_text_plugin/models.py
+++ /dev/null
@@ -1,12 +0,0 @@
-from django.db import models
-from django.utils.translation import ugettext_lazy as _
-
-from cmsplugin_text_wrapper.models import TextWrapper
-
-class TextWithExtraArgs(TextWrapper):
- """
- Model for Text with args
- """
- args = models.CharField(max_length=256,
- help_text=_(u'extra GET arguments to pass to included plugins'),
- blank = True, null = True)