Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread Oleg Oltar
it, worked! thanks everyone! On Wed, Jan 14, 2009 at 3:40 PM, kamil wrote: > > Hi Oleg > > You must create your admin config eg: > > class ArticleOptions(admin.ModelAdmin): > >class Media: >js = ('/static_media/js/tiny_mce/tiny_mce.js', '/static_media/ > js/textareas.js') > >

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread kamil
Hi Oleg You must create your admin config eg: class ArticleOptions(admin.ModelAdmin): class Media: js = ('/static_media/js/tiny_mce/tiny_mce.js', '/static_media/ js/textareas.js') Please check if it correspond to your urs. good luck kamil On Jan 13, 9:43 pm, "Oleg Oltar"

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread Oleg Oltar
yep, trying it But still not sure how to add it to admin On Wed, Jan 14, 2009 at 10:54 AM, izzy_dizzy wrote: > > Try using django-tiny_mce > > Here's its documentation: > http://django-tinymce.googlecode.com/svn/tags/release-1.2/docs/.build/html/index.html > > > > On Jan 14, 3:26 pm, "Oleg O

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread izzy_dizzy
Try using django-tiny_mce Here's its documentation: http://django-tinymce.googlecode.com/svn/tags/release-1.2/docs/.build/html/index.html On Jan 14, 3:26 pm, "Oleg Oltar" wrote: > Ok, I read the doc...But not sure if I done everything correctly, as the > tinyMCE is still not in my admin

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-14 Thread Oleg Oltar
Also my admin code is from TECHNOBUD.visitcard.models import Article from django.contrib import admin admin.site.register(Article) Need help :( I tried to do everything from the beginning, so started a new project. I added there django tiny_mce application. I added these code to my settings

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-13 Thread Oleg Oltar
Ok, I read the doc...But not sure if I done everything correctly, as the tinyMCE is still not in my admin So what I've done: beryl:TECHNOBUD oleg$ cp /Users/oleg/src/django1.0/django/contrib/admin/templates/admin/change_form.html ./TEMPLATES/admin/ Then I edited copied file and added: tin

Re: How to add tinyMCE to django 1.0.2 admin

2009-01-13 Thread Brian Neal
On Jan 13, 3:43 pm, "Oleg Oltar" wrote: > Hi! > > I want to add tinyMCE to my project's admin site. You didn't list any admin.py code. Check out the docs on the admin interface: http://docs.djangoproject.com/en/dev/ref/contrib/admin/#module-django.contrib.admin After you read through that, pay

How to add tinyMCE to django 1.0.2 admin

2009-01-13 Thread Oleg Oltar
Hi! I want to add tinyMCE to my project's admin site. I downloaded the latest version of the editor, added the js/tiny_mce to my media files Added following to my urls.py from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin