Re: Call for Testing: Connection Pooling PR for Django Oracle

2024-05-09 Thread Benjamini Athanas
thanks

On Mon, 6 May 2024 at 22:41, suraj shaw  wrote:

> Dear Django Users,
>
>
> I hope this email finds you well.
>
>
> We're reaching out to the Django community today with an exciting
> opportunity to test a significant enhancement for the Oracle database
> backend: connection pooling functionality.
>
>
> A pull request has been submitted that introduces connection pooling to
> Django's Oracle backend. This enhancement promises to bring notable
> improvements in performance and scalability, particularly for applications
> handling heavy database traffic.
>
> We're inviting members of the Django community to participate in testing
> this PR.
>
>
> Your feedback and testing are invaluable in ensuring the reliability,
> efficiency, and compatibility of this feature across various Django
> projects and environments. By participating, you not only contribute to the
> enhancement of Django but also ensure that this crucial functionality meets
> the diverse needs of our community.
>
>
> *How You Can Help:*
>
>1. *Testing*: Deploy the PR in your development or testing environment
>and run your Django applications with Oracle backend. Observe its behavior,
>performance, and compatibility with your existing codebase.
>2. *Bug Reporting*: If you encounter any issues, whether they're
>related to functionality, performance, or compatibility, please report them
>promptly. Detailed bug reports with steps to reproduce are immensely
>helpful for the developers.
>3. *Feedback*: Share your thoughts, suggestions, and experiences with
>the community. Your feedback will aid in refining and improving the feature
>before it's merged into the main Django codebase.
>
>
> Testing Environment - Use python-oracledb (thin mode)
>
> Link - https://python-oracledb.readthedocs.io/en/latest/index.html
>
>
> *PR Link:* https://github.com/django/django/pull/17834
>
>
> Your contributions to this testing effort will play a crucial role in
> expediting the merging process. We highly appreciate your time and effort
> in helping make Django even better.
>
>
>
> Thank you for your support and dedication to the Django community.
>
>
> Best regards,
>
> Suraj Kumar Shaw
>
> --
> 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/CAAUoqBHSZros2LGk9r2BeLYgm54LtCdTN_QURkGcTU-G9CFxwQ%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/CAPRT2e5FDk6MJf8X%3D_iFOUkcyPBP3Sc-%3DH4KpSRNtbDo-3%3DY%2Bg%40mail.gmail.com.


Re: JWT Authentication with Djoser

2024-02-16 Thread Benjamini Athanas
try this # Custom Djoser serializer
from djoser.serializers import UserCreateSerializer

class CustomUserCreateSerializer(UserCreateSerializer):
def perform_create(self, serializer):
user = serializer.save()
# Generate verification code and send email
verification_code = generate_verification_code()
send_verification_email(user.email, verification_code)
# Store verification code in user profile or custom model
user.profile.verification_code = verification_code
user.profile.save()

# Custom Djoser view
from djoser.views import UserCreateView

class CustomUserCreateView(UserCreateView):
serializer_class = CustomUserCreateSerializer

# URLs
from django.urls import path

urlpatterns = [
path('auth/users/create/', CustomUserCreateView.as_view(),
name='user-create'),
# Other Djoser URLs...
]

On Thu, 15 Feb 2024 at 19:37, MISHEL HANNA  wrote:

> hello
> i want to make api for register but i want modify the way of email
> activation
> in djoser to activate email it done by uuid/token but i do not want it to
> be done like that
> i want to activate the email by verification code
> do you have any suggestions or any other libraries i can use it
>
> --
> 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/b56f4747-d1dc-4009-aa5f-923530f1860fn%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/CAPRT2e5Vb1%3D4%2BLmH5oVg_FXPGspN9CB4cWwkO5qFZGngJJngCw%40mail.gmail.com.


RESET PASSWORD ERROR IN DJNAGO

2024-02-08 Thread Benjamini Athanas
Hellow , guys how to fix this problem  NoReverseMatch at 
/auth/reset/OTM/set-password/Reverse for 'password_reset_complete' not 
found. 'password_reset_complete' is not a valid view function or pattern 
name.

-- 
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/2e99f77b-f4d8-42a8-a6fd-b57a009cd233n%40googlegroups.com.