Re:

2023-07-31 Thread oluwafemi damilola
It'll advice that you add some extra informations to the page, also the
image takes at least 5 seconds to load and the icon is tiny on mobiles

On Mon, 31 Jul 2023, 14:48 marvelous,  wrote:

> Oh ok then I will put that into consideration thank you very much
>
>
>
> Sent from Mail  for
> Windows
>
>
>
> *From: *Ogunlade Stephen Olayide 
> *Sent: *Monday, July 31, 2023 2:11 PM
> *To: *django-users@googlegroups.com
> *Subject: *Re:
>
>
>
> I will prefer you make the About page the home/landing page
>
>
>
> On Mon, Jul 31, 2023 at 2:00 PM marvelous  wrote:
>
>
>
> Hello guys I just finished building out my portfolio and I would
> appreciate if you give me your honest reviews heres the link
>
>
>
> https://marvel-9gdg.onrender.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/D11D5F79-FE3E-43CC-B82F-FA665B0E4414%40hxcore.ol
> 
> .
>
> --
> 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/CANyXpooYQoA2tuytkCFUj1KEpeZOfF5Gcc37cVWHY2eTgHV45w%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/3FA1C223-C03A-483B-9604-9A682730D0C4%40hxcore.ol
> 
> .
>

-- 
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/CALo4fb_bHyP%3D4nUwarPT52xF2k3XiRxEmhryKgaHhSKG-p-mPw%40mail.gmail.com.


Re: User not Authenticating.

2023-04-24 Thread oluwafemi damilola
userLogin = authenticate(request, username=username, password=password)

On Mon, 24 Apr 2023 at 17:29, Opeoluwa Fatunmbi 
wrote:

>
> Let me see your login.html
>
>
>
>
>
>
> On Mon, 24 Apr 2023 at 17:28, Lawal Tobiloba Samuel <
> oluwasheun9...@gmail.com> wrote:
>
>> code here:
>>
>> def loginPage(request):
>> if request.method == "POST":
>> username = request.POST.get("username")
>> password = request.POST.get("password")
>> userLogin = authenticate(username=username, password=password)
>> if userLogin is not None:
>> login(request, userLogin)
>> return redirect("home")
>> else:
>> messages.info(request, "Username or Password incorrect.")
>> context = {"title": "User Login"}
>> return render(request, "account/login.html", context)
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> *Lawal Tobiloba Samuel*
>>
>> *Computer Engineer*
>>
>> *Front-end Developer*
>>
>> *IT Support Specialist*
>>
>>
>>
>> *Mobile: *+23480-6386-0181
>>
>>   +23481-2027-2000
>>
>> *Email:*oluwasheun9...@gmail.com
>>
>>   lawaltobi...@yahoo.com
>>
>>
>>
>>
>>
>>
>>
>>
>> On Mon, Apr 24, 2023 at 5:26 PM Lawal Tobiloba Samuel <
>> oluwasheun9...@gmail.com> wrote:
>>
>>> Hi devs,
>>> I wrote code for user authentication and login but I am not quite sure
>>> of it. On the web interface it keeps displaying username or password
>>> incorrect (message set in views.py).
>>>
>>> --
>> 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/CAAscozW9b%2B-RBrnBtNJMMdz5w%3DOStYRuW1mf35kaTBBva%2Br6Lg%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/CAKVBneJRaAxWhK2D7cqfS5i7YBOBWH50axCMZj6-c-NTDtMSbA%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/CALo4fb98Vt6MXCqiwkW0x%3DR9f90sw5dUmAQq50uQSgtpN0EwDw%40mail.gmail.com.


Re: Django urls error

2023-04-16 Thread oluwafemi damilola
Your path is 'hello/', but in your browser you are going to 'home', that
path does not exist

On Fri, 14 Apr 2023 at 23:07, lalit upadhyay 
wrote:

> *I have copied my code here. Plz fix this error:*
>
>
> view.py
> from django.http import HttpResponse
>
>
> def hello_delhi_capitals(request):
> return HttpResponse('Hello Delhi Capitals!')
>
>
>
> myproject/urls.py
>
> from django.contrib import admin
> from django.urls import path, include
>
> urlpatterns = [
> path('admin/', admin.site.urls),
> path('hello/', include('myapp.urls')),
> ]
>
>
>
> myapp/urls.py
>
>
>
> from django.urls import path
> from .views import hello_delhi_capitals
>
> urlpatterns = [
> path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'),
> ]
>
> --
> 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/b157258f-6697-4bd7-81c7-48e425b4a1edn%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/CALo4fb8kC34MgtuhdDz5MVDotBXvDe-crQLTiWBxLF1q0QmbEw%40mail.gmail.com.


Re: Django urls error

2023-04-16 Thread oluwafemi damilola
If you are still getting the error if you visit the 'hello' path, then you
should visit 'hello/hello/'


On Sun, 16 Apr 2023 at 11:19, oluwafemi damilola 
wrote:

> Your path is 'hello/', but in your browser you are going to 'home', that
> path does not exist
>
> On Fri, 14 Apr 2023 at 23:07, lalit upadhyay 
> wrote:
>
>> *I have copied my code here. Plz fix this error:*
>>
>>
>> view.py
>> from django.http import HttpResponse
>>
>>
>> def hello_delhi_capitals(request):
>> return HttpResponse('Hello Delhi Capitals!')
>>
>>
>>
>> myproject/urls.py
>>
>> from django.contrib import admin
>> from django.urls import path, include
>>
>> urlpatterns = [
>> path('admin/', admin.site.urls),
>> path('hello/', include('myapp.urls')),
>> ]
>>
>>
>>
>> myapp/urls.py
>>
>>
>>
>> from django.urls import path
>> from .views import hello_delhi_capitals
>>
>> urlpatterns = [
>> path('hello/', hello_delhi_capitals, name='hello_delhi_capitals'),
>> ]
>>
>> --
>> 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/b157258f-6697-4bd7-81c7-48e425b4a1edn%40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/b157258f-6697-4bd7-81c7-48e425b4a1edn%40googlegroups.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/CALo4fb_uM5Z%2BgptqxAzD_w9x%3Dez5KVAYMX%3DE3V29k_65fm_sew%40mail.gmail.com.