1
6
Django 6.0 released (www.djangoproject.com)
2
5
3
8
submitted 10 hours ago by KaczuH@lemmy.ml to c/django@programming.dev
4
6
submitted 9 hours ago by cm0002@suppo.fi to c/django@programming.dev
5
7
Django 6.1 release notes (docs.djangoproject.com)
6
2

was away from django development for close to a decade, decided to jump in for a smallish project. don't wanna use my preferred IDE from way back when (pycharm) and am trying to use vscodium.

with the standard python and django extensions, the autocompletion/suggestion is... uh, lacking. what else do I need? a search in the marketplace nets tons of suggestions, don't know which are superfluous, overlapping, deprecated...

7
5
Supporting the Triptych Project (www.djangoproject.com)
submitted 3 weeks ago by KaczuH@lemmy.ml to c/django@programming.dev

I hope support for this project will spread and grow.

8
5
submitted 4 months ago by bufke@lemmy.today to c/django@programming.dev

Django VTasks is a faster and asyncio-friendly django.tasks extension supporting ORM and valkey/redis backends. Scheduler, unique, batch, and prioritize tasks embedded in your ASGI app or as a standalone worker.

4x faster than celery. I made this because I wanted a more ergonomic and faster task framework for GlitchTip.

9
5
submitted 4 months ago by bufke@lemmy.today to c/django@programming.dev

Announcing a project I've been working on. django-vcache is an asyncio-friendly and fast Django cache backend for Valkey/Redis. Uses the Rust redis crate and a Python bridge to achieve high performance. Let me know what questions you have about it.

10
2
submitted 5 months ago* (last edited 5 months ago) by datenhamster@feddit.org to c/django@programming.dev

Hi,

I build my own UserModel with email instead of username and now the PasswordResetConfirmView does not render the form for setting a new password. Form is None and Title "Password reset unsuccessful". All other forms are working correct.

I am using the standard "django.contrib.auth".

My user-class:

class MyUser(AbstractUser):
    username=None
    email=models.EmailField(_('email address'),unique=True)
    USERNAME_FIELD='email'
    REQUIRED_FIELDS=[]

My urls.py

from django.urls import path, include
from django.contrib.auth import views as auth_views

urlpatterns = [
    path('password_reset/', auth_views.PasswordResetView.as_view(template_name='password_reset.html', html_email_template_name='password_reset_email.html'), name='password_reset'),
    path('password_reset/done/', auth_views.PasswordResetDoneView.as_view(template_name='password_reset_done.html'), name='password_reset_done'),
    path('password_reset/confirm/<uidb64>/<token>/', auth_views.PasswordResetConfirmView.as_view(template_name='password_reset_confirm.html'),name='password_reset_confirm'),
    path('password_reset/complete/', auth_views.PasswordResetCompleteView.as_view(template_name='password_reset_complete.html'),name='password_reset_complete'),
]

The reset link in console looks a bit wired:

Please go to the following page and choose a new password:

http://127.0.0.1:8000/accounts/password_reset/confirm/Mg/d4khhw-79d3d64161aaf=
78fe9f0542f1883e48c/

Also, there is no redirect to: http://127.0.0.1:8000/accounts/password_reset/confirm/Mg/set-password/

I tried clicking the link, copying it. Nothing works. What am I missing here. Some tips would be appreciated.

11
9

In a general push for removing Microsoft, Google and any US or other non-EU dependency, the French government has been rapidly creating an open source set of productivity tools called "LaSuite", in collaboration with the Netherlands & Germany.

LaSuite is allegedly being developed using Django.

https://lasuite.numerique.gouv.fr/

12
3
Why I Love Django (slicker.me)
13
8
14
4
15
14
Happy 20th birthday Django! (www.djangoproject.com)
16
4
17
10
submitted 1 year ago by neme@lemm.ee to c/django@programming.dev
18
6
19
7
submitted 1 year ago by neme@lemm.ee to c/django@programming.dev
20
4
21
5
22
16
Django 5.2 released (www.djangoproject.com)
23
7
24
3
25
4
view more: next ›

Django

555 readers
10 users here now

Django Project

Django Community

Django Ecosystem

Jobs
Learning/Docs
Podcasts:
Related Fediverse communities
Feeds

founded 3 years ago
MODERATORS