Re: setting up urls of many apps

2021-02-21 Thread Peter Kirieny
Thanks Jorge it was of great help On Sat, 20 Feb 2021 at 20:33, Jorge Gimeno wrote: > > > On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA < > bharathjink...@gmail.com> wrote: > >> Hi, >> >> Please follow these docs >> https://docs.djangoproject.com/en/3.1/ref/urls/#include >> >> On Thu, Fe

Re: setting up urls of many apps

2021-02-20 Thread Jorge Gimeno
On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA < bharathjink...@gmail.com> wrote: > Hi, > > Please follow these docs > https://docs.djangoproject.com/en/3.1/ref/urls/#include > > On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny > wrote: > >> if self.pattern.name is not None and ":" in sel

Re: setting up urls of many apps

2021-02-17 Thread RANGA BHARATH JINKA
Hi, Please follow these docs https://docs.djangoproject.com/en/3.1/ref/urls/#include On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny wrote: > if self.pattern.name is not None and ":" in self.pattern.name: > TypeError: argument of type 'type' is not iterable > > that's the error > > On Thu, 1

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
if self.pattern.name is not None and ":" in self.pattern.name: TypeError: argument of type 'type' is not iterable that's the error On Thu, 18 Feb 2021 at 09:39, Peter Kirieny wrote: > thanks sir > that's done though the error still persists > > On Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JI

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
thanks sir that's done though the error still persists On Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JINKA wrote: > Hi, > > Please check namespace='core' in project urls.py. For shops app also > namespace is same. Please change this namesapce to Shops. > > All the best > > On Thu, Feb 18, 2021 at

Re: setting up urls of many apps

2021-02-17 Thread RANGA BHARATH JINKA
Hi, Please check namespace='core' in project urls.py. For shops app also namespace is same. Please change this namesapce to Shops. All the best On Thu, Feb 18, 2021 at 11:56 AM Peter Kirieny wrote: > in the projects urls.py > > from django.conf import settings > from django.conf.urls.static im

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
in the projects urls.py from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('accounts/', include('allauth.urls')), path('', include('cor

Re: setting up urls of many apps

2021-02-17 Thread Nicolas nasr
Can you please show your urls.py file On Wednesday, February 17, 2021 at 8:31:50 AM UTC+2 kirien...@gmail.com wrote: > someone to help me to set up urls of two different apps in django project > please, i keep on getting errors > am new > -- You received this message because you are subscrib

Re: setting up urls of many apps

2021-02-17 Thread Peter Kirieny
Exception in thread django-main-thread: Traceback (most recent call last): File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 932, in _bootstrap_inner self.run() File "C:\Users\Admin\AppData\Local\Programs\Python\Python38\lib\threading.py", line 870, in run