Re: Hello World!

2023-10-14 Thread Adesewa Lola
i have an issues with my django site

All i want to do is to add a mail so whenever the user click the sign up
button the user should receive a mail like thanks for signing up

but mine is not working

On Fri, Oct 13, 2023 at 3:14 PM Mithilesh Rawani 
wrote:

> 404 screenshot share this group
>
> On Fri, 13 Oct 2023, 7:26 pm Onjomba Felix, 
> wrote:
>
>>
>> Look at how you configure your static files and also the deburg mode of
>> your system
>>
>> Settings.py
>>
>> DEBUG = True
>> STATIC_URL = '/static/'
>> STATICFILES_DIRS = [os.path.join(BASE_DIR, "static")]
>>
>> main urls.py
>>
>> from django.conf import settings
>> from django.conf.urls.static import static
>>
>> urlpatterns = [
>> # ... your other URL patterns ...
>> ]
>>
>> if settings.DEBUG:
>> urlpatterns += static(settings.STATIC_URL,
>> document_root=settings.STATIC_ROOT)
>>
>>
>> Then Run
>>  python manage.py collectstatic
>>
>>
>>
>> On Fri, Oct 13, 2023, 4:14 PM Alvaro Nascimento 
>> wrote:
>>
>>> i have an issue with my Django site,
>>>
>>> on loading staticfiles, it does 404 error.
>>>
>>> but in production everything works fine.
>>>
>>> --
>>> 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/f6e31790-20fc-40db-b22a-bc86a3d9738an%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/CAJU16zf0Pp7o7DAD-sns7fFmo-R4QRy6wqDM_6Tnsu4sd8mdVg%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/CAEQ0vnCKW2nodQnZ5DMtykkZUM%3De_9aCy5dExwQBLRW2QYTmOA%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/CA%2BPuKxpSdk-CWZP3jG-GxGM6%2BR4qg81OQvACRyX8E4OTJyXooA%40mail.gmail.com.


Re: JOB

2023-10-15 Thread Adesewa Lola
Hi currently i'm having issues with my django.

On Sun, Oct 15, 2023 at 8:26 PM Peter Benjamin Ani <
benjaminpari...@gmail.com> wrote:

> Join and participate in hackathon
>
> On Sun, 15 Oct 2023 at 19:42, Dev Femi Badmus 
> wrote:
>
>> Eyaaa
>>
>> --
>> 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/CAD9bWYz1iikc%3D0xNv19wG6%2BQUm-EyfU7hceqY7krPxftJSzxqw%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/CAPxt_2XLvUrwxaJM_ZMHJcWFuRCjCoEc62Yx-ZAXqfrE8BOERg%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/CA%2BPuKxpbFCjJStrZnvu%2BrdGSfZd56Xu%3D_p_zxmxX1pjQH-tv0w%40mail.gmail.com.


Re: JOB

2023-10-16 Thread Adesewa Lola
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 users <
django-users@googlegroups.com> wrote:

> 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.


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_venue/', views.add_Turf, name = 'add_turf'),
> path('/', views.allTurfs, name='turf_by_place'),
> path('/', views.Turf_det, name='turf_det'),
> path('add_time_slot//', views.add_time_slot, name=
> 'add_time_slot'),
> ]
>
> On Wednesday, November 1, 2023 at 8:17:28 PM UTC+5:30 Migui Galan wrote:
>
>> Hi! can you include the urls.py code? this is mainly because you have not
>> included the  within the url setup
>>
>> On Wed, Nov 1, 2023 at 10:42 PM Sudharsan  wrote:
>>
>>> i getting an error while doing python django project. i was tried many
>>> things but nothing works. Please help me guys.
>>> [image: error.png]
>>> *views.py*
>>> # view for adding Turf page
>>> def add_Turf(request):
>>> submitted = False
>>> if request.method == "POST":
>>> form = TurfForm(request.POST)
>>> if form.is_valid():
>>> var = form.save(commit=False)
>>> var.created_by = request.user
>>> var.save()
>>> messages.info(request, ' Your Turf has added successfully')
>>> turf_id=var.id
>>> return redirect('add_time_slot',turf_id=turf_id)
>>> else:
>>> form = TurfForm
>>> if 'submitted' in request.GET:
>>> submitted = True
>>> return render(request, 'addvenue.html',{'form': form, 'submitted':
>>> submitted})
>>>
>>>
>>> # view for adding time slot
>>>
>>> def add_time_slot(request,turf_id):
>>> turf = Venue.objects.get(pk=turf_id)
>>> if request.method == 'POST':
>>> form = TimeSlotForm(request.POST)
>>> if form.is_valid():
>>> timeslot = form.save(commit=False)
>>> timeslot.turf = turf # Set the Turf for this TimeSlot
>>> timeslot.save()
>>> return redirect('add_time_slot', turf_id=turf)
>>> else:
>>> form = TimeSlotForm()
>>> return render(request, 'add_time_slot.html', {'form': form, 'turf':
>>> turf})
>>>
>>>
>>>
>>> [image: modelspy.png][image: modelspy2.png][image: error3.png]
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> --
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/439756cf-9e61-430f-8d28-c72afb9b4a49n%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/9a80543c-1b04-4e13-ba06-8b6ab029886en%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/CA%2BPuKxrzMu7NrbopZ0orreBh7mb8H9O_4H8RfBNCQBvyC%2Bd%3DpA%40mail.gmail.com.


Re: Need a partner

2023-11-25 Thread Adesewa Lola
I am interested.

On Fri, Nov 24, 2023 at 3:33 PM Nabin Lama  wrote:

> I am interested.
>
> On Fri, Nov 24, 2023 at 8:11 PM Tannu Shah  wrote:
>
>> Intrested
>>
>> On Fri 24 Nov, 2023, 2:05 AM Dawda Borje Kujabi, 
>> wrote:
>>
>>> Interested
>>>
>>>
>>>  Original message 
>>> From: Lenox Brown 
>>> Date: Thu, 23 Nov 2023, 6:20 pm
>>> To: django-users@googlegroups.com
>>> Subject: Re: Need a partner
>>>
>>> I am interested
>>>
>>> On Thu, 23 Nov 2023, 21:06 Mashhoor Ahdal, 
>>> wrote:
>>>
>>> I am searching a like minded people who are interested to develop a 
>>> *fullstack
>>> django app*.Anyone interested ping at *mashhoorahd...@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/5a632768-4db0-4b6f-9d7e-de79159341a3n%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/CANqHsZ9b2sRMzEgNLT%3DVn4CQA9V_NiT8kQj5wTwjxEOsDhwjhA%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/capxlg-1q4y9v-5hrrz7-sru8lo1mu8m3-a5le3ia3ddjp-zgv8il6ff2dj-unmtbh-9fwaor-yrmig8-1sq335-4srwkc-abjqs5-i9f5ja-ycf8rg1gd5km-5gtqqi4g9jfz-1zdlz7-5co2mkdlz480ynoawv.1700771725941%40email.android.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/CAMO7jjVt726Cu7RpB5zD8RV_GpW1hc%2B71kP1GnrGFwtSUR43Nw%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> *Best Regards*
> Lama Nabin Gangtan(Nepal)
> Master of Business Administration(MBA)
> International University of Japan
>
> --
> 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/CABpPSwrd5McLyO5D9pKcVhQ%2BXGdYOpz1nOKyTKEeMsayssN2cw%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/CA%2BPuKxqAZqi-x%3D3yOMZPFmeAFgaDj%3DAj6aua%3D-h2x6i-MiSH-g%40mail.gmail.com.