Django framework plugin

34 views
Skip to first unread message

Pawan Soni

unread,
Aug 29, 2014, 6:51:03 AM8/29/14
to django...@googlegroups.com

Hi,

I am trying to create a Django application as a plugin to integrate with other Django framework applications or websites (for example: a Payment gateway plugin).  My application has package hierarchy as mentioned below.

               

                                DjangoProject  

                                    |=> Djangowork

                                                |templates        

                                                |=>_inti_.py

                                                |        settings.py

                                                |       urls.py

                                                |        wsgi.py

                                                | views.py

                                   |=>manage.py

 

I have already implemented the functionalities for the application but I am unable to convert the package into a plug-in. Is there a way to convert it into a plug-in, to be used with other Django websites or applications? If not as a plug-in, what would be other ways to accomplish such tasks?

I will be grateful for any help regarding the queries I have. Thanks in advance.

Collin Anderson

unread,
Aug 30, 2014, 11:08:44 AM8/30/14
to django...@googlegroups.com
All you need to do is make sure the directory containing "Djangowork" is on the python path, then just add "Djangowork" to the INSTALLED_APPS of a different project.

Reply all
Reply to author
Forward
0 new messages