How to enable/disable a hyperlink based on the clock

2022-08-23 Thread Mike Dewhirst
I want to provide a link to join a regular Zoom webinar but 
enable/disable it just like a garden sprinkler.


Enable at noon on Friday, disable fifteen minutes later. Repeat for next 
Friday.


It feels like I need some sort of push. I'm not a js person.

Perhaps I should be looking at htmx?

Any hints?

Thanks

mike

--
Signed email is an absolute defence against phishing. This email has
been signed with my private key. If you import my public key you can
automatically decrypt my signature and be sure it came from me. Just
ask and I'll send it to you. Your email software can handle signing.

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/760895a6-8415-ddd4-303d-5846ba4f1fc6%40dewhirst.com.au.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Looking for Paid Internship

2022-08-23 Thread Mad Scientist
https://scrimba.com/allcourses/

On Tue, Aug 23, 2022, 6:18 AM Muneeb Mughal 
wrote:

> Hello I have experience previously on wordpress ,
> but I want to move to Django
> i have made one project which is live and working fine till now .
> I am looking for good internship which leads to job so I can learn and
> earn so that doesnt hurt my current finances the only reason i cant more
> from my previous work .
>
> --
>
>
>
> *RegardsMuneeb Afzal*
>
> --
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAApwjV2T521yWJdKk62Np46oH3QgKOjmv%3DE7NdahxghC90dXvw%40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEUNgv5f6pQCovLH4dhe-vbOLjFMBmm5JgF%2BgTdDRkk4kuS-zQ%40mail.gmail.com.


Re: I want to fetch the value of radio field for updation but it only doesn't fetch even i use condition and value does comes but doesn't checked

2022-08-23 Thread Ammar Mohammed
Email





{% with val_gen=datas.gender%}


{{val_gen}}


gender:

Male 


Female 





{% endwith %}





On 22 Aug 2022 08:57, "Abhinandan K"  wrote:

> Email
> 
> {% with val_gen=datas.gender%}
> {{val_gen}}
> gender:
>
>  checked{% endif %} >Male
>  checked{% endif %}>Female
> 
> {% endwith %}
> 
>
> --
> 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 view this discussion on the web visit https://groups.google.com/d/
> msgid/django-users/CAA6_Mp44RQjMeWfVW82vvT2-GLrv5Jpu2nb_6edWON_3sgXQwQ%
> 40mail.gmail.com
> 
> .
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHs1H7t75MThqaGW7GZkbbPWOv0-%2BMUgq1VWFBGRgRAmiVYoww%40mail.gmail.com.


Re: I want to fetch the value of radio field for updation but it only doesn't fetch even i use condition and value does comes but doesn't checked

2022-08-23 Thread Ryan Nowakowski
On Mon, Aug 22, 2022 at 12:26:40PM +0530, Abhinandan K wrote:
>  checked{% endif %} >Male
>  checked{% endif %}>Female
> 

Do you need quotes around Male/Female like this?

{% if val_gen == 'Male' %}

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20220823133115.GE7295%40fattuba.com.


Re: One model field map to two database columns

2022-08-23 Thread Ryan Nowakowski
On Mon, Aug 22, 2022 at 05:56:00AM -0700, Dann Luciano wrote:
> It is possible to map one field in a Model to two or more database columns? 
> For example:
> 
> class User(models.Model):
> encrypted_hash_email = EncryptedHash()
> 
> then in database we have
> 
> encrypted_email and hash_email columns?

The django-money package stores the value in a DecimalField and the
currency in a CharField but abstracts both behind a single MoneyField[1].

[1] 
https://github.com/django-money/django-money/blob/main/djmoney/models/fields.py#L168

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20220823132922.GD7295%40fattuba.com.


Looking for Paid Internship

2022-08-23 Thread Muneeb Mughal
Hello I have experience previously on wordpress ,
but I want to move to Django
i have made one project which is live and working fine till now .
I am looking for good internship which leads to job so I can learn and earn
so that doesnt hurt my current finances the only reason i cant more from my
previous work .

-- 



*RegardsMuneeb Afzal*

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAApwjV2T521yWJdKk62Np46oH3QgKOjmv%3DE7NdahxghC90dXvw%40mail.gmail.com.