mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
removed urls.py which is not required if django-tinymce is installed
properly. fixed new bug relating to codemirror introduced by tinymce
This commit is contained in:
parent
edaf6ea258
commit
68d4342df4
2 changed files with 0 additions and 6 deletions
|
|
@ -67,8 +67,6 @@ if settings.DBTEMPLATES_USE_CODEMIRROR and settings.DBTEMPLATES_USE_TINYMCE:
|
|||
if settings.DBTEMPLATES_USE_TINYMCE:
|
||||
from tinymce.widgets import AdminTinyMCE
|
||||
TemplateContentTextArea = AdminTinyMCE
|
||||
else:
|
||||
TemplateContentTextArea = forms.Textarea
|
||||
|
||||
|
||||
class TemplateAdminForm(forms.ModelForm):
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
from django.conf.urls.defaults import *
|
||||
|
||||
if 'tinymce' in settings.INSTALLED_APPS:
|
||||
urlpatterns += patterns('', url(r'^tinymce/', include('tinymce.urls')))
|
||||
Loading…
Reference in a new issue