Hi all,
How to write a pytest case to get coverage report to 100%.
```
def Account_security(request):
try:
if ((request.session.get('email') is None) or
(request.session.get('email') == "")):
return HttpResponseRedirect("/home")
dict_act = {}
email = request
Is anybody know how to run python script with slack...for example run the
scrapped data from fiplkart bot working on slackis anybody have answer
reply as soon as possible
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from th
On 18/05/2022 14.05, Abhinandan K wrote:
Is anybody know how to run python script with slack...for example run
the scrapped data from fiplkart bot working on slackis anybody have
answer reply as soon as possible
How is this is any way related to Django?
Kind regards,
Kasper Laudrup
--
On 18/05/2022 09.20, Salima Begum wrote:
How to write a test case for total function without missing any
statement. Please help me out how to write a test case for above
function.
You inject values in your test case to make sure all branches are covered.
Sometimes that requires a bit more tri
On 13/05/2022 13.56, Nicolas Passarini wrote:
Hello, i ve deployed a django app in apache. the problem is that i works
for 5 minutes and then it stops responding.
That sucks. Sounds like you have some issues you need to look into.
Good luck.
Kind regards,
Kasper Laudrup
--
You received t
On 15/05/2022 03.15, Wisdom Ugochukwu wrote:
I hosted a Django project on Name Cheap, it works well on development,
but on going live I noticed image creation and update is not working
here is the error I'm getting! Please kindly help
/lib64/libc.so.6: version `GLIBC_2.14' not found (required
Good afternoon! I'm new to programming and I'm making a website in php, I
would like to know if there is a way for my website to update without
reloading the page and always going to the top of it.
sry for the english
Dias André,
greetings.
--
You received this message because you are subscrib
On 19/05/2022 4:23 am, Dias André wrote:
Good afternoon! I'm new to programming and I'm making a website in
php, I would like to know if there is a way for my website to update
without reloading the page and always going to the top of it.
sry for the english
When I was new to web programming
The code below appears to work perfectly but it worries me because I
have never used the global keyword before.
Is there a generous guru who will criticise the code constructively for
me please?
The use case is Admin review of payment gateway receipt records.
Users in the manager group can h
Hi,
Thank you for your response. We are basically writing a unit test for
Account_security function with this unit test code.
Unit test code :
> def test_Account_security_url(self):
> path = reverse('account-security')
>
This has a pretty bad "smell", and I could imagine it being quite brittle
unless developers tip-toe around the code.
I'd suggest replacing this by implementing get_readonly_fields(), which
returns a fixed list based on the user type. It's much simpler, and much
more difficult to get wrong, in my o
11 matches
Mail list logo