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: Using the URLconf defined in iblogs.urls, Django tried these URL patterns, in this order:

2023-04-11 Thread Michael Starr
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/6ae14b24-3fff-4f12-a9d9-80f4baa95c81n%40googlegroups.com.


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

2023-04-04 Thread Tanveer
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/5ad2f1c6-101a-4c16-9eff-a886d9267805n%40googlegroups.com.