Re: login with token instead of password

2024-01-16 Thread 'Kasper Laudrup' via Django users
Isn't this pincode_auth_app just the same as the standard Django 
password authentication, only the password is stored in plain text and 
limited to four characters?


Maybe I'm missing something?

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/3e7ec0be-1c03-42e5-a1de-18bfbb1be9b4%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Microsoft Teams Free Download Mac

2023-12-08 Thread 'Kasper Laudrup' via Django users

On 06/12/2023 19.29, Eliezer reuven Ramirez ruiz wrote:

Why did you send that? ,
I've checked the URL and that has a virus.

maybe you know that but I don't stupid my son,
look for some other people.



No reason to waste your time replying to things like this. It's most 
likely a bot.


Just forward it to ab...@gmail.com (since it comes from a gmail account) 
and hope that the account will be closed.


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/71f4d73a-0627-45d4-a281-b4cd75f95978%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: auth_user' doesn't exist

2023-12-02 Thread 'Kasper Laudrup' via Django users

On 02/12/2023 07.56, Nurlanbek Musaev wrote:

hello everyone
I get an error when I do makemigrations. I tried many things. It didn't 
happen
django.db.utils.ProgrammingError: (1146, "Table 'prodb1.auth_user' 
doesn't exist")




If you've just tried many things you need to try more things. At some 
point you'll have tried really many things and then it will happen.


In cases like these you have to try many, many things.

Hope that helps.

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/ee020ab6-9daf-4df7-a907-7d3d25faabd4%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Issue in Django-RIver workflow Package

2023-11-30 Thread 'Kasper Laudrup' via Django users

On 30/11/2023 11.29, Akshay Prakash wrote:
I have an issue in Django-River Package. My River version 
is 3.3.0(Django=3.2,python=3.9).i share the screenshot of the error.




You can report issues to the Django-river project here:

https://github.com/javrasya/django-river/issues

but the maintainers would mostly likely not be willing to help you 
unless you actually describe your issue properly instead of just sending 
them a screenshot.


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/9cbee7e9-2539-4ef3-92be-3d4c3e399b63%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Encrypt entire Django project and decrypt it in ram when starting server

2023-11-20 Thread 'Kasper Laudrup' via Django users

On 20/11/2023 12.02, Om Khade wrote:

Hey Kasper,

We have a method to securely distribute the key for decryption in a way 
that the client won't be able to use it for decryption on his own but to 
run the Django project we will have to decrypt the code at some 
location, I want to make it hard for anyone to access it during this 
transition. In the end, I want to make it hard for anyone to bypass the 
licensing mechanism by making changes to the code or to understand the 
validation logic in place to detect code changes.




Sure, you can make it "hard" with different kinds of obfuscation but in 
the end the client will still have access to the key since the client 
has full control over the machine including reading whatever is stored 
in memory.


You can make the validation logic so complicated that it's harder to 
reverse engineer but that will without doubt introduce a lot of bugs and 
annoyances for your paying customers while you haven't effectively 
stopped anyone from accessing your keys anyway.


Security by obscurity and DRM doesn't work and it's not worth trying to 
implement.


That's just my (and many others) opinion of course. If you want to try 
to implement something that is logically impossible to do then by all 
means go ahead.


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/75be0980-c31b-b458-a416-b7056f4a1fc3%40stacktrace.dk.


Re: Encrypt entire Django project and decrypt it in ram when starting server

2023-11-20 Thread 'Kasper Laudrup' via Django users

On 20/11/2023 07.25, Om Khade wrote:
Is there a way to decrypt the code in memory or run the Django project 
from the encrypted code without exposing the decrypted code to the client?




No, of course there isn't.

In order to decrypt the data the client needs the key. You can try to 
obscure it in various ways but in the end the client will still need the 
key so that's fairly pointless.


Even if you were to be able to hide the key somehow, eg. providing some 
TPM like hardware where only you know the key, the data would still be 
available unencrypted in memory which sort of defeats the purpose.


Think about how huge companies with almost unlimited resources and 
control of the hardware (eg. Sony Playstation) have tried something 
similar without success.


Spend your energy on providing software your customers will be happy to 
use instead and ignore that someone might be violating whatever terms 
you distribute it under or let your lawyers deal with that.


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/224b9b0b-c957-0450-38ff-5c17e1dd5f7d%40stacktrace.dk.


Re: New User of Django

2023-11-15 Thread 'Kasper Laudrup' via Django users

On 15/11/2023 13.57, Yonis Abdulkadir wrote:

I need you to give me an explanation about how i can install and use it
thank you so much



https://docs.djangoproject.com/en/4.2/intro/

--
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/ced00921-c486-4421-870b-8eda6a3f757a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Encrypt entire Django project and decrypt in ram to start server.

2023-11-13 Thread 'Kasper Laudrup' via Django users

On 13/11/2023 06.15, Om Khade wrote:
I want to save my Django project on a shared server in encrypted format 
and build a script that decrypts the Django project files in ram and 
start the server so that code is not leaked or anyone is not able to 
tamper with it.


Is there a way to do this?



No, you cannot do that.

This is a task for your legal team not something you can handle technically.

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/ce3be7d9-2424-479e-8f4e-05e48bd51462%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: JOB

2023-10-16 Thread 'Kasper Laudrup' via Django users

On 15/10/2023 21.55, Adesewa Lola wrote:

Hi currently i'm having issues with my django.



We can all have issues with our django from time to time and it's 
nothing to be embarrassed about. Good that you are being honest about it.


Hope you'll get better soon.

Best 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/ed7bcce3-bc1e-46ef-a921-1803e5ea3a6f%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: My first Django project

2023-08-31 Thread 'Kasper Laudrup' via Django users

On 29/08/2023 10.52, Noah Dara wrote:


hi I'm new in Django I need your help my project is retirning the 
following in theterminal PS C:\Users\user\projects> & 
C:/Users/user/.virtualenvs/projects-O4ZjmZLG/Scripts/Activate.ps1
& : File 
C:\Users\user\.virtualenvs\projects-O4ZjmZLG\Scripts\Activate.ps1 cannot 
be loaded
because running scripts is disabled on this system. For more 
information, see

about_Execution_Policies at https:/go.microsoft.com/fwlink/?LinkID=135170.


This is not related to Django but related to Powershell on Windows. Have 
you tried reading the information in the link above where it says "for 
more information"? That would probably be a good start.


Also don't hijack other threads but start your own instead.

Thanks and 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/f8f3b7bd-1dd9-4c91-9170-ff5283e1d60b%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: How to access gmail

2023-08-27 Thread 'Kasper Laudrup' via Django users

On 26/08/2023 13.59, TASLIMA S wrote:


Dear friends,
I am developing an email signature web application.
How to access gmail mails to my application.



https://developers.google.com/gmail/api/guides

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/2e0feaab-2b9d-4901-9546-299a81e5ac3e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Connect::: frontend react and backend django

2023-08-23 Thread 'Kasper Laudrup' via Django users

On 23/08/2023 11.57, Kani Sbt wrote:

HI sir ,
Please Help me to how to solve this problem ,



You forgot to mention what the problem is. That makes it very hard for 
anyone to help you solve it.


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/09e8df4d-9d4a-dbf1-4574-47ec9ddfb08e%40stacktrace.dk.


Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users

On 10/08/2023 23.07, Abdoulaye SENE wrote:
i have to add fields to my class. because i have other fields.normal 
this problem has a solution




If this problem has a normal solution, have you considered using that 
solution?


I don't understand why you're looking for an abnormal solution if the 
normal solution will work just fine.


That is, of course, assuming that you want things to work. Maybe that's 
not the case?


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/0606ac32-60d0-4a17-94ba-deb44138c3a6%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: hello i have made my crud and it works well. but when i add fields in the class. the crud does not work

2023-08-10 Thread 'Kasper Laudrup' via Django users

On 10/08/2023 19.11, Abdoulaye SENE wrote:

class Administratif(models.Model):
nom = models.CharField(max_length=250)
prenom = models.CharField(max_length=250)
email = models.EmailField(max_length=250)
tel = models.IntegerField()
annEmploi = models.IntegerField(null=True,)

def __str__(self):
return self.nom



If it works when you don't add fields to the class, then don't add 
fields to the class.


That way it will continue to work and will not stop to work.

I assume you prefer it work instead of not working?

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/4179188c-96c0-4725-906c-01112c3ecf57%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature.asc
Description: OpenPGP digital signature


Re: Emali Response From the Django server.

2023-07-11 Thread 'Kasper Laudrup' via Django users

On 11/07/2023 12.54, Prateek Lodhi wrote:
I am using the app password for the email, as I said it's working on a 
local server. but it's not working on hosting server.




Never used CPanel but this should tell you everything you need to know 
to get it working:


https://support.cpanel.net/hc/en-us/articles/156454042-How-to-configure-an-SMTP-connection-for-PHP-and-other-scripts-and-websites

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/b11863d9-542a-1f35-3523-0ff231c13ffc%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hello everyone,happy to be here.

2023-07-01 Thread 'Kasper Laudrup' via Django users

On 29/06/2023 09.23, Apili Vicky wrote:

am failing to get apython path on the cmd interface..what could be wrong



Pretty much everything could be wrong, so I suggest you start by fixing 
that.


If that doesn't work, try doing nothing. Sometimes that's the best 
option in cases like this.


Hope that helps.

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/389b8f58-ab86-f8c6-ddc5-772a3b35663d%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Template doesn't run in browser

2023-06-02 Thread 'Kasper Laudrup' via Django users
If you want someone to spend their time writing a proper answer, start 
by writing a proper question.


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/a4a8a796-a7de-6f85-1dc4-81909e8211ba%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: UPLOAD STATIC FILES

2023-05-29 Thread 'Kasper Laudrup' via Django users

On 29/05/2023 04.24, Obiorah Callistus wrote:

please how can i display .css and .js files in my template



Have you considered reading the documentation?

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/ce267e59-2518-f897-d1b4-be148feaef98%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: I new to Django

2023-05-21 Thread 'Kasper Laudrup' via Django users

On 21/05/2023 16.26, khaled alshadbi wrote:

Hello friends
please help me to start from scratch... I want to build sales program 
using Python and Django




https://docs.djangoproject.com/en/4.2/intro/

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/18ff3218-30a3-1b88-3553-2f5cefec5310%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: I need to create account using sso Google in Django rest framework Amy suggestions?

2023-05-04 Thread 'Kasper Laudrup' via Django users

On 04/05/2023 16.33, carlos wrote:
Try this tuto 
https://episyche.com/blog/how-to-configure-google-sso-in-django-rest-framework-with-react <https://episyche.com/blog/how-to-configure-google-sso-in-django-rest-framework-with-react>




I'm not the one having problems finding tutorials on the internet but 
thanks anyway.


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/f207938c-3899-3be7-dc9e-18a2a5e3bbcc%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: I need to create account using sso Google in Django rest framework Amy suggestions?

2023-05-03 Thread &#x27;Kasper Laudrup' via Django users

Maybe this would be a start:

https://googlethatforyou.com?q=create%20account%20using%20sso%20Google%20in%20Django%20rest%20framework

--
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/e1fb705e-759b-126a-152c-cc5625d31e50%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: I have a problem with visual studio code

2023-05-03 Thread &#x27;Kasper Laudrup' via Django users

On 02/05/2023 16.56, Stan Hiebah wrote:

Can i have a solution for this?



If you want someone to take the time to write a proper answer, take the 
time to write a proper question.


Posting a screenshot is not a proper question. No one is able to guess 
what you're trying to do, what your setup is etc.


This is meant 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/a1762195-8a97-4a6d-3b8e-a2a720234de8%40stacktrace.dk.


Re: Django forms data save using ajax

2023-04-15 Thread &#x27;Kasper Laudrup' via Django users

On 15/04/2023 12.31, Prashanth Patelc wrote:

Hi all,

How to save employees information using ajax with django form , id 
should automatic generation ?




Try this helpful link:

https://googlethatforyou.com?q=django%20ajax%20form

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/b804c267-01fe-4d49-297e-842ff215f564%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Django urls error

2023-04-15 Thread &#x27;Kasper Laudrup' via Django users

On 14/04/2023 21.48, lalit upadhyay wrote:

*

I have copied my code here.



The code is from a project called "myproject"


Plz fix this error:



The error is from a project called "Tesing".

You can ignore all other answers you've been given so far until you 
figure out how that could be.


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/5844b278-648a-794d-55b2-45bf980c8948%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Report a Django bug how

2023-04-14 Thread &#x27;Kasper Laudrup' via Django users

On 14/04/2023 10.17, WILSON TALENGA wrote:
Hey guys, i need help, i have created my django project, added students 
to the system as admin but they don't reflect when i run the server.

what could the issue be.
below is views.py and index.html



Start a new thread instead of replying to a totally unrelated thread.

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/9f20b0bd-b364-46a7-52bc-c1459fc2f566%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Report a Django bug how

2023-04-14 Thread &#x27;Kasper Laudrup' via Django users

On 14/04/2023 01.06, Michael Starr wrote:
Hi, I double checked my code and Django is not displaying images. I'd 
like to report the bug but I need to be a django employee to do that. 
So, if anyone knows anyone on linkedin that works for django, tell them 
images don't display (on an operating system).




It is extremely unlikely that the reason you cannot get your code to 
work is caused by a bug in Django.


But anyone can open a bug report here:

https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/

I don't know what makes you think you have to be a "Django employee" 
(whatever that is).


Be prepared to create a proper bug report with a minimal example showing 
what you assume to be a bug in Django. Doing so will hopefully make you 
realize it's a bug in your code and not Django.


Good luck and king 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/56b206a9-a244-e524-ac32-f3ccb79a4a91%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: How to get data from another function in view to show it on template ?

2023-04-04 Thread &#x27;Kasper Laudrup' via Django users

On 03/04/2023 18.44, Ravindra Magar wrote:

How to get data from another function in view to show it on a template?



You call the function like you'd call any other function and pass the 
data in the context given to the template you want to render.


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/b1c48f6f-5a54-796b-2ab0-d51b3da5ea11%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: User creation

2023-03-28 Thread &#x27;Kasper Laudrup' via Django users

On 28/03/2023 06.16, Prashanth Patelc wrote:

Hi all,

I'm creating new user fields like email username firstname after 
creating user I need to send password creation email to end user ?




No, you don't have to but you can if you want.

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/e96c22e7-4c95-20e5-c7a8-537067f02fab%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Failed to send Email by Django

2023-03-24 Thread &#x27;Kasper Laudrup' via Django users

On 24/03/2023 05.16, bing wrote:
I am using the email module in Django to inform of users with their 
registration. Sometimes it can send email successfully, but more often, 
it fails. I searched for many solutions, but did not change this situation.




That is not really related to Django but more related to your email 
provider (or SMTP server).


It seems like you're using some Chinese email provider (139.com) and I 
have no idea what their reputation is, but it is completely up to the 
receiver of the email (or their email provider) whether they want to 
accept the email or not. If they don't it will most often just fail 
silently as you experience.


Not much to do about that. That's just how SMTP (email) has been 
designed (or not) back in the days.


You could try using another provider or setting up your own SMTP server 
(which is far from trivial to do and maintain).


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/848e8e93-b12e-4f7b-ae40-fff34f4e9de6%40stacktrace.dk.


Re: Help on Django + Plotly integration

2023-03-22 Thread &#x27;Kasper Laudrup' via Django users

On 22/03/2023 15.29, Praveen Kumar wrote:

Hi Team,

I need help in implementing Plotly with Django for interactive dashboards.

Please suggest.



Try following this:

https://googlethatforyou.com?q=plotly%20django

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/93cd0647-cf85-e209-07f0-580c72a84cc2%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Heroku error

2023-02-22 Thread &#x27;Kasper Laudrup' via Django users

On 22/02/2023 06.36, Benjamin Telford wrote:

I am going to upload my new version into Heroku. But something went wrong.



That sucks :-(

Maybe you should try again later?

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/ee5f3e6c-d7bd-09bd-a22a-782fe3778f0b%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: How can i Open binary files with Django?

2023-02-14 Thread &#x27;Kasper Laudrup' via Django users

On 14/02/2023 17.52, Lucas Matos Matos wrote:
In my case i want to take the file with a input type file from a form, 
that is in binary, open it and convert it to a text file, identify its 
characteristics  and return  something based in its characteristics to 
the user.


This might be what you're looking for:

https://pypi.org/project/python-magic/

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/4a904182-202d-b909-f9c0-7ecf9b3eee2c%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: How to get started with contibution

2023-02-05 Thread &#x27;Kasper Laudrup' via Django users

On 05/02/2023 20.31, Harjot Singh wrote:

Respected Sir/Madam,
I am a student of computer science engineering at chitkara university .I 
am new to open source contribution but well aware about python, c/c++, 
javascript, php, web .I would love to contribute to your organisation 
and also in GSOK contribution  .But could you please tell me how to get 
started. (edited)


You should probably start by reading this:

https://docs.djangoproject.com/en/dev/internals/contributing/new-contributors/

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/17d6d075-745f-7305-9b99-f10b4ce31b81%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Tutorial Django app, part 1

2023-01-24 Thread &#x27;Kasper Laudrup' via Django users

On 24/01/2023 12.14, javier lopez wrote:

I'm new with Django.
Trying to code te sample of tutorial i got the error that shows in the 
images.

Python version 3.11.1 and 3.9 too. Same error.
Anyone can help me?



Both errors are mentioned in the tutorial at 
https://docs.djangoproject.com/en/4.1/intro/tutorial01/


For the page not found:

"If you get an error page here, check that you’re going to 
http://localhost:8000/polls/ and not http://localhost:8000/.";


And for the warning on migrations:

"Ignore the warning about unapplied database migrations for now; we’ll 
deal with the database shortly."


Unfortunately there's no direct link to these paragraphs on the page, 
but I hope that will help you move on.


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/02929943-1f3b-5b46-6088-d9f9e96a539a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: how can i solve this error?

2023-01-23 Thread &#x27;Kasper Laudrup' via Django users

On 23/01/2023 18.20, Vanessa kabanyana wrote:
ModuleNotFoundError: No module named 'agriApp.apps.agriAppConfig'; 
'agriApp.apps' is not a package




Since you're the only one who knows what caused that error, you're also 
the only one who can solve it.


If you want someone else to help you consider taking the time to write 
an actual question instead.


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/96568578-f0de-81ca-3d93-6f829f1e438a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: any solutions guys on the ERROR admin E108 on list_display[2] attributes not callable

2023-01-10 Thread &#x27;Kasper Laudrup' via Django users

On 10/01/2023 12.53, E Mollz wrote:
: (admin.E108) The value of 
'list_display[2]' refers to 'stock', which is not a callable, an 
attribute of 'ProductAdmin', or an attribute or method on 
'products.Product'.




Unfortunately you've run into one of the issues modern science has not 
yet been able to solve. Nothing to do about that so you might as well 
give up.


Sorry about that.

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/e8c7b942-e925-1e95-e78b-3db34fad786e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hello, there was an error registering users!

2023-01-07 Thread &#x27;Kasper Laudrup' via Django users

On 07/01/2023 19.20, Dilmurod Dilmurod wrote:

django user activation via gmail gives error!
EROR: forbidden



You have an error on line 17 of settings.py. It should be:

VERY_SECRET_PASSWORD="hunter2"

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/5978f38e-fc0e-e7e5-7136-a9b08698f57e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: stuck in my payment gateway

2022-12-28 Thread &#x27;Kasper Laudrup' via Django users

On 28/12/2022 20.21, Music Fm wrote:
hi guys, so i am building a payment gate way using django but i am stuck 
on how to integrate cards in the views for the form. please i need help




Which kind of help do you think anyone will be able to provide when you 
haven't given any information at all?


If you don't learn how to communicate with other people you'll be stuck 
forever.


Consider start by reading this:

https://www.propublica.org/nerds/how-to-ask-programming-questions

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/9fc7fb33-7493-a10f-22ed-e720dde47f5e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: can any one help

2022-12-26 Thread &#x27;Kasper Laudrup' via Django users

On 25/12/2022 21.18, 'Gaurav Mishra' via Django users wrote:
i have a list of items .and user can generate pdf of that item but one 
condition is there when user genrate pdf after that when new item added 
in list and after adding if your generate pdf then he show only newly 
added item.


i need help?



I think you need help in writing a question. It is impossible to 
understand what you are trying to do, so no one will be able to help you.


Maybe share the code you have so far and take some time to write a 
question in proper English?


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/2a82314a-c8b5-9d4c-22aa-87887377a454%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Facing FileNotFound Error

2022-12-26 Thread &#x27;Kasper Laudrup' via Django users

On 26/12/2022 09.11, MaheshKumar wrote:

Hi,

I just facing an FileNotFound Error while runserver through the poetry 
shell with settings config.


Please help to resolve this



This will guide you in the right direction:

https://www.propublica.org/nerds/how-to-ask-programming-questions

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/43ffeb0f-15d0-1801-16aa-48ae7132a170%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Location identification with login

2022-12-25 Thread &#x27;Kasper Laudrup' via Django users

On 25/12/2022 20.52, tristant wrote:
Is there a mechanism in Django where we can identify the location of 
login? Any reading sources regarding this functionality would be much 
appreciated.




What you're looking for is something called geoip. To the best of my 
knowledge there's no such thing build into Django (wouldn't really make 
much sense anyway) but it should be trivial to query some geoip database 
from your code and get a somewhat reliable idea on where that IP is 
coming from.


There's no way that can be accurate but it might be useful for something 
like detecting a locale (that the user can then change) or similar.



Along the same line, is there a way to prevent a login attempt if the 
location is within certain blacklisted IP subnets?




It is trivial to spoof a source IP address once you reach the Django 
application part of the communication. That's more of a feature than a 
bug actually because of things like proxies etc.


If you want to blacklist IPs you have to do that on a lower level. For a 
single server running Linux something like netfilter/iptables might be 
used but I'm sure there are some more convenient scripts/services etc. 
that might be used. The main point is that you cannot do this from your 
Django code.


Hope that helps you in the right direction.

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/e83a7b85-6fd3-ced8-b4bf-fdf77650cfe8%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: NEW BIE HERE HOW CAN I LEARN DJANGO FAST

2022-12-24 Thread &#x27;Kasper Laudrup' via Django users

On 24/12/2022 14.03, Aayush Gurung wrote:
Hey, I just want to know how you've learned django framework and what 
resources did you use. It would be great if anyone can suggest me some 
studying resources.

Thank you.



https://docs.djangoproject.com/en/4.1/intro/tutorial01/

Also, no need to SHOUT YOUR SUBJECT. Just makes your post seem more like 
noise.


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/0ba7cfba-622b-e0ad-8943-335faaea3a03%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: ImportError:

2022-12-23 Thread &#x27;Kasper Laudrup' via Django users

On 23/12/2022 12.36, JOSEPH OCHELEBE O. wrote:

Am getting this errors bellow when i tried to run my Django project

     from . import views
ImportError: cannot import name 'views' from 'it_training_platform' 
(C:\Users\Dreams 
Reality\Desktop\Django-project\it_training_platform\it_training_platform\__init__.py)




This will guide you in the right direction:

https://www.propublica.org/nerds/how-to-ask-programming-questions

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/fb21bd74-5eb8-d331-ad97-b1ca1e1d94c1%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: AttributeError at /form/

2022-12-18 Thread &#x27;Kasper Laudrup' via Django users

Reading something like this:

https://betterprogramming.pub/how-to-ask-questions-about-programming-dcd948fcd2bd

should help guide you in the right direction.

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/00319842-092e-3210-43b1-c1152672968a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: how to upload large file in django

2022-12-16 Thread &#x27;Kasper Laudrup' via Django users

On 16/12/2022 09.52, MD SHARIF FOYSAL SHORON wrote:

can anyone help me that how to upload a 5gb video by django model form?



Uploading a large file is not different from upload a small file so hard 
to know what kind of help you need.


Maybe try to be a bit more specific. Are you facing any issues?

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/b47edc2f-d483-f8f4-0eff-2dde64cb89b7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Resolving my display

2022-12-15 Thread &#x27;Kasper Laudrup' via Django users

On 15/12/2022 15.37, Adekola Aderonmu wrote:

so sorry


Have you tried looking into what the error message informs you to do?

Does PMSdetails_data/urls.py have any URL patterns in it?

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/893d96a0-150e-a980-6ee7-da7df66a4bee%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Trubles with running the server

2022-12-07 Thread &#x27;Kasper Laudrup' via Django users

On 06/12/2022 21.04, al3tiby0 wrote:

Hi guys, when i tried to run the server, it gives me this error:

ModuleNotFoundError: No module named 'd'



Your INSTALLED_APPS should be an array, not a string.

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/e483e24a-982d-f2f3-8c1b-9a54d947c64a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Django Request

2022-11-22 Thread &#x27;Kasper Laudrup' via Django users

On 22/11/2022 12.20, nana kwame wrote:

Please how many requests can Django process based on real test conducted.


All of them.

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/b9779b25-6f0e-66a3-d441-69c2f437a8c5%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread &#x27;Kasper Laudrup' via Django users

On 16/11/2022 12.27, Jitendra kumar Patra wrote:

Could you share what type of error you are getting?



I'm not getting any errors. I don't know any more than you. We have to 
wait and see if Peter Mwai finds it relevant to share what is needed for 
any of us to help him.


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/16bb2392-007e-b1f7-aefb-d80df7c64825%40stacktrace.dk.


Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread &#x27;Kasper Laudrup' via Django users

On 16/11/2022 11.33, Raúl Luján Delgado wrote:

Hello Kasper,

Probably is a Windows problem, because if you follow the rules of 
differents tutorials, is easy to run the runserver,




Could be. Could be any kind of problem really. Your guess is as good as 
mine.


Only Peter Mwai knows but it doesn't seem like he find it necessary to 
share the relevant details so we can only guess.


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/91069261-4a1d-6a36-ca56-55f13aee56e5%40stacktrace.dk.


Re: MANAGE.PY RUNSERVER ERROR

2022-11-16 Thread &#x27;Kasper Laudrup' via Django users

On 15/11/2022 18.49, Peter Mwai wrote:

Hello experts,
I was trying to start the server using 'python manage.py runserver' but 
encountered this error,




You have a bug somewhere in your code. That most likely happened after 
you made a change somewhere.


Look into what you changed, fix the bug and the error should disappear.

Hope that helps.

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/27422127-db9b-b4f0-bca7-204642edaeb0%40stacktrace.dk.


Re: ValueError: invalid literal for int() with base 10: '127.0.0.1:3306'

2022-11-14 Thread &#x27;Kasper Laudrup' via Django users

On 14/11/2022 13.09, bloomlync monisha wrote:

  Hello Everyone,
                     I was facing an error while I am trying to connect 
the database through mysql, when I run the database I got this below 
mentioned error, here i attached the cmd screenshot and coding 
screenshot for you references.


Kindly help me to sort out this error.

Error:

     kwargs["port"] = int(settings_dict["PORT"])
                      ^^
ValueError: invalid literal for int() with base 10: 
'127.0.0.1:3306'


As the error message clearly states, the string '127.0.0.1:3306' cannot 
be converted to an integer in base 10.


You most likely meant to write 3306 instead and specify the IP address 
somewhere else, but of course, you're the only one who knows for sure.


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/523e7dc8-c838-b857-d318-bc368299bcda%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: You are seeing this page because DEBUG=True is in your settings file and you have not configured any URLs.

2022-11-09 Thread &#x27;Kasper Laudrup' via Django users

On 09/11/2022 10.52, Priyanka Sivaratri wrote:

Hi,
I am new to django and I appreciate your quick help. I am able to run 
django server on localhost:8000 but I am seeing this error :
*You are seeing this page because DEBUG=True is in your settings file 
and you have not configured any URLs.*


The error message tells you exactly what is wrong. If you don't 
understand it I highly suggest you follow the official Django tutorial 
before going any further:


https://docs.djangoproject.com/en/4.1/intro/

After that it should be much clearer what is wrong with your URL 
configuration.


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/84b0068d-2441-ad9f-aa6e-dfea764b51fa%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread &#x27;Kasper Laudrup' via Django users

On 08/11/2022 13.58, bradie poa wrote:

its not a good idea



Agreed. It's a horrible idea.

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/5009e514-de20-962e-a562-8637aa36e0a9%40stacktrace.dk.


Re: Hosting django with Namecheap

2022-11-08 Thread &#x27;Kasper Laudrup' via Django users

On 08/11/2022 10.41, Namanya Daniel wrote:
Hello, am hosting a django application with namecheap for the very first 
time and am getting " Internal Server ErrorError 500" , in the error 
log, wsgi.py shows that there's not settings


how do i handle this



You add the settings.

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/3b848e58-7be2-8d92-6efe-14abc2df8b81%40stacktrace.dk.


Re: Hi need a solution

2022-11-07 Thread &#x27;Kasper Laudrup' via Django users

On 07/11/2022 08.20, Mh Raffi wrote:


I have deployed to post g res p g admin4 and deleted db. s q lite from 
Django. and set my allowed host =['*']


Am getting server [500].

if any help will be appreciated



You need to look in your log files to find the cause of the 500 error. 
That will make it much, much easier to debug.


Maybe have a look here:
https://docs.djangoproject.com/en/4.1/topics/logging/

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/48520f6c-5f5b-7bd2-1d2f-f3076510968a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: error

2022-11-05 Thread &#x27;Kasper Laudrup' via Django users

On 05/11/2022 16.38, Balogun Awwal wrote:

I don’t understand what you mean



That you made a typo in your settings.

Using an editor that can highlight such mistakes can be quite 
convenient. Not only would it have saved you from having to post a 
question here, you wouldn't even have to (re)start your Django 
development server.


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/c2fb9014-7feb-75e8-8e44-85f0b2420dc1%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: I con't able to view the image in the webpage.

2022-11-03 Thread &#x27;Kasper Laudrup' via Django users

On 03/11/2022 06.01, MaheshKumar wrote:

i cont able to view the image in the webpage,  found an error on path.



Well that sucks. I'm sure it's a nice image.

Don't worry though, there are many other webpages with many more nice 
images you can look at instead.


Hope that helps.

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/e48da2a4-0896-f883-ad35-cb658dd66d4f%40stacktrace.dk.


Re: got error in terminal, ubuntu

2022-11-02 Thread &#x27;Kasper Laudrup' via Django users

On 02/11/2022 06.43, AKHIL KORE wrote:
(myprojectenv) user@DIPL-PC290:~/myprojectdir$ django-admin.py 
startproject myproject ~/myprojectdir

django-admin.py: command not found



For security reasons the current working directory is not in your PATH 
on Unix systems. You need to provide the full path to the executable you 
want to run, eg. ./django-admin.py.


Of course, the file needs to have the executable bit set as well.

Alternatively, ensure that django-admin.py is in your PATH environment 
as well as being executable of course.


You could also run the python source with the python interpreter instead 
of making it executable.


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/32dd97ae-119b-0fa6-be8c-c3830e7d03cc%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: my project doesnt insert into the database

2022-11-02 Thread &#x27;Kasper Laudrup' via Django users

On 01/11/2022 14.09, Mh Raffi wrote:

Hi Sorry Looking for thread to my problem. Landed here.


That is not how a mailing list or forum works. You don't find an 
existing thread and use it for a completely unrelated issue.


You simply post a new message/mail with your issue instead. Maybe 
reading this would be a good start:


https://support.google.com/groups/

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/ea36ed7e-094f-c102-9793-64fe87ccc4e2%40stacktrace.dk.


Re: Facing attribue Error

2022-11-01 Thread &#x27;Kasper Laudrup' via Django users

On 01/11/2022 06.26, MaheshKumar wrote:
AttributeError at /employee/type object 'employeeapp' has no attribute 
'object'


How do you expect anyone to be able to help you without sharing any code 
or explaining what you are trying to do?


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/cbda2e59-5cdf-bb94-041a-0783b5e4b65d%40stacktrace.dk.


Re: I need some clarifications about managing Files in FIle storage

2022-11-01 Thread &#x27;Kasper Laudrup' via Django users

On 01/11/2022 05.29, MaheshKumar wrote:

I want to know about the Managing files topic specifically in file storage.



https://docs.djangoproject.com/en/4.1/ref/files/storage/

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/0e6e8def-12a5-4121-fda3-06886f2e471f%40stacktrace.dk.


Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-31 Thread &#x27;Kasper Laudrup' via Django users

On 31/10/2022 19.32, Adeyemi Deji wrote:


Hello, fam!

Found a solution to the problem. Updated the Dockerfile. Check below



Great to hear you figured it out and thanks for sharing. Out of 
curiosity, any reason why you chose to build the psycopg2 package from 
source instead of using a prebuilt binary?


I would assume using the prebuilt binary would have been simpler and of 
course make it much faster to build your container than building your 
own package from source.


Thanks and 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/fa5906c5-929f-a2b8-91e2-72d8b0fb8194%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: how can i create databases, routers and install apps in runtime?

2022-10-31 Thread &#x27;Kasper Laudrup' via Django users

On 31/10/2022 13.28, emilton mendoza wrote:
Could someone tell me how I can add new values ​​to the variables of 
settings.py?




The same way you would add new values to any other Python variable.

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/0c531163-409b-b6de-a25d-b2b7636a6df6%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: help for django project

2022-10-30 Thread &#x27;Kasper Laudrup' via Django users

Change line 37 of your frobnicater.py file from using int to string.

Alternatively, if that doesn't work, consider asking a question that 
someone can actually answer.


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/f439a5d6-17bb-0040-298a-9387117d91c5%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Error: pg_config executable not found. (psycopg2 for postgres in docker not successfully installed)

2022-10-29 Thread &#x27;Kasper Laudrup' via Django users

On 28/10/2022 12.35, Adeyemi Deji wrote:


I have tried this command in Dockerfile: RUN pip install --user 
psycopg2==2.9.5

I got the command on StackOverflow but still didn't resolve the issue.



Seems like you need the postgresql development package or similar to 
build psycopg2 from source. Try using the binary package 
(psycopg2-binary) instead as suggested here:


#0 26.78       If you prefer to avoid building psycopg2 from source, 
please install the PyPI

#0 26.78       'psycopg2-binary' package instead.


Alternatively, ensure the postgresql development package is installed in 
your Docker container.


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/86a90447-1523-5ca5-cb59-2c77f9792289%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hello, why am I getting this error

2022-10-27 Thread &#x27;Kasper Laudrup' via Django users

As the error message clearly states, the path:

 6. delete-room// [name='delete-room']


doesn't match:


The current path, delete-room/6/>, didn’t match any of these.


Documentation:

https://docs.djangoproject.com/en/4.1/topics/http/urls/

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/d8011f3a-f426-19f9-2107-1be5152dddf7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: how to connect mongodb in my project,

2022-10-26 Thread &#x27;Kasper Laudrup' via Django users

On 26/10/2022 16.52, pythoon r wrote:
please help me,i've one requirement (project) django with mongodb.how to 
connect mongo to django .i was tried some method i cant connect

how to config mongoengine,django-mongo-engine in my settings.py file



https://www.mongodb.com/compatibility/mongodb-and-django

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/dbf74873-192b-5e9c-f664-3d90b476b225%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Sending Live Streaming Images from Client’s Webcam to Django Server

2022-10-10 Thread &#x27;Kasper Laudrup' via Django users

On 08/10/2022 21.28, Anshuman Thakur wrote:

Sr plz anyone help me for this question



Which question?

It would be easier for someone to help you if you actually asked a question.

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/fe047fd3-39e1-3eaf-eb41-05ecc54bfc34%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Starting Django project with Docker

2022-09-27 Thread &#x27;Kasper Laudrup' via Django users

On 27/09/2022 11.35, Prabakaran Balaji wrote:

Hello Folks,

I tried to set the permission on app directory, but still facing the 
same problem. Any additional thoughts?


Which permission did you set? It looks like you set the owner of the app 
directory to your user.


Is your user the same as the one running the app?
Which directory are you trying to write to?
Is it the same as the application directory?
The user running the app needs write permissions to that directory.

Do you know the basics of Unix permissions? Otherwise that might be a 
good place to start:


https://www.softwaretestinghelp.com/unix-permissions/

This was just the first link I found but it looks OK.

If you do already know how Unix permissions work you need to dig a bit 
more into which permissions are actually being required instead of just 
setting them blindly and hoping it works.


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/f8f5d3e0-2236-7fe4-744a-2f0fa1b43ad2%40stacktrace.dk.


Re: SessionStore attribute error

2022-09-19 Thread &#x27;Kasper Laudrup' via Django users

On 20/09/2022 08.21, shiva singh wrote:

hello everyone please help how can solve this problem?



I suggest you ignore all the replies you've already gotten and then post 
the exact same question a third time.


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/04483ea1-1cd3-ed58-2e77-19eca96ccf40%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: What Programming Language should i learn

2022-09-10 Thread &#x27;Kasper Laudrup' via Django users

On 10/09/2022 01.35, arts maxwell Anderson wrote:

i need job in django anyone



If you want anyone to take you seriously you should probably do a little 
more effort than that.


Learning how to post to a mailing list/forum and not highjacking 
existing threads would be a good start.


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/2ea18945-c5b5-50fd-5df6-f12c0b1ef1c1%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: DJANGO ADMIN SPECIFICATION

2022-09-10 Thread &#x27;Kasper Laudrup' via Django users

On 10/09/2022 03.24, nana kwame wrote:
Please I would like to ask if Django admin can be used to update and 
delete and create webpages also.


If you write the appropriate models and views then yes, it can.

And also if it can be used to update 
information on the user side from the admin panel. Thank You




Yes.

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/a64c3d13-bd64-6c3a-07de-a50c16d3f51c%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Facing Problem

2022-09-10 Thread &#x27;Kasper Laudrup' via Django users

On 10/09/2022 12.00, Anil Singh wrote:

Dear All
When i running our program then coming this type of error, what is 
solutions




Hard to know since you haven't provided enough information for anyone to 
help you.


Remember that no one has any idea what you are trying to achieve, what 
your code looks like, if your code has worked and you just broke it etc.


Learn how to ask a good question if you want a good answer.

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/f86be854-bed5-f9b1-87c0-106641842f31%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Deploy Django Project in AAPanel

2022-09-03 Thread &#x27;Kasper Laudrup' via Django users

On 01/09/2022 15.51, Javier L. Camacaro wrote:
Thanks Kasper, I did it with this tutorial, works fine, but with my 
project it doesn't.


I received a lot of errors:



I know nothing about AAPanel and since you don't seem to get any 
responses here, how about posting on the forum related to AAPanel where 
the tutorial was shared?


This is most likely more related to AAPanel than Django.

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/e7c6b669-ccfd-3515-4143-cfe2d62440d7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hire Me

2022-09-03 Thread &#x27;Kasper Laudrup' via Django users

On 03/09/2022 14.00, Onjomba Felix wrote:
https://www.felixonjomba.netlify.app/ 


You should remove the "www" part from the URL when sharing the link to 
avoid TLS certificate validation errors.


The wildcard certificate you are using (*..netlify.app) matches 
felixonjomba.netlify.app but *not* www.felixonjomba.netlify.app.


Good luck with the job hunting.

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/10f60fe3-9b2b-38b7-636b-82705c95d4ad%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Bad Request 400 in Django

2022-09-01 Thread &#x27;Kasper Laudrup' via Django users

On 01/09/2022 17.03, Eric smith wrote:

I have some issues in running django server.

System check identified no issues (0 silenced).
September 01, 2022 - 10:58:47
Django version 4.0.1, using settings 'project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
[01/Sep/2022 10:58:57] "GET / HTTP/1.1" 400 143
[01/Sep/2022 10:58:58] "GET /favicon.ico HTTP/1.1" 400 143

Please help me if you are expert on it.



HTTP 400 error means the client sent a request the server couldn't 
understand. What the client is, what it sent and why the server couldn't 
understand it, no expert is able to tell you. Only you can answer that.


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/52c013c6-f52b-8843-5727-95f520e4a712%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Deploy Django Project in AAPanel

2022-08-31 Thread &#x27;Kasper Laudrup' via Django users

On 01/09/2022 02.10, Javier L. Camacaro wrote:

Does someone how to deploy a Django Project in AAPanel?



https://forum.aapanel.com/d/13338-python-manager-deploy-djangoblog

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/f916369f-b05d-0c33-d094-49dc401157e1%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Bug with Watchman on Windows

2022-08-31 Thread &#x27;Kasper Laudrup' via Django users

On 31/08/2022 18.52, David V wrote:

Hello All,

Apologies if this is the wrong place to submit this. I couldn't find 
clear enough documentation on where to do this, so I guess I ended up here.




Maybe open an issue on the issue tracker on github?

https://github.com/facebook/watchman

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/4a0fec42-ee50-d9d5-5d60-913c607e551c%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: What Programming Language should i learn

2022-08-30 Thread &#x27;Kasper Laudrup' via Django users

On 30/08/2022 16.35, fawemimo olawale wrote:

Which of these  programming language should i learn

Please I need counselling on this two language though i have prior 
knowledge on Python Web Framework (Django) as a beginner's but i want 
Backend Language


JAVA or ASP.Net



ASP.net isn't a programming language, so you should probably start by 
learning what a programming language is before attempting to learn to 
use one.


Additionally Django is very much a backend framework so your question 
doesn't make any sense.


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/e53820e7-b84c-434a-608a-96eefa0ab3ee%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: oauth 2.0 integration

2022-08-16 Thread &#x27;Kasper Laudrup' via Django users

On 16/08/2022 15.46, Abdallah Sow wrote:
Hello you are well I have a question and I would like you to help me 
please I want to make a request to join three different tables Staff 
Customers Order.




Look at "How to start a new conversation" here:

https://support.google.com/groups/answer/1046523?hl=en

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/eeac2f4b-b2f0-7675-42d0-aec6e34e1eef%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: oauth 2.0 integration

2022-08-16 Thread &#x27;Kasper Laudrup' via Django users

On 16/08/2022 08.38, Samapika Nayak wrote:

Hello guys,
Please help me integrate oauth 2.0 for google login



Help you with what?
What have you done so far?
Where are you having issues?

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/47c8be16-be83-8de7-5f94-4deac8832db6%40stacktrace.dk.


Re: About page

2022-08-14 Thread &#x27;Kasper Laudrup' via Django users

On 14/08/2022 19.06, Regan De Guzman wrote:
My about page is still throwing an error, i've tried what I know, i 
can't seem to get it up and running. It shows that the template does not 
exist.




No one knows what your about page is and nobody knows what you know or 
don't know. I don't see how you expect anyone to be able to help you 
with the information you've provided.


I do know that you don't know how to ask a question so maybe you should 
start by looking here:


http://www.catb.org/~esr/faqs/smart-questions.html

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/73d28790-0ba2-a568-3809-03c837045237%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-14 Thread &#x27;Kasper Laudrup' via Django users
On 13/08/2022 09.04, Dieu merci Dramani wrote:
> This work :
> productId:  1 action:  add
> cart.js:9 USER: setraco
> cart.js:20 setraco is logged in ! Sending data ...
> 
> cart.js:22
> Here is the errors that I'm trying without success:
> POST http://127.0.0.1:8000/update_Item/ <http://127.0.0.1:8000/update_Item/> 
> 403 (Forbidden)
> updateUserOrder @ cart.js:22
> (anonymous) @ cart.js:14
> 
> VM29:2 Uncaught (in promise) SyntaxError: Unexpected token '<', "
>  Promise.then (async)
> updateUserOrder @ cart.js:33
> (anonymous) @ cart.js:14
> 

Most likely your updateItems functions raises and exception causing an HTTP 403 
response. The error page is then being rendered as HTML by Django which causes 
your Javascript code to fail when trying to parse it as JSON.

You should most likely be able to find the root cause of the exception in your 
log files or the output of your developer console so you known how to fix it. I 
would guess something related to access rights on your database or similar but 
the log should provide that information.

You should also consider a way of returning JSON instead of HTML when returning 
errors to the client based on the clients "Accept" header. I'm sure there's 
some generic way to do that but I haven't looked into it.

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/1D8C5AC7-1367-4B02-B908-6D5D2D8D8618%40stacktrace.dk.


Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-14 Thread &#x27;Kasper Laudrup' via Django users
On 13/08/2022 09.04, Dieu merci Dramani wrote:
> This work :
> productId:  1 action:  add
> cart.js:9 USER: setraco
> cart.js:20 setraco is logged in ! Sending data ...
> 
> cart.js:22
> Here is the errors that I'm trying without success:
> POST http://127.0.0.1:8000/update_Item/ <http://127.0.0.1:8000/update_Item/> 
> 403 (Forbidden)
> updateUserOrder @ cart.js:22
> (anonymous) @ cart.js:14
> 
> VM29:2 Uncaught (in promise) SyntaxError: Unexpected token '<', "
>  Promise.then (async)
> updateUserOrder @ cart.js:33
> (anonymous) @ cart.js:14
> 

Most likely your updateItems functions raises and exception causing an HTTP 403 
response. The error page is then being rendered as HTML by Django which causes 
your Javascript code to fail when trying to parse it as JSON.

You should most likely be able to find the root cause of the exception in your 
log files or the output of your developer console so you known how to fix it. I 
would guess something related to access rights on your database or similar but 
the log should provide that information.

You should also consider a way of returning JSON instead of HTML when returning 
errors to the client based on the clients "Accept" header. I'm sure there's 
some generic way to do that but I haven't looked into it.

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/6AE4A623-271C-4649-80DD-A04FEF7AAD28%40stacktrace.dk.


Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-13 Thread &#x27;Kasper Laudrup' via Django users

On 13/08/2022 09.04, Dieu merci Dramani wrote:

This work :
productId:  1 action:  add
cart.js:9 USER: setraco
cart.js:20 setraco is logged in ! Sending data ...

cart.js:22
Here is the errors that I'm trying without success:
POST http://127.0.0.1:8000/update_Item/ 
<http://127.0.0.1:8000/update_Item/> 403 (Forbidden)

updateUserOrder @ cart.js:22
(anonymous) @ cart.js:14

VM29:2 Uncaught (in promise) SyntaxError: Unexpected token '<', "


Most likely your updateItems functions raises and exception causing an 
HTTP 403 response. The error page is then being rendered as HTML by 
Django which causes your Javascript code to fail when trying to parse it 
as JSON.


You should most likely be able to find the root cause of the exception 
in your log files or the output of your developer console so you known 
how to fix it. I would guess something related to access rights on your 
database or similar but the log should provide that information.


You should also consider a way of returning JSON instead of HTML when 
returning errors to the client based on the clients "Accept" header. I'm 
sure there's some generic way to do that but I haven't looked into it.


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/641469d8-bd7e-7aee-1a03-ed3155c47ecd%40stacktrace.dk.


Re: Help on my cart.js file using Django 3.2.15 in python

2022-08-13 Thread &#x27;Kasper Laudrup' via Django users

On 13/08/2022 09.04, Dieu merci Dramani wrote:

This work :
productId:  1 action:  add
cart.js:9 USER: setraco
cart.js:20 setraco is logged in ! Sending data ...

cart.js:22
Here is the errors that I'm trying without success:
POST http://127.0.0.1:8000/update_Item/ 
<http://127.0.0.1:8000/update_Item/> 403 (Forbidden)

updateUserOrder @ cart.js:22
(anonymous) @ cart.js:14

VM29:2 Uncaught (in promise) SyntaxError: Unexpected token '<', "


Most likely your updateItems functions raises and exception causing an 
HTTP 403 response. The error page is then being rendered as HTML by 
Django which causes your Javascript code to fail when trying to parse it 
as JSON.


You should most likely be able to find the root cause of the exception 
in your log files or the output of your developer console so you known 
how to fix it. I would guess something related to access rights on your 
database or similar but the log should provide that information.


You should also consider a way of returning JSON instead of HTML when 
returning errors to the client based on the clients "Accept" header. I'm 
sure there's some generic way to do that but I haven't looked into it.


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/8e25f737-2114-fe2a-b0e1-aafc7fa742f2%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: django-admin startproject --template error

2022-08-08 Thread &#x27;Kasper Laudrup' via Django users

On 08/08/2022 10.46, xu brandy wrote:


WechatIMG75.png
An error was reported using the GITLab repository to specify template 
creation projects




And you expect everyone to be able to guess which Gitlab repository 
you're talking about? You even made an effort trying to hide it.


But whatever repository you're fetching the zip file from doesn't 
contain a valid zip file as the error message clearly states.


Only you know why that might be with the information you've shared so far.

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/1d1b090d-d394-5d61-1c41-393a109c9e39%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: HOW TO RUN DJANGO PROJECT

2022-07-22 Thread &#x27;Kasper Laudrup' via Django users

On 22/07/2022 16.11, Edward Deus Misogoro wrote:

Please help



With what?

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/447933e2-2691-7e4c-bade-85e6ee19e917%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Google Authentication code

2022-07-20 Thread &#x27;Kasper Laudrup' via Django users
On 20 July 2022 15.03.20 CEST, Ankit Chaurasia  
wrote:
>Hello Dev,
>Can anyone send me Google Authentication code or any exp ?
>

https://www.section.io/engineering-education/django-google-oauth/

That was the first page I found using one of those "internet search engines" 
you might have heard of. There are many more guides and examples out there.

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/2E958F20-C973-4D9B-A3ED-DCD39024AE30%40stacktrace.dk.


Re: Django GDAL problem in M1 Chip Pro

2022-07-19 Thread &#x27;Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey 
 wrote:
>Noting is in the content.
>

Considering you didn't actually ask a question I don't know which kind of 
response you were hoping for.

At least you got a fast response. Seemed like that was important to you.

If you want a useful response on the other hand, consider writing a question 
someone can actually answer.

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/7057D452-0638-4A63-B270-6367382529AC%40stacktrace.dk.


Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread &#x27;Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey 
 wrote:
>Noting is in the content.
>


Considering you didn't actually ask a question I don't know which kind of 
response you were hoping for.

At least you got a fast response. Seemed like that was important to you.

If you want a useful response on the other hand, consider writing a question 
someone can actually answer.

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/A7F6B94E-6C84-4980-8D6F-C0ACC3A253E6%40stacktrace.dk.


Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread &#x27;Kasper Laudrup' via Django users
On 18 July 2022 18.46.07 CEST, Chandra Prakash Choubey 
 wrote:
>Noting is in the content.
>


Considering you didn't actually ask a question I don't know which kind of 
response you were hoping for.

At least you got a fast response. Seemed like that was important to you.

If you want a useful response on the other hand, consider writing a question 
someone can actually answer.

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/7696215E-8E5E-4C6E-82A6-6006EEC847E6%40stacktrace.dk.


Re: Django GDAL problem in M1 Chip Pro

2022-07-18 Thread &#x27;Kasper Laudrup' via Django users
On 18 July 2022 07.47.08 CEST, Chandra Prakash Choubey 
 wrote:
>Hi ALL,
>I am getting this problem
>
>OSError: dlopen(/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib,
>6): no suitable image found.  Did find:
>/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.dylib: mach-o, but
>wrong architecture
>/opt/homebrew/Cellar/gdal/3.3.1_2/lib/libgdal.29.dylib: mach-o,
>but wrong architecture
>
>Please respond as soon as possible.
>
>
>Regards,
>
>Chandra Prakash Choubey
>

Hi,

I was not able to respond faster than this. Hope it helps.

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/A624C5E2-9E3A-4714-B25E-B6299640F65B%40stacktrace.dk.


Re: Core Python Session - Google Classroom

2022-07-18 Thread &#x27;Kasper Laudrup' via Django users
On 18 July 2022 10.44.29 CEST, Muhammad Juwaini Abdul Rahman 
 wrote:
>*sigh* This guy keep spamming this group.
>

Report it:

https://support.google.com/groups/answer/81275?hl=en

Not sure if it helps but it's worth a try.

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/71641C31-67AF-4BF7-B0ED-AD600FE07CD7%40stacktrace.dk.


Re: Fwd: Answer me as soon as possible?

2022-07-12 Thread &#x27;Kasper Laudrup' via Django users

On 12/07/2022 09.43, Abhinandan K wrote:


Is anybody know how to install CLI tool with brew in Django



Reading this would help:

http://www.catb.org/~esr/faqs/smart-questions.html

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/e7c9ad48-ce9e-b683-ee88-82d7c0a10033%40stacktrace.dk.


Re: Live Streaming.

2022-07-06 Thread &#x27;Kasper Laudrup' via Django users
On 6 July 2022 18.40.04 CEST, kasim saifi  wrote:
>I have to do live streaming in django. Tell me how can it be.

Have you done any research?

This seems quite relevant:

https://forum.djangoproject.com/t/can-i-develop-live-video-streaming-website-using-django/2428

Try to be a bit more specific. 

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/2ECCBBB8-7E6F-4334-82EA-0931001C6FB8%40stacktrace.dk.


Re: Live Streaming.

2022-07-06 Thread &#x27;Kasper Laudrup' via Django users
On 06/07/2022 18.07, 16-451 S.Kalyan wrote:
> What is the mail for? I can't understand
> 

Me neither. I guess we're all confused.

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/EB0E9542-8213-4B88-B6AC-E519247E40AF%40stacktrace.dk.


Re: Live Streaming.

2022-07-06 Thread &#x27;Kasper Laudrup' via Django users

On 06/07/2022 18.07, 16-451 S.Kalyan wrote:

What is the mail for? I can't understand



Me neither. I guess we're all confused.

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/41131a8a-d4f2-95fb-b0fa-debdcd8cc3a7%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Live Streaming.

2022-07-06 Thread &#x27;Kasper Laudrup' via Django users

On 06/07/2022 11.27, kasim saifi wrote:

I want Django live streaming. But I am not getting Django live streaming.P



We all want Django live streaming. We can hope you'll get it as well 
some day.


Good luck and 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/d92cb60d-0629-8759-3c9b-03f8e8d74431%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


  1   2   3   4   5   6   7   8   9   >