Re: Using a Python module

2008-02-02 Thread MariusB
Thanks for your help, Jeff! --~--~-~--~~~---~--~~ 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

Re: Using a Python module

2008-01-27 Thread Jeff Anderson
Yes, just import it! django is still python! In the docs, there is an example on how to dynamically generate pdfs. This calls an external python module. http://www.djangoproject.com/documentation/outputting_pdf/ I do this in one of my projects. You can import any python module you want! Jeff A

Using a Python module

2008-01-27 Thread MariusB
I have a Python module with two classes: - one for crawling and creating the database, - and the other for doing full-text searches by querying the SQLite database. How can I use this module in Django, to import it or something? I want to pass on the arguments from the Web form to my module and