Re: Passing pk arguments from a URL into another view

2019-02-04 Thread Gavin Boyle
Hi Pooya, Once I’ve done the include, how can I then pass that PK into the view of the included urls? Thanks Gavin On Mon, 4 Feb 2019 at 08:15, Ivan Martić wrote: > Can you elaborate a bit, i have the same issue with noreverse error > > ned, 3. velj 2019. u 15:08 poOya mOsaddegh > napisao je:

Re: Passing pk arguments from a URL into another view

2019-02-04 Thread Ivan Martić
Can you elaborate a bit, i have the same issue with noreverse error ned, 3. velj 2019. u 15:08 poOya mOsaddegh napisao je: > Hi > You may use include in urls.py > > urlpatterns = [ > path('', views.club_home, name='club_home'), > path('/', include(club_home_urls, namespace='club_home')),

Re: Passing pk arguments from a URL into another view

2019-02-03 Thread poOya mOsaddegh
Hi You may use include in urls.py urlpatterns = [ path('', views.club_home, name='club_home'), path('/', include(club_home_urls, namespace='club_home')), ] On Sat, Feb 2, 2019 at 8:20 PM GavinB841 wrote: > *Hi all,* > > *I am having issues using arguments from a URL in another view, I

Passing pk arguments from a URL into another view

2019-02-02 Thread GavinB841
*Hi all,* *I am having issues using arguments from a URL in another view, I have reached out on stackover flow with no success, i believe i am wording this question poorly.* *To quickly explain * - *I have a main site which shows a list of sports clubs. When the user selects on one it r