Re: Generate CUID Client Side

2019-05-17 Thread Timothy Cook
On Fri, May 17, 2019 at 10:23 AM Mario R. Osorio 
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 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/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_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 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/CAENjPc-JDiJzDRV_QC142rcW_nALorEUtFmF3RrWtgZiADgaKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Generate CUID Client Side

2019-05-16 Thread Timothy Cook
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
 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 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/CAENjPc-oo9S5Zjk7Ge3sAM2wq1fFB-VzwRitN0KLMcJrKwsxNg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Use Email to Login With Django Auth

2018-11-01 Thread Timothy Cook
I use this and it works great.
https://django-allauth.readthedocs.io/en/latest/installation.html



On Thu, Nov 1, 2018 at 9:08 AM Ryan Shepard  wrote:

> How could i go about allowing people to also use their email to sign into
> Django instead of a username? I have done research my self and tried
> creating my own backend for it. But it doesn't work.
>
> --
> 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/d6046362-5149-4edf-adc8-273547213748%40googlegroups.com
> 
> .
> 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 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/CAENjPc-GrHNi578a23XF6EUZa8-wc3eF4nZNd-3OwOZLYZ1aVw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.