On Fri, May 17, 2019 at 10:23 AM Mario R. Osorio <[email protected]>
wrote:

> This question is OT however; *cuid *being a js library, what you have to
> do is have your templates include the necessary libraries and make use of
> them.
>
>
>
Well, it's not exactly off topic. I am specifically asking about
integration with Django templates so that I can generate CUIDs in the
client browser.
Currently, I do it in the view via the Python library
<https://github.com/necaris/cuid.py>. But that always uses the information
from the server.
But thanks anyway.



>
>
>
> On Thursday, May 16, 2019 at 9:09:13 AM UTC-4, Timothy Cook wrote:
>>
>> I have a project where I want to generate a CUID client side to send to a
>> REST API service as the document name.
>>
>> My question is how to best include the cuid library
>> <https://github.com/ericelliott/cuid> so that the client browser is
>> generating the CUID and how to implement this in the template so I can post
>> this cuid back to the view.
>>
>> Thanks,
>> Tim
>>
>> --
>> Timothy W. Cook, CEO
>> Data Insights, Inc.
>>
> --
> 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 [email protected].
> To post to this group, send email to [email protected].
> 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/9a4e9bd3-398c-4796-bc39-f895973b0feb%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/9a4e9bd3-398c-4796-bc39-f895973b0feb%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>


-- 
Timothy W. Cook, CEO
Data Insights, Inc.

-- 
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 [email protected].
To post to this group, send email to [email protected].
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/CAENjPc-JDiJzDRV_QC142rcW_nALorEUtFmF3RrWtgZiADgaKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to