Re: JOB
Are you sure your smtp is correct Sent from awwalOn Oct 16, 2023, at 6:27 PM, Adesewa Lola wrote:Okay, thanks, Kasper.I want to try something in my Django project like whenever the user clicks the sign up button I want to send a mail to the user like Thank you for signing up but is not working. On Mon, Oct 16, 2023 at 6:10 PM 'Kasper Laudrup' via Django userswrote: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. -- 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/CA%2BPuKxo5V5kgfC0UiOOXFTM81dFbPA8exEVw-D3C7BaXtmyHNw%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6D831212-376D-4F6C-B647-28A0B77BA8EA%40gmail.com.
Re: Django Admin
Check out this link but are you using csrf token before accepting any input. https://stackoverflow.com/questions/3197321/csrf-error-in-django Sent from awwal > On 11 Mar 2023, at 7:04 PM, James Hunt wrote: > > Hi there. I am fairly new to Django but have had previous success with > creating an app and being able to access the Admin page. > Recently, if I attempt to access the admin page of a new Django app it throws > the CSRF error upon trying to log in!!! > > I have attempted several ways to bypass this error including adding allowed > hosts but I cant seem to get past this issue. > > Can someone please provide me with the definitive way of stopping CSRF error > when simply trying to access the admin part of Django? I mean there are no > post functions that really apply to this feature so I cant understand the > CSRF token. > > I cant get past this issue which means I can never access the admin page!! > > Please help. > > Regards > > James > -- > 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/e13c7765-831e-45c5-b091-c8fcfbed19c5n%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/25574CBA-771F-41FB-8EDD-7C17273C5CF8%40gmail.com.
Re: MANAGE.PY RUNSERVER ERROR
What is the output given Sent from awwal > On 16 Nov 2022, at 1:23 PM, Peter Mwai wrote: > > After activating the virtual environment it has finally accepted to run > >> On Wed, 16 Nov 2022 at 13:35, 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, >> >> Sincerely, >> >> Raúl Luján Delgado >> >> >> >> >> >>> El mié, 16 nov 2022 a las 6:10, 'Kasper Laudrup' via Django users >>> () escribió: >>> 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. >> >> -- >> You received this message because you are subscribed to a topic in the >> Google Groups "Django users" group. >> To unsubscribe from this topic, visit >> https://groups.google.com/d/topic/django-users/LjXq_S6L8I0/unsubscribe. >> To unsubscribe from this group and all its topics, 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/CAN3bF7Gdm%2BTK8nKAgq%3DCv-yXEP2uCJ-cO_1jei5Bb2KH1sxjXw%40mail.gmail.com. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CACP2728fRRcZSa9MM5RAgeDA26c5PG9eE1%2B6YHzAHXkgjcUY2Q%40mail.gmail.com. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/6D5F0B4C-EFA8-409C-A711-194DAE447852%40gmail.com.
error
everything was working perfectly befor until i installed django debug toolbar Exception in thread django-main-thread: Traceback (most recent call last): File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/module_loading.py", line 30, in import_string return cached_import(module_path, class_name) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/module_loading.py", line 16, in cached_import return getattr(module, class_name) AttributeError: module 'django.middleware.csrf' has no attribute 'CsrfVpziewMiddleware'. Did you mean: 'CsrfViewMiddleware'? The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/servers/basehttp.py", line 47, in get_internal_wsgi_application return import_string(app_path) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/module_loading.py", line 30, in import_string return cached_import(module_path, class_name) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/module_loading.py", line 15, in cached_import module = import_module(module_path) File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1050, in _gcd_import File "", line 1027, in _find_and_load File "", line 1006, in _find_and_load_unlocked File "", line 688, in _load_unlocked File "", line 883, in exec_module File "", line 241, in _call_with_frames_removed File "/home/leo/Documents/storefront/storefront/wsgi.py", line 16, in application = get_wsgi_application() File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/wsgi.py", line 13, in get_wsgi_application return WSGIHandler() File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/handlers/wsgi.py", line 125, in __init__ self.load_middleware() File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/handlers/base.py", line 40, in load_middleware middleware = import_string(middleware_path) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/module_loading.py", line 32, in import_string raise ImportError( ImportError: Module "django.middleware.csrf" does not define a "CsrfVpziewMiddleware" attribute/class The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/usr/lib/python3.10/threading.py", line 1009, in _bootstrap_inner self.run() File "/usr/lib/python3.10/threading.py", line 946, in run self._target(*self._args, **self._kwargs) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/utils/autoreload.py", line 64, in wrapper fn(*args, **kwargs) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 157, in inner_run handler = self.get_handler(*args, **options) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 31, in get_handler handler = super().get_handler(*args, **options) File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/management/commands/runserver.py", line 78, in get_handler return get_internal_wsgi_application() File "/home/leo/Documents/storefront/env/lib/python3.10/site-packages/django/core/servers/basehttp.py", line 49, in get_internal_wsgi_application raise ImproperlyConfigured( django.core.exceptions.ImproperlyConfigured: WSGI application 'storefront.wsgi.application' could not be loaded; Error importing module. -- 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/CAJ434RuxkK0nO%3D5%3D1PJEm2%2B0-becZxqsmFZwOzC%2BWA9uY6_yYw%40mail.gmail.com.
Re: Help
Can you send your number On Wednesday, September 28, 2022, ASAMOAH EMMANUEL < emmanuelasamoah...@gmail.com> wrote: > Hi! I'm willing to help you. Message me privately for the resources. > > On Wed, Sep 28, 2022 at 1:02 AM Abdul Qoyyuum Haji Abdul Kadir < > abdul.qoyy...@gmail.com> wrote: > >> That Udemy link is no longer valid. >> >> The Django official docs has a tutorial and is more relevant to the >> latest version versus older YouTube videos. >> >> https://docs.djangoproject.com/en/4.1/ >> >> Abdul Qoyyuum Bin Haji Abdul Kadir >> HP: +673 720 8043 >> about.me/qoyyuum >> >> On Tue, Sep 27, 2022, 10:41 PM peteru mimo wrote: >> >>> Good morning >>> >>> Check the https://www.udemy.com/course/draft/3427466/learn/ >>> lecture/21717840?start=15#overview is free on udemy >>> >>> Regard >>> >>> On Mon, Sep 26, 2022 at 9:11 PM Balogun Awwal >>> wrote: >>> >>>> Hello I just learnt python I’m looking to learn django can you >>>> recommend some tutorials and it will also be very helpful if I can get a >>>> mentor also please >>>> >>>> Sent from awwal >>>> >>>> -- >>>> 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/CD4750AF-8818-422E-A96C-E193D6E5944A%40gmail.com. >>>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to django-users+unsubscr...@googlegroups.com. >>> To view this discussion on the web visit https://groups.google.com/d/ >>> msgid/django-users/CAJBAA1%2Bcfj0vQGxX%2BKYpnnoKpFxmUQ6oW6d2WBsr-d15_ >>> Nu4PA%40mail.gmail.com >>> <https://groups.google.com/d/msgid/django-users/CAJBAA1%2Bcfj0vQGxX%2BKYpnnoKpFxmUQ6oW6d2WBsr-d15_Nu4PA%40mail.gmail.com?utm_medium=email_source=footer> >>> . >>> >> -- >> 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/CANVqoJ9FKrtxDu3ViH11OGnfrFX%3Dq953UiONjTLZxAMvPJzc1g% >> 40mail.gmail.com >> <https://groups.google.com/d/msgid/django-users/CANVqoJ9FKrtxDu3ViH11OGnfrFX%3Dq953UiONjTLZxAMvPJzc1g%40mail.gmail.com?utm_medium=email_source=footer> >> . >> > -- > 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/CABFHQYxE8hGcQV7OB6UvW57bpnkny > Q0O8x30aqcEWF6pqzmB7g%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CABFHQYxE8hGcQV7OB6UvW57bpnknyQ0O8x30aqcEWF6pqzmB7g%40mail.gmail.com?utm_medium=email_source=footer> > . > -- 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/CAJ434RuGV5R6oVZ3H7FnDxpLxz3DgCcEqi8a%3Dtz8zOesw1V-SA%40mail.gmail.com.
Help
Hello I just learnt python I’m looking to learn django can you recommend some tutorials and it will also be very helpful if I can get a mentor also please Sent from awwal -- 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/CD4750AF-8818-422E-A96C-E193D6E5944A%40gmail.com.