Thank all, I just moved the import to the local function and it works. 
Still re-factoring the codes to overcome this issue completely 

On Friday, April 12, 2013 1:08:26 AM UTC+7, bub...@gmail.com wrote:
>
> Hi all,
>
> I have a util file, which will do some stuffs and then, update a model (so 
> i have to import the models in this file). Also, in my models file, I 
> trigger a post_save signal to call the util file file (so I have to import 
> this file in the models file). Obviously, I will get a circle import 
> problem. Therefore, what is the best practices in this situation ?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to