Re: Django urls error

2023-04-14 Thread Muhammad Juwaini Abdul Rahman
In your urls.py you use '/hello' but in your browser you type '/home'.

On Sat, 15 Apr 2023 at 06: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/CAFKhtoTQB506MC1OwxvHhT23R5kK-0uC5cxcDm3YS3Q6SYM-Pg%40mail.gmail.com.


django...@googlegroups.com

2023-04-14 Thread WILSON TALENGA
Hello, i have an issue with my django project, the created students are not 
reflecting when i run the server?
below is my views.py and index.html

what could the issue be?

-- 
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/62eebb40-9255-438d-b7ca-e535ba40f611n%40googlegroups.com.
Title: Student Management System
{% load static %}



from django.shortcuts import render
from .models import Student

# Create your views here.
def index(request):
print("index views called")
students = Student.objects.all()
return render(request, 'students/index.html', {
'students': students
})

Re: Tutorial for a Django web store

2023-04-14 Thread Sebastian Jung
Get django oscar sandbox and most things are allready implemented

Michael Starr  schrieb am Mi., 12. Apr. 2023, 08:02:

> Does anyone know of a good tutorial (preferably with github files) that
> teaches you how to make a web store in Django? It seems like a basic
> literacy skill for Django programming.
>
> Let me know.
>
> Thanks.
> Michael
>
> --
> 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/4dd45d1b-58f6-40d4-b227-955ec8bb00a5n%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/CAKGT9mymZexynLAHoDUZAtMwBhE966DHzXcjyMTohym54a8MBw%40mail.gmail.com.


Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup' via Django users

On 14/04/2023 10.17, WILSON TALENGA wrote:
Hey guys, i need help, i have created my django project, added students 
to the system as admin but they don't reflect when i run the server.

what could the issue be.
below is views.py and index.html



Start a new thread instead of replying to a totally unrelated thread.

Kind 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/9f20b0bd-b364-46a7-52bc-c1459fc2f566%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: pdf django

2023-04-14 Thread Raeesh Rayeen
pls tells what problem ??

On Thursday, 13 April 2023 at 21:17:01 UTC+5:30 christian Damon wrote:

> merci
>
> Le jeu. 13 avr. 2023 à 14:47, Olivier Dappremee  a 
> écrit :
>
>> démarrer de zéro avec python.
>> https://www.clictune.com/i1wR
>>
>>
>> pdf en folie
>>
>>
>> https://www.clictune.com/links/index#:~:text=https%3A//www.clictune.com/i1wN
>>
>>
>>
>> django
>>
>>  https://www.clictune.com/i1wM
>>
>>
>>
>> des livres python en fr et ang.
>>
>>  https://www.clictune.com/i1wh
>>
>> -- 
>> 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/ec38af18-fdfa-4e39-9a46-9ad613ce7ec4n%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/0b5425f6-9336-4c80-930b-ca8c5e0bdaecn%40googlegroups.com.


Re: Report a Django bug how

2023-04-14 Thread WILSON TALENGA
Hey guys, i need help, i have created my django project, added students to 
the system as admin but they don't reflect when i run the server.
what could the issue be.
below is views.py and index.html

On Friday, April 14, 2023 at 11:07:25 AM UTC+3 Kasper Laudrup wrote:

> On 14/04/2023 01.06, Michael Starr wrote:
> > Hi, I double checked my code and Django is not displaying images. I'd 
> > like to report the bug but I need to be a django employee to do that. 
> > So, if anyone knows anyone on linkedin that works for django, tell them 
> > images don't display (on an operating system).
> > 
>
> It is extremely unlikely that the reason you cannot get your code to 
> work is caused by a bug in Django.
>
> But anyone can open a bug report here:
>
>
> https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/
>
> I don't know what makes you think you have to be a "Django employee" 
> (whatever that is).
>
> Be prepared to create a proper bug report with a minimal example showing 
> what you assume to be a bug in Django. Doing so will hopefully make you 
> realize it's a bug in your code and not Django.
>
> Good luck and king 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/5aacb6ee-a748-448e-bb04-6b48ab539185n%40googlegroups.com.
Title: Student Management System
{% load static %}



from django.shortcuts import render
from .models import Student

# Create your views here.
def index(request):
print("index views called")
students = Student.objects.all()
return render(request, 'students/index.html', {
'students': students
})

Re: Tutorial for a Django web store

2023-04-14 Thread Adewunmi Oladele
Can you please share Denis ivanov YouTube channel link ?

On Thu, Apr 13, 2023, 6:58 PM Bradie Poa  wrote:

