Django security releases issued: 4.2.7, 4.1.13, and 3.2.23

2023-11-01 Thread Mariusz Felisiak
Details are available on the Django project weblog: https://www.djangoproject.com/weblog/2023/nov/01/security-releases/ -- 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 em

Re: NoReverseMatch at / Reverse for 'add_time_slot' with arguments '('',)' not found. 1 pattern(s) tried: ['add_time_slot/(?P[0-9]+)/\\Z']

2023-11-01 Thread Sudharsan
urlpatterns = [ path('', views.home, name ='home'), path('home/', views.allTurfs,name = 'allturfs'), path('profile/', views.dashboard, name = 'profile'), path('about/', views.about, name = 'about'), path('add_venue/', views.add_Turf, name = 'add_turf'), path('/', views.allTurfs, name='turf_by_place

Re: NoReverseMatch at / Reverse for 'add_time_slot' with arguments '('',)' not found. 1 pattern(s) tried: ['add_time_slot/(?P[0-9]+)/\\Z']

2023-11-01 Thread Adesewa Lola
Hi Check your urls.py code On Wed, Nov 1, 2023 at 3:53 PM Sudharsan wrote: > urlpatterns = [ > path('', views.home, name ='home'), > path('home/', views.allTurfs,name = 'allturfs'), > path('profile/', views.dashboard, name = 'profile'), > path('about/', views.about, name = 'about'), > path('add_

Re: NoReverseMatch at / Reverse for 'add_time_slot' with arguments '('',)' not found. 1 pattern(s) tried: ['add_time_slot/(?P[0-9]+)/\\Z']

2023-11-01 Thread Vincenzo Celano
I think the problem is in the data into turf_id. Are you sure that turf_id contains only integer value? it's strange the problem with argument: '('',)' - try to verify the data passed with turf_id if are correct... Il giorno mer 1 nov 2023 alle ore 16:05 Adesewa Lola < adesewalola2...@gmail.com> h

Re: NoReverseMatch at / Reverse for 'add_time_slot' with arguments '('',)' not found. 1 pattern(s) tried: ['add_time_slot/(?P[0-9]+)/\\Z']

2023-11-01 Thread Migui Galan
thank you! i think this is because you are not looping or have a turf_id in the template. by 'loop' or have you tried '/add_time_lot//'? On Wed, Nov 1, 2023 at 10:53 PM Sudharsan wrote: > urlpatterns = [ > path('', views.home, name ='home'), > path('home/', views.allTurfs,name = 'allturfs'), > p

Wrong ordering of many-to-many fields with explicit intermediary model in Django admin

2023-11-01 Thread Alan Evangelista
Hi, all. I have a Submission model with a many-to-many relationship with a Market model and explicitly defined a SubmissionMarket model as intermediary model. I have defined Submission inlines in a ModelAdmin class (used by Django admin) and defined the markets field as the first one in the fie