> Hi all, > > I'm trying to have comments on my sites shown on all other sites, as I > have a 'mobile' skin for my site on a separate domain and site_id. > > So for example: > Joe posts a comment on http://www.site1.mydomain.com > > Mary goes to http://www.mobilesite.mydomain.com and can see and > respond to Joe's comment. > > I'm not highly experienced in Django or programming in general, it > looks like I will need to override some functions and classes such as > BaseCommentNode and some template tags, and remove 'site__pk = but > I'm not sure which ones or how to do it.
When I did something similar, I had the same SITE_ID for the two projects. The two sites still had their own settings.py and application source. The key things that were different in settings.py were that ROOT_URLCONF pointed to different URLs, and TEMPLATE_DIRS pointed to different top level templates. In that way I have different sites, but still referring to the same database tables, and crucially the same SITE_ID, so you wouldn't have the problem with django-comments. Would that work for you? Tim. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.