I ran into problems with tinyMCE integration too... I ended up adding the new line to urls.py in the wrong order. D'oh.
Complete file looked like this: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^cms/', include('cms.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'', include('django.contrib.flatpages.urls')), (r'^tiny_mce/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/Users/userName/Development/django/sites/addin/ tinymce/jscripts'}), ) Instead of this: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^cms/', include('cms.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^tiny_mce/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/Users/userName/Development/django/sites/addin/ tinymce/jscripts'}), (r'', include('django.contrib.flatpages.urls')), ) I initially thought the code in the book was a bit odd considering that it's presented like this: from django.conf.urls.defaults import * urlpatterns = patterns('', # Example: # (r'^cms/', include('cms.foo.urls')), # Uncomment this for admin: (r'^admin/', include('django.contrib.admin.urls')), (r'^tiny_mce/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/Users/userName/Development/django/sites/addin/ tinymce/jscripts'}, ) The tuple seems to be missing the closing parens, and the tuple list isn't closed in the code. Hope this helps someone sort things out :) On Jul 9, 2:43 pm, LRP <[EMAIL PROTECTED]> wrote: > Many many thanks to all who helped. > > Problem solved. > > There seem to have been two issues: > > 1) Mathias pointed out missing slash. > > 2) I'd copied only the top tiny_mce directory into my .../media/ > jscripts/tiny_mce directory. > > Mario, I'll definitely look at your note again when I try out django > under Apache. But, for now, I'm still struggling with the > fundamentals. > > I apologize to all for all the hassle stirred up by my clumsiness. > This is a great list. > > Best wishes, > > Lloyd --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---