Re: Django urls error

2023-04-23 Thread Nitesh Solanki
myproject (main app) myapp (additional app) Code: myproject/urls.py from django.contrib import admin from django.urls import path, include from .views import HomeView urlpatterns = [ path('admin/', admin.site.urls), path('', HomeView, name='home'), ### will refer to main app views.py.

Re: Django urls error

2023-04-22 Thread ritik sahoo
Exactly On Tue, 18 Apr, 2023, 3:46 am Tarun Miri, wrote: > You may not write any string on the urls.py of myapp/urls.py > Ex path('',hello_delhi_capitals,name="hello_delhi_capitals"), > > On Sat, 15 Apr, 2023, 7:29 am Muhammad Juwaini Abdul Rahman, < > juwa...@gmail.com> wrote: > >> In your

Re: Django urls error

2023-04-17 Thread Tarun Miri
You may not write any string on the urls.py of myapp/urls.py Ex path('',hello_delhi_capitals,name="hello_delhi_capitals"), On Sat, 15 Apr, 2023, 7:29 am Muhammad Juwaini Abdul Rahman, < juwa...@gmail.com> wrote: > In your urls.py you use '/hello' but in your browser you type '/home'. > > On Sat,

Re: Django urls error

2023-04-17 Thread Tahir Munir Faraz
do not write hello at the project level This is not correct path('hello/', include('myapp.urls')), The code below is correct path('' ",include("myapp.urls"), On Sun, 16 Apr 2023 at 21:34, oluwafemi damilola wrote: > Your path is 'hello/', but in your browser you are going to 'home', that > path

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
Your path is 'hello/', but in your browser you are going to 'home', that path does not exist On Fri, 14 Apr 2023 at 23: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): >

Re: Django urls error

2023-04-16 Thread oluwafemi damilola
If you are still getting the error if you visit the 'hello' path, then you should visit 'hello/hello/' On Sun, 16 Apr 2023 at 11:19, oluwafemi damilola wrote: > Your path is 'hello/', but in your browser you are going to 'home', that > path does not exist > > On Fri, 14 Apr 2023 at 23:07,

Re: Django urls error

2023-04-15 Thread 'Kasper Laudrup' via Django users
On 14/04/2023 21.48, lalit upadhyay wrote: * I have copied my code here. The code is from a project called "myproject" Plz fix this error: The error is from a project called "Tesing". You can ignore all other answers you've been given so far until you figure out how that could be.

Re: Django urls error

2023-04-15 Thread Karthik V A
Bro, From myapp/ urla.py Url pattern =[ Path('hello', views.hello_delhi_capitals, name = hello_delhi_capitals)] On Sat, 15 Apr, 2023, 8:35 pm b1t, wrote: > ou haven't defined the home url that you are trying to access > > On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 lalit upadhyay wrote:

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
You are suppose to use localhost:8000/hello/hello. Because, you added hello as you path when you are including the app urls to the project url and also you made hello the path to the view of hello_delhi_ Which makes 2 hello's.. Use localhost:8000/hello/hello On Sat, Apr 15, 2023, 9:27 AM

Re: Django urls error

2023-04-15 Thread b1t
You define hello/ in your base urls.py file and again in your myapp/urls.py so that's create a URL like this "127.0.0.1/hello/hello". instead use this in your myapp/urls.py urlpatterns = [ path('', hello_delhi_capitals, name='hello_delhi_capitals'), ] On Saturday, 15 April 2023 at 13:57:36

Re: Django urls error

2023-04-15 Thread አብርሃም መስፍን
remove 'hello' from myapp.py to access the site on 'hello' or you can access it at 'hello/hello' On Sat, Apr 15, 2023, 11:57 AM lalit upadhyay wrote: > I haven't used admin/ in my urls.py in myapp > from django.urls import path > > from . import views > > urlpatterns = [ > path('',

Re: Django urls error

2023-04-15 Thread Shaikh Mudassir
In *myproject/urls.py *you have defined a path *hello/* for *myapp *and then again you define *hello/ *for the hello_delhi_capitals method. Now, You have two solution 1. You call *http://127.0.0.1:8000/home/home * 2. You can remove */home* in *myproject/urls.py * like this *path(**'',

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
What I notice is that wgen you are creating ur urls at the project level, you used "hello/" and you include the the app level urls. If you want to request the route from the browser, you are suppose to use localhost:8000/hello, not localhost:home. Remember: you did not create a route for

Re: Django urls error

2023-04-15 Thread Lawal Tobiloba Samuel
So if you want to request you page, it will look like this, localhost:hello/hello. At the app level of the urls, you can leave that path empty like this. path(" ", views.delih.., name = "deliii") Then you can request you web page as localhost:/hello On Sat, Apr 15, 2023, 12:38 AM

Re: Django urls error

2023-04-15 Thread b1t
ou haven't defined the home url that you are trying to access On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 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

Re: Django urls error

2023-04-15 Thread b1t
You are trying to access the home/ URL which u haven't defined yet On Saturday, 15 April 2023 at 03:37:38 UTC+5:30 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

Re: Django urls error

2023-04-15 Thread lalit upadhyay
I haven't used admin/ in my urls.py in myapp from django.urls import path from . import views urlpatterns = [ path('', views.index, name="index"), ] On Saturday, April 15, 2023 at 2:01:53 PM UTC+5:30 Karthik V A wrote: > Remove admin/ url pattern at urls.py in myapp > > On Sat, 15 Apr,

Re: Django urls error

2023-04-15 Thread Karthik V A
Remove admin/ url pattern at urls.py in myapp On Sat, 15 Apr, 2023, 1:58 pm lalit upadhyay, wrote: > > *I have replaced URL ‘home/’ to ‘hello/’ but still i got same error* > On Saturday, April 15, 2023 at 7:29:15 AM UTC+5:30 Muhammad Juwaini Abdul > Rahman wrote: > >> In your urls.py you use

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

Re: Django URLs

2019-04-28 Thread Anirudh Jain
What is the function 'detail' ? You need to assign 'slug' variable also in order to pass it to the url. On Sun, 28 Apr 2019, 13:50 Aayush Bhattarai, wrote: > Hello Everyone, > > I want to pass two url in url of template. I have added in urls.py also. > > code:- > Index.html > *http://detail.id>

Django URLs

2019-04-28 Thread Aayush Bhattarai
Hello Everyone, I want to pass two url in url of template. I have added in urls.py also. code:- Index.html ** *In Up I want to pass slug. What Should I do.* *urls.py:* *path("detail//"),* *Thanks For Help* -- You received this message because you are subscribed to the Google Groups "Django

SOLVED Erroneous links in my Django URLs - all load the home page -- not a 404 or other error.page

2016-12-22 Thread NoviceSortOf
Thanks that does the job. I'm editing subject to read as 'Solved' - Is this considered best practice in this form? On Thursday, December 22, 2016 at 2:43:23 AM UTC+1, NoviceSortOf wrote: > > > URLs not defined in my urls.py all show my home page and not a 404 missing > page error. > > For

Re: Django URLS

2016-11-18 Thread Stefano Probst
Hi, I think you search something like django-subdomains . regards Stefano Am Donnerstag, 17. November 2016 19:17:37 UTC+1 schrieb Lekan Wahab: > > If i have a url like *fruits.com*, does anyone know how i can write my > subdomain urls in

Re: Django URLS

2016-11-17 Thread Antonis Christofides
Hi, Could you explain a bit better what you want and what you have achieved so far? Could you show us your urls.py and/or nginx or apache configuration? Regards, Antonis Antonis Christofides http://djangodeployment.com On 2016-11-17 20:17, Lekan Wahab wrote: > If i have a url like *fruits.com

Django URLS

2016-11-17 Thread Lekan Wahab
If i have a url like *fruits.com*, does anyone know how i can write my subdomain urls in django to be *apple.fruits.com* instead of * fruits.com/apple* ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django urls and Angular ui router

2015-07-01 Thread Filipe Ximenes
You can eigther save your partial templates inside your "static" folder (and fetch it just like any static document), or if you are doing some "django processing" before sending the partial, you will need to write individual views for each one of then. On Wed, Jul 1, 2015 at 5:06 AM, ABEL D

Django urls and Angular ui router

2015-07-01 Thread ABEL D
I am a front end developer in django and angularjs app. I am using templates and partials in angular. Do I need to define each and every templates url in django to get its file from the server. If not how to do this in Django? -- You received this message because you are subscribed to the

Django URLs em arquivos CSS

2014-08-27 Thread Edson Pereira da Silva
#art-main { background: #63AFDE url('images/page.png') top center scroll; } Como resolver o problema da TAG URL para receber a caminho da imagem? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Django URLS help app not defined

2014-05-07 Thread Tom Evans
On Tue, May 6, 2014 at 9:40 PM, G Z wrote: > Thanks so much one last thing >> > > Page not found (404)Request Method:GETRequest URL: > http://pythondev.enki.co:8001/customers > > Using the URLconf defined in provisioning.urls, Django tried these URL > patterns, in this order: >

Re: Django URLS help app not defined

2014-05-06 Thread Rafael E. Ferrero
Check this out: http://linkode.org/j5tuDIjRiGrzufkXDrCMh7 if you visit http://www.fsorgosuardi.com.ar/eventos you go to activos views if you visit http://www.fsorgosuardi.com.ar/eventos/ampliar/something-hereyou go to activos views with parameters if you visit

Re: Django URLS help app not defined

2014-05-06 Thread G Z
yea the admin works perfectly fine no issues. On Monday, May 5, 2014 11:09:51 PM UTC-6, G Z wrote: > > project name = provisioning > app name = vmware > > In my projects urls.py I have the following. I assume I set the new url > link customers to myapp.urls because im watching a youtube video

Re: Django URLS help app not defined

2014-05-06 Thread G Z
ok I figured it out all i had to do was change my app urls.py and take out customers so now its like this from django.conf.urls import patterns, include, url from django.views.generic.list import ListView from vmware.models import Customer urlpatterns = patterns('', url(r'^',

Re: Django URLS help app not defined

2014-05-06 Thread G Z
The admin page works fine only the other two don't Project Structure Project Root Directory: provisioning/ this is where manage.py lives Project Settings Directory provisioning/provisioning/settings.py App Directory provisioning/vmware template directory /provisioning/vmware/templates/

Re: Django URLS help app not defined

2014-05-06 Thread Rafael E. Ferrero
if you try http://pythondev.enki.co:8001/admin works just fine ? -- Rafael E. Ferrero 2014-05-06 17:40 GMT-03:00 G Z : > Thanks so much one last thing >> > > Page not found (404)Request Method:GETRequest URL: >

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > Thanks so much one last thing > Page not found (404)Request Method:GETRequest URL: http://pythondev.enki.co:8001/customers Using the URLconf defined in provisioning.urls, Django tried these URL patterns, in this order: 1. ^admin/ 2. ^customers/ The current URL, customers, didn't

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > Whats wrong with this > from django.conf.urls import patterns, include, url from django.view.generic import ListView from vmware.models import Customer urlpatterns = patterns(' ', url(r'^customers/', ListView.as_view(

Re: Django URLS help app not defined

2014-05-06 Thread C. Kirby
At first glance you are missing a paren: queryset=Customer.objects.all().order_by"-id")[:100] should be: queryset=Customer.objects.all().order_by("-id")[:100] Are you using an IDE? It should have picked that up kirby On Tuesday, May 6, 2014 1:38:34 PM UTC-5, G Z wrote: > > Whats wrong

Re: Django URLS help app not defined

2014-05-06 Thread C. Kirby
I strongly recommend the tutorial provided by django, and I would do the tutorial as it is to start, not with your own models. Really understand the concepts as they are written, then apply those concepts to your project. Kirby On Tuesday, May 6, 2014 1:16:46 PM UTC-5, G Z wrote: > > in fact

Re: Django URLS help app not defined

2014-05-06 Thread C. Kirby
Sorry, it's been a while since I looked at the tutorial, to make the tutorial more straightforward it uses a simplified project layout. I looked at your urls again, and the error is that you forgot quotes. url(r'^customers/', include(vmware.urls)), should be url(r'^customers/',

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > in fact here is the tutorial series I was following > https://www.youtube.com/watch?v=KqN4u28T-JQ=PLQVvvaa0QuDcTDEowl-b5nQlaDaD82r_s -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Django URLS help app not defined

2014-05-06 Thread G Z
I'm following the django tutorial the project is provisioning I created the folder provisioning folder, then ran startproject provisioning which has manage.py then it creates the subfolder provisioning which has the init.py file and settings etc. then from the root directory of my project

Re: Django URLS help app not defined

2014-05-06 Thread C. Kirby
G Z, That is a somewhat odd project structure. Also, the ls you posted: directory structure provisioning is the project vmware is the app. drwxr-xr-x 4 root root 4096 May 5 20:12 . drwxr-xr-x 3 root root 4096 May 5 19:09 .. -rw-r--r-- 1 root root 255 May 5 19:09 manage.py drwxr-xr-x 2 root

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > I'm running 1.6.4 > > Project Structure Project name: provisioning App Name: vmware > /djangoprojects/provisioning/provisioning/urls.py > > > from django.conf.urls import patterns, include, url > > from django.contrib import admin > admin.autodiscover() > from . import vmware > >

Re: Django URLS help app not defined

2014-05-06 Thread C. Kirby
Please post your project structure - that will help to clear up the import On Tuesday, May 6, 2014 11:28:28 AM UTC-5, G Z wrote: > > so in my project.urls file i put >> > > from . import vmware > > do i have to add anything to my apps.urls because i got the following > error after adding the

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > so in my project.urls file i put > from . import vmware do i have to add anything to my apps.urls because i got the following error after adding the folllowing from django.contrib import admin admin.autodiscover() from . import vmware urlpatterns = patterns('', # Examples: #

Re: Django URLS help app not defined

2014-05-06 Thread Davide Scatto
it seems in yr project urls.py you don't import vmware. from django.conf.urls import patterns, include, url from django.contrib import admin from . import vmware urlpatterns = patterns Il giorno martedì 6 maggio 2014 07:09:51 UTC+2, G Z ha scritto: > > project name = provisioning

Re: Django URLS help app not defined

2014-05-06 Thread G Z
> > and yes vmware is defined in installed apps. > -- 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 post to this

Re: Django URLS help app not defined

2014-05-06 Thread G Z
I'm not trying to set up the admin stie. I have already done that the admin site works im trying to set up the /customers site. Which I have defined below. I have it set in the projects urls.py to link to vmware.urls then i have the urls.py in the app vmware pointing to my templates to display

Re: Django URLS help app not defined

2014-05-06 Thread Rafael E. Ferrero
I think that you fail on trying to setup the admin site for your proyect. check this out https://docs.djangoproject.com/en/1.6/ref/contrib/admin/ -- *RAFAEL FERRERO* *Chief Officer Technology* San Francisco Cba. | Argentina +54 9 356251 4856 www.perseux.com 2014-05-06 2:09 GMT-03:00 G Z

Django URLS help app not defined

2014-05-06 Thread G Z
project name = provisioning app name = vmware In my projects urls.py I have the following. I assume I set the new url link customers to myapp.urls because im watching a youtube video and thats what he did. from django.conf.urls import patterns, include, url from django.contrib import

Django URLs problem

2014-05-06 Thread G Z
drwxr-xr-x 4 root root 4096 May 5 20:12 . drwxr-xr-x 3 root root 4096 May 5 19:09 .. -rw-r--r-- 1 root root 255 May 5 19:09 manage.py drwxr-xr-x 2 root root 4096 May 5 22:51 provisioning drwxr-xr-x 3 root root 4096 May 5 22:22 vmware my project ursl is as follows from django.conf.urls

Re: Django URLs with/without proxy server

2013-03-04 Thread Bill Freeman
ion works. In the env. 2, the app is accessed as >>> http://www.domain.com/id1/app1/app1/. >>> >>> I couldn't understand why we need to prefix app1 in the URL so many >>> times. In other words, why (how) this works. >>> >>> Could someone clarify on

Re: Django URLs with/without proxy server

2013-03-03 Thread Barun Saha
he application works. In the env. 2, the app is accessed as >> http://www.domain.com/id1/app1/app1/. >> >> I couldn't understand why we need to prefix app1 in the URL so many >> times. In other words, why (how) this works. >> >> Could someone clarify on this? Also,

Re: Django URLs with/without proxy server

2013-03-02 Thread Bill Freeman
2, the app is accessed as > http://www.domain.com/id1/app1/app1/. > > I couldn't understand why we need to prefix app1 in the URL so many times. > In other words, why (how) this works. > > Could someone clarify on this? Also, note that all configurations need to > be done on

Django URLs with/without proxy server

2013-03-01 Thread Barun Saha
on the virtual machine. I don't have access to the proxy server. (Posted in Stackoverflow: http://stackoverflow.com/questions/15159134/django-urls-with-without-proxy-server) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubs

Re: Dynamic parameters in django URLs

2011-09-29 Thread Piotr Zalewa
On 09/29/11 11:36, Dejan Noveski wrote: Hi, I want to add dynamic urls to my site for faceting purposes. E.g: /(type)/(subtype)/(category)/ But I also want something like this to work: /(type)/(subtype)/ or /(type)/(category)/ or /(subtype)/(category)/ or just /(category)/ | /(type)/ |

Re: Dynamic parameters in django URLs

2011-09-29 Thread Ilian Iliev
I had the same case a while ago but I decided always to keep all the params, and fill them with 'all' if empty i.e. /type/ redirects to /type/all/all/ /type/subtype/ redirects to type/subtupe/all Otherwise if you are absolute sure that it is inpossible for type,subtype and category to mach you

Dynamic parameters in django URLs

2011-09-29 Thread Dejan Noveski
Hi, I want to add dynamic urls to my site for faceting purposes. E.g: /(type)/(subtype)/(category)/ But I also want something like this to work: /(type)/(subtype)/ or /(type)/(category)/ or /(subtype)/(category)/ or just /(category)/ | /(type)/ | /(subtype)/ Is there any clean way of doing this

Re: Application Name in Django urls.

2011-02-21 Thread Uolter
Hi all, I found a solution by myself and was already documented in the Django documentation: the best solution is to set apache with mod_python and the follwing configuration: SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath

Application Name in Django urls.

2011-02-20 Thread Uolter
I am running Pootle http://translate.sourceforge.net/wiki/pootle/index which is basically a Django apps on dabian server. All the urls look like: http:///account/login?next=index http:///docs/index.html http:///admin/ and so on. I would like to add the application name before each path:

Re: Django Urls object_id/xxxxxx/object_id

2007-04-22 Thread Michael Trier
Great blog post. Michael On 4/20/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > > On Fri, 2007-04-20 at 22:26 +0100, Oliver Charles wrote: > > Just write your own view that in turn calls a generic view? Create a new > > view, with a similiar signiture, but change the object_id for team_id

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Malcolm Tredinnick
On Fri, 2007-04-20 at 22:26 +0100, Oliver Charles wrote: > Just write your own view that in turn calls a generic view? Create a new > view, with a similiar signiture, but change the object_id for team_id > AND result_id. Then, do a bit of logic to find the query set you need a > view of, and

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Karen Tracey
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > > (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html') > > doesn't work for me... Uh, yeah, it wouldn't would it? Sorry, about that.

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Jeremy Dunck
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > > Hi Karen, > > (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html') FWIW, django views are pretty simple to do yourself, and you can

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Hi Karen, (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', 'django.views.generic.list_detail.object_detail', dict(results_dict, template_name='teams/team_results_reports.html') doesn't work for me, but I've been thinking about your post, and you were right about me wanting to leave breadcrumbs (why

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Karen Tracey
Do you really need the team_id to specify the result you are looking for? I'm guessing you probably have a single results table (with results from all teams), and the 2nd number in the url is all you need to select the result in question. Then: (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$',

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Oliver Charles
Just write your own view that in turn calls a generic view? Create a new view, with a similiar signiture, but change the object_id for team_id AND result_id. Then, do a bit of logic to find the query set you need a view of, and pass this through to a generic view, and then return this. Hope

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Thanks for the help Tim, however I've tried that and it doesn't work : ( Is there any other way you could think of achieving it, even if it doesn't use generic views and urls? Thanks, Duncan --~--~-~--~~~---~--~~ You received this message because you are

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Tim Chase
> (r'^team/(?P[0-9]+)/results/(?P[0-9]+)/$', > 'django.views.generic.list_detail.object_detail', dict(results_dict, > template_name='teams/team_results_reports.html')), > > the bottom Url is totally wrong I just had a stab in the dark (a > rather poor one at that) but it was attempting to

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Firstly: there are many teams, each team can have many results. so obviously you'd need an id for the result id as well not just team/ 1/results/detail. Sorry it was a bad example in the previous post, it could be team/3/ results/5/ or team/10/results/522 (i.e. the team and results numbers

Re: Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread Jeremy Dunck
On 4/20/07, DuncanM <[EMAIL PROTECTED]> wrote: > I'm stuck when trying to do: > team//results/ > which I'd like to return a page that gives the detail of a result. Sorry, this isn't clear to me. You're saying something like team/1/results/1/? If so, why repeat the 1? Why not

Django Urls object_id/xxxxxx/object_id

2007-04-20 Thread DuncanM
Hi, I have looked at the django docs and couldn't find anything exactly related to what I want to do. I have my urls set up currently so: team/ returns a page for that team team//results returns a results page for that team I'm stuck when trying to do: team//results/ which I'd like to return