django import a view function
I have a django application xxx which does a number of things. 

I also have a sepaerate application yyy. Which wants to call one of the functions of xxx.

Is there a way for me to import the functions?

For example, in yyy can i say 

<code>from toplevel.xxx import doit</code>

Or what is the best approach, I dont want to duplicate code.
django import a view function
===

I have a django application xxx which does a number of things. 

I also have a sepaerate application yyy. Which wants to call one of the functions of xxx.

Is there a way for me to import the functions?

For example, in yyy can i say 

<code>from toplevel.xxx import doit</code>

Or what is the best approach, I dont want to duplicate code.