Re: What replaced is_ajax() is django 4

2022-02-24 Thread Jason

Reason why:
https://code.djangoproject.com/ticket/30997
https://groups.google.com/d/msg/django-developers/F8F5b1kEA34/FhqCmRw9BwAJ

Documentation in release notes:
https://docs.djangoproject.com/en/4.0/releases/3.1/#id2
On Thursday, February 24, 2022 at 2:09:13 AM UTC-5 ezra...@gmail.com wrote:

> Hello team.
> Am sending jquery requests in django 4 but I have just realised that 
> checking if the requests were from jquery using is_ajax and then perform 
> ajax related actions is not possible. What is replacing this, and why would 
> such a cool feature be removed.
>
> Thanks
>

-- 
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/4122cdac-1e7b-4032-ac51-894f80517982n%40googlegroups.com.


Looking for experienced Django backend engineer

2022-02-24 Thread anderso...@gmail.com
Dear all,

I'm a SDE, trying to start a startup company.
Since I learned Django before, so, I plan to use Django to build the 
backend.

But still, we need an backend engineer for our server.
Ping me if you are interestd.

You can consider this as both freelancer, and stock if it is a good match. 

Please send me your Resume.

Best wishes.

Tony Wong

-- 
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/f13e6f81-8490-4418-9d38-ad14ba17790fn%40googlegroups.com.


Re: how to include image dynamically

2022-02-24 Thread Kasper Laudrup

On 24/02/2022 11.57, Suresh_Chilukuri wrote:

I tried using below method but the image was not displaying



Which "method"?

All you've provided is an image of some parts of some Django template code.

That is in no way enough for anyone to be able to help you.

Describe your problem in detail if you want anyone to have a chance to 
help you.


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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/6856b014-060c-59e6-0754-8bfcbe9ce58e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: how to include image dynamically

2022-02-24 Thread Suresh_Chilukuri
I am asking how we can get image from function based views dynamically in
template file

Where images are present at static folder
-static
  - Images
 - image1



On Thu, 24 Feb, 2022, 8:16 PM Kasper Laudrup,  wrote:

> On 24/02/2022 11.57, Suresh_Chilukuri wrote:
> > I tried using below method but the image was not displaying
> >
>
> Which "method"?
>
> All you've provided is an image of some parts of some Django template code.
>
> That is in no way enough for anyone to be able to help you.
>
> Describe your problem in detail if you want anyone to have a chance to
> help you.
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6856b014-060c-59e6-0754-8bfcbe9ce58e%40stacktrace.dk
> .
>

-- 
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/CAF5vPAbi%3D8AFbusWz_KEz8MR3z0n-bZBQc2JYJbxqtUBfC4o3Q%40mail.gmail.com.


Re: how to include image dynamically

2022-02-24 Thread Kasper Laudrup

On 24/02/2022 16.41, Suresh_Chilukuri wrote:
I am asking how we can get image from function based views dynamically 
in template file




What do you mean by dynamic?

Do you mean passing a list of files from a specific sub directory in the 
static folder to the template?


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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/42250de8-c569-ed45-f1d6-7c2143e79050%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Database objects do not implement truth value testing

2022-02-24 Thread Kasper Laudrup

On 24/02/2022 16.18, Pradumn Maurya wrote:
Dear Sir/Mam I just face this problem when i am using makemigrations 
cmd, how can i fix this. Can any one help me solve this problem?




I'm fairly certain no one will be able to help you solve this problem if 
you don't describe it a bit more in detail.


Keep in mind no one here has any idea what you are trying to do or what 
your code looks like.


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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c53d5ba4-12db-2659-a688-a770fa2e4849%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Looking for experienced Django backend engineer

2022-02-24 Thread Sunday Iyanu Ajayi
Hi Tony,

You can share a mail of what the project is about. I may be interested.

Regards
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *



On Thu, Feb 24, 2022 at 3:05 PM anderso...@gmail.com <
anderson.wan...@gmail.com> wrote:

> Dear all,
>
> I'm a SDE, trying to start a startup company.
> Since I learned Django before, so, I plan to use Django to build the
> backend.
>
> But still, we need an backend engineer for our server.
> Ping me if you are interestd.
>
> You can consider this as both freelancer, and stock if it is a good match.
>
> Please send me your Resume.
>
> Best wishes.
>
> Tony Wong
>
> --
> 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/f13e6f81-8490-4418-9d38-ad14ba17790fn%40googlegroups.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/CAKYSAw1%2BhdmtYyn8U-eKk2kV74d52Tnsjk_DryNo2%3D4GunScOg%40mail.gmail.com.


Re: how to include image dynamically

2022-02-24 Thread Adeyemi Deji
They are two ways to this. But would talk about one, the other is more
practical. Takeout the baseUrl variable and the forward slash, then use {{
cmp.img.url }}. This should work and if it doesn't. Look for solutions by
googling it. Sure u would find answers to ur question.

On Thu, 24 Feb 2022, 17:20 Kasper Laudrup,  wrote:

> On 24/02/2022 16.41, Suresh_Chilukuri wrote:
> > I am asking how we can get image from function based views dynamically
> > in template file
> >
>
> What do you mean by dynamic?
>
> Do you mean passing a list of files from a specific sub directory in the
> static folder to the template?
>
> 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 view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/42250de8-c569-ed45-f1d6-7c2143e79050%40stacktrace.dk
> .
>

-- 
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/CAEO1GrqZPPdBstOiEQh%2BJ-%2B7gzuLp0uQj8PdEACch21_%2B%2BNKWw%40mail.gmail.com.


Re: how to include image dynamically

2022-02-24 Thread Adeyemi Deji
Make sure u configured the Media_root and Media_url appropriately in the
settings.py file

On Thu, 24 Feb 2022, 18:18 Adeyemi Deji,  wrote:

> They are two ways to this. But would talk about one, the other is more
> practical. Takeout the baseUrl variable and the forward slash, then use {{
> cmp.img.url }}. This should work and if it doesn't. Look for solutions by
> googling it. Sure u would find answers to ur question.
>
> On Thu, 24 Feb 2022, 17:20 Kasper Laudrup,  wrote:
>
>> On 24/02/2022 16.41, Suresh_Chilukuri wrote:
>> > I am asking how we can get image from function based views dynamically
>> > in template file
>> >
>>
>> What do you mean by dynamic?
>>
>> Do you mean passing a list of files from a specific sub directory in the
>> static folder to the template?
>>
>> 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 view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/42250de8-c569-ed45-f1d6-7c2143e79050%40stacktrace.dk
>> .
>>
>

-- 
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/CAEO1GroCvpACNOcY7ngM%3DtC%3DpKoprUAONP8qbymkruhP-aui2Q%40mail.gmail.com.


Re: Looking for experienced Django backend engineer

2022-02-24 Thread anderso...@gmail.com
the domain name we bought is : datamall DOT ai.
In short, it help AI company to collect data they need ,and users get paid 
for submitting the data.

We treat all user uploaded data as NFT, thus we are also building our 
public blockchain, but it might be centralized. Just like E-CNY, but we 
plan to open all transaction history.

Best wishes.
Tony 


On Thursday, February 24, 2022 at 8:34:50 AM UTC-8 sunne...@gmail.com wrote:

> Hi Tony,
>
> You can share a mail of what the project is about. I may be interested.
>
> Regards
> *AJAYI Sunday *
> (+234) 806 771 5394 <+234%20806%20771%205394>
> *sunne...@gmail.com*
>
>
>
> On Thu, Feb 24, 2022 at 3:05 PM anderso...@gmail.com  
> wrote:
>
>> Dear all,
>>
>> I'm a SDE, trying to start a startup company.
>> Since I learned Django before, so, I plan to use Django to build the 
>> backend.
>>
>> But still, we need an backend engineer for our server.
>> Ping me if you are interestd.
>>
>> You can consider this as both freelancer, and stock if it is a good 
>> match. 
>>
>> Please send me your Resume.
>>
>> Best wishes.
>>
>> Tony Wong
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f13e6f81-8490-4418-9d38-ad14ba17790fn%40googlegroups.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/f9dd0af2-8917-4379-8dec-0a583db3605cn%40googlegroups.com.