Hello, When you say "call [an instance of an object]", what exactly do you mean?
Could you tell us more about what this class/object is and why you need to "call" (access?) it in an unusual way? Regards, Antonis Antonis Christofides http://djangodeployment.com On 2018-01-08 22:02, Kasper Laudrup wrote: > Hi again, > >> >> So my question is more related to any kind of process that should be >> managed from a Django app. >> >> >> Django does not manages processes, Django is a web framework. Python can >> manage processes. What kind? Any :) >> > > I am fully aware of that, thank you :-) > > I guess my question is then actually more: if I would like to have one single > instance of an object that I can call safely from models (or possibly views or > whatever) where would be the right place to put that class and code? > > It seems like a fairly basic question, but I haven't found any obvious > solution for that by reading the documentation, so maybe I'm just missing > something basic? I must admit my experience with Django (although a good one) > is fairly limited. > > Thanks a lot for your help so far. > > Kind regards, > > Kasper Laudrup > -- 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 https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/374499b1-76b0-654a-92dd-e506523fc1a4%40djangodeployment.com. For more options, visit https://groups.google.com/d/optout.