Grupo Django schrieb: > Hello! > I want to add a block in the site that shows the "Last topics" of the > forum. > The forum is a MyBB. I'd like to know the best approach to do it. > - Create a model based in the tables that I want to retrieve and use > it as a normal model in django. > - Use pure SQL to do the same. > > Thank you! >
Hi :-) I'm still quite new with Django, so these ideas might appear quite naive: I'm not completely sure, but doesn't MyBB offer some RSS/Atom feeds? At least as an alternative you could also use those, I guess. On the other hand opening a new connection using some kind of singleton class based model should also do the trick. (I just suggest this since I don't know if Django already comes with some tricks to handle multi-database connections :-)) Regards, Horst --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---