> There's no full toturial that does that. The only man who tried is Denis
> ivanov on his YouTube channel but still he did backend alone and frontend
> alone.
>
> Try him out. Maybe you may earn something 
>
> On Thu, Apr 13, 2023, 16:47 Alexandre Felgueiras <
> alexandre.r.felguei...@gmail.com> wrote:
>
>> Helo Michael,
>>
>> I've been studying this e-book and I think it's amazing.
>>
>> There is another books from the same author for more advanced users.
>> check on:
>> https://www.amazon.com.br/Django-Beginners-Build-Websites-Python/dp/1735467200
>>
>>
>> Best regards
>>
>> --
>> 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/941b0bfe-294c-49eb-9d5d-518ef043c48en%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/CAJkmis07MMiUpeTAApJC65Roy%3DG7-YRYm2FNDTfuckZcMhfFoA%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/CAE3XcyHxBE3A0Jbv3fMHLL%3D43xVG976V691sPOxfnnT8AsbE4Q%40mail.gmail.com.


Re: Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-14 Thread TITAS ONLINE MARKET

Setting up a new Django project doesn't require much code copying, my 
friend. This can be done more simply and easily. You follow the new 
tutorial. Also if you have problem knock me I don't know much but I would 
be happy to discuss with you.
On Tuesday, April 11, 2023 at 6:44:53 PM UTC+6 Michael Starr wrote:

> You probably weren't careful enough following instructions. The beginner's 
> tutorial is self-contained and allows a complete Django project to be made. 
> Re-read everything word-for-word and then come back with some hypotheses 
> for us to test for you.
> Michael
>
> On Tuesday, April 4, 2023 at 9:44:38 AM UTC-7 Tanveer wrote:
>
>> 0
>> 
>>
>> I know this question has been asked before, but I haven't found an answer 
>> that solves my situation.
>>
>> I'm looking at the Django tutorial, and I've set up the first URLs 
>> exactly as the tutorial has it, word for word, but when I go to 
>> http://127.0.0.1:8000/, it gives me this error: but when i go to 
>> http://127.0.0.1:8000/admin/ its working fine,where and what i am doing 
>> wrong? i am using python version 3.11.1 please let me know for any other 
>> info
>> urls.py
>>
>> from django.contrib import admin
>> from django.urls import path, include
>> from django.conf.urls.static import static
>> from django.conf import settings
>> from .views import home
>> urlpatterns = [
>> path('admin/', admin.site.urls),
>> path('', home)
>>   ]
>>
>> views.py
>> from django.http import HttpResponse
>> from django.shortcuts import render
>>
>> # Create your views here.
>> def home(request):
>> return render(request,home.html,{})
>>
>>

-- 
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/82c81da4-b9ce-4985-8387-ba1f63985ca2n%40googlegroups.com.


Re: Report a Django bug how

2023-04-14 Thread rhanzess guerrero
Hello bro, did you mean that you have an app with django and the images
that you have in the app are not displayed


El jue, 13 abr 2023 a las 18:07, Michael Starr ()
escribió:

> Hi, I double checked my code and Django is not displaying images. I'd like
> to report the bug but I need to be a django employee to do that. So, if
> anyone knows anyone on linkedin that works for django, tell them images
> don't display (on an operating system).
>
> Michael
>
> --
> 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/aa4c364c-24cd-44f8-b593-36b5349e7f7cn%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%2Benc87aJD32jLWO2wW%2BnViD6MSGHObmuZm%3DGk92JHF8y1MhPA%40mail.gmail.com.


Re: Report a Django bug how

2023-04-14 Thread Sebastian Jung
I have no Problem with Display Images. Most time i think this is a
missconfiguration in settings.py

Michael Starr  schrieb am Fr., 14. Apr. 2023, 01:06:

> Hi, I double checked my code and Django is not displaying images. I'd like
> to report the bug but I need to be a django employee to do that. So, if
> anyone knows anyone on linkedin that works for django, tell them images
> don't display (on an operating system).
>
> Michael
>
> --
> 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/aa4c364c-24cd-44f8-b593-36b5349e7f7cn%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/CAKGT9myzt8FiCXoQVu5awmELU2wVA1XGDK%2BnbeeCVrrrQO5WPg%40mail.gmail.com.


Re: Report a Django bug how

2023-04-14 Thread 'Kasper Laudrup' via Django users

On 14/04/2023 01.06, Michael Starr wrote:
Hi, I double checked my code and Django is not displaying images. I'd 
like to report the bug but I need to be a django employee to do that. 
So, if anyone knows anyone on linkedin that works for django, tell them 
images don't display (on an operating system).




It is extremely unlikely that the reason you cannot get your code to 
work is caused by a bug in Django.


But anyone can open a bug report here:

https://docs.djangoproject.com/en/dev/internals/contributing/bugs-and-features/

I don't know what makes you think you have to be a "Django employee" 
(whatever that is).


Be prepared to create a proper bug report with a minimal example showing 
what you assume to be a bug in Django. Doing so will hopefully make you 
realize it's a bug in your code and not Django.


Good luck and king 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/56b206a9-a244-e524-ac32-f3ccb79a4a91%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature