Thanks Jorge
it was of great help
On Sat, 20 Feb 2021 at 20:33, Jorge Gimeno <jlgimeno71@gmail.com> wrote:
--On Wed, Feb 17, 2021 at 11:00 PM RANGA BHARATH JINKA <bharathjinka09@gmail.com> wrote:On Thu, Feb 18, 2021 at 12:12 PM Peter Kirieny <kirienypeter@gmail.com> wrote:if self.pattern.name is not None and ":" in self.pattern.name:
TypeError: argument of type 'type' is not iterablethat's the error--On Thu, 18 Feb 2021 at 09:39, Peter Kirieny <kirienypeter@gmail.com> wrote:thanks sirthat's done though the error still persistsOn Thu, 18 Feb 2021 at 09:32, RANGA BHARATH JINKA <bharathjinka09@gmail.com> 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 bestOn Thu, Feb 18, 2021 at 11:56 AM Peter Kirieny <kirienypeter@gmail.com> wrote:in the projects urls.pyfrom 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('core.urls', namespace='core')),
path('Shops/', include('Shops.urls', namespace='core')),
]
if settings.DEBUG:
import debug_toolbar
urlpatterns += [path('__debug__/', include(debug_toolbar.urls))]
urlpatterns += static(settings.MEDIA_URL,
document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL,
document_root=settings.STATIC_ROOT)in the app's urls.pyfrom django.urls import path
from .views import ShopsView
app_name = 'Shops'
urlpatterns = [
path('Shops/', ShopsView.as_view(), name=ShopsView)--On Wed, 17 Feb 2021 at 17:52, Nicolas nasr <nasr528@gmail.com> wrote: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 errorsam new
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/635506c8-35bc-4c76-a937-c992dd1312dbn%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL8t8eoNg68Qd%3DC3OYWonaLs%3DvAKcnzDFxxbrcNK65BJ%3DtnwnQ%40mail.gmail.com.
----Thanks and RegardsJ. Ranga Bharathcell: 9110334114
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m316xfF43VCU%2B6NczvpHPxSKeRsg7XFQa3GpAfHKaf2JENg%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL8t8epM3Y9_twr%2Bg83wkYXAaHCjD3MY03RY%2B28QS8BYO2DVEA%40mail.gmail.com.
----Thanks and RegardsJ. Ranga Bharathcell: 9110334114
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK5m31747wx_k4vRq0SW8LH75KSLE-JVffQ_Rr4MjqjQjd_8rw%40mail.gmail.com.The issue appears to be in your apps urls.py. The 'name' parameter is expected to be a string, and you're passing a view object.-Jorge
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CANfN%3DK_L-dhxi-Psac2FR0%3DZNUy5t-Uc6Zn%3D%2BdLk-qexVC4dQQ%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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAL8t8eqaO_EWRvW2E3p%2B6bsfG-qLFJtKbe_ZbFK0B%3DRxUNQJEw%40mail.gmail.com.
No comments:
Post a Comment