Re: Hire remote Python codeer

2024-01-01 Thread Ngaga Dancan
Good morning, Done Sir.

On Tue, Jan 2, 2024, 06:25 Joseph Emeka  wrote:

> HI
> Good morning. If this position is still I with to apply for it.
> Find my GitHub link https://github.com/Amasiani
>
> On 24 Oct 2023, at 02:18, 许三高  wrote:
>
> Hire remote Python codeer
>
> We are currently looking for a talented and experienced remote Python
> programmer to join our team. If you have at least three years of work
> experience, the ability to independently develop front-end and back-end
> solutions, strong familiarity with MongoDB, the ability to write automation
> scripts, and proficiency in Linux system maintenance, then we want to hear
> from you .
>
> Require:
>
> At least three years of Python programming experience.
> Proficient in developing front-end and back-end solutions independently.
> Very familiar with MongoDB database administration.
> Ability to write automation scripts to streamline processes.
> Proficient in Linux system maintenance and troubleshooting.
> Have experience in developing web development frameworks flask and django
> salary:
>
> Salary range: $1000-$1500 per month.
> Starting salary: $1,000 per month.
> The probation period is three months, and the salary can be adjusted based
> on work performance.
> Maximum monthly salary is capped at $1,500 based on development skills and
> performance ratings.
> telegram: https://t.me/easychat3
>
> --
> 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/ec504c58-3352-4ade-a59c-876038dd94fan%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/F87BDBEC-0132-4DAE-A654-90678A80BC7E%40gmail.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/CAAzh8pJMdnbSSHgv-QqAqb3d7Kip6A%3DzPpERBev_PbDkRTUuPQ%40mail.gmail.com.


HttpResponse works but HttpResponseRedirect does not

2024-01-01 Thread Mike Dewhirst

I wonder if someone can point out my mistake?

The following code happily downloads a constructed text file ...

    csv = make_csv(context['result'])

    # This downloads a csv file to the user desktop

    return HttpResponse(

    csv,

    headers={

    'Content-Type': 'text/plain',

    # Set the content-disposition header to prompt user download

    'Content-Disposition': f'attachment; filename="{fname}.csv"'

    },

    )


... but leaves all the entered (unbound) form data on display. However, 
I want the form cleared ready for the next set of user data.


The following code clears the entered data but fails to download the 
constructed file.


    csv = make_csv(context['result'])

    # This fails to download a csv file

    return HttpResponseRedirect(

    "",

    csv,

    headers={

    'Content-Type': 'text/plain',

    # Set the content-disposition header to prompt user download

    'Content-Disposition': f'attachment; filename="{fname}.csv"'

    },

    )


Many thanks for any help

Cheers

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. 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/3b59be97-0cf9-4654-97ac-86da72ed4737%40dewhirst.com.au.


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Hire remote Python codeer

2024-01-01 Thread Joseph Emeka
HI
Good morning. If this position is still I with to apply for it.
Find my GitHub link https://github .com/Amasiani

> On 24 Oct 2023, at 02:18, 许三高  wrote:
> 
> Hire remote Python codeer
> 
> We are currently looking for a talented and experienced remote Python 
> programmer to join our team. If you have at least three years of work 
> experience, the ability to independently develop front-end and back-end 
> solutions, strong familiarity with MongoDB, the ability to write automation 
> scripts, and proficiency in Linux system maintenance, then we want to hear 
> from you .
> 
> Require:
> 
> At least three years of Python programming experience.
> Proficient in developing front-end and back-end solutions independently.
> Very familiar with MongoDB database administration.
> Ability to write automation scripts to streamline processes.
> Proficient in Linux system maintenance and troubleshooting.
> Have experience in developing web development frameworks flask and django
> salary:
> 
> Salary range: $1000-$1500 per month.
> Starting salary: $1,000 per month.
> The probation period is three months, and the salary can be adjusted based on 
> work performance.
> Maximum monthly salary is capped at $1,500 based on development skills and 
> performance ratings.
> telegram: https://t.me/easychat3
> 
> -- 
> 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/ec504c58-3352-4ade-a59c-876038dd94fan%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/F87BDBEC-0132-4DAE-A654-90678A80BC7E%40gmail.com.


Django Playing with API

2024-01-01 Thread Habibu Yasin
hi every one,
I am new to Django working with the documentation on the part of dealing 
with API, I tried to add data via the shell,
“q = Question(question_text="What's new?", pub_date=timezone.now())”

Traceback (most recent call last):
  File "", line 1, in 
  File 
"/Users/macbookpro/Documents/Projects/Design/Python/myenv/lib/python3.11/site-packages/django/db/models/base.py",
 
line 567, in __init__
raise TypeError(
TypeError: Questions() got unexpected keyword arguments: 'question_text'

Please help

-- 
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/9908c66f-7c3c-45f3-a313-e4741ecd2868n%40googlegroups.com.