OK, but why do you need this? What functionality is this going to have?

Antonis Christofides
http://djangodeployment.com

On 2018-01-08 23:43, Kasper Laudrup wrote:
> Hi Antonis,
>
> On 2018-01-08 22:10, Antonis Christofides wrote:
>> Hello,
>>
>> When you say "call [an instance of an object]", what exactly do you mean?
>>
>
> Sorry, I meant an instance of a class or just an object.
>
>> Could you tell us more about what this class/object is and why you need to
>> "call" (access?) it in an unusual way?
>>
>
> Nothing unusual about the class or object, sorry about the confusion.
>
> My question is probably fairly simple and I'm really sorry if there's
> something very basic that I'm missing.
>
> I want to create an instance of some class when the Django application I'm
> creating is ready (eg. by connecting to the ready() signal or similar) and
> then be able to call methods on that single instance from my models.
>
> Thanks a lot for the 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/aca7b60d-3aa5-a711-8ab1-cb36a538895a%40djangodeployment.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to