Thanks! I knew there was a way around this. Repeating code is very not
like django :)
Works like a charm.
Thanks again.
On Apr 13, 12:30 am, Danny Adair wrote:
> On Tue, Apr 13, 2010 at 15:59, rvidal wrote:
> >[...]
> > I have my urls.py looking
On Tue, Apr 13, 2010 at 15:59, rvidal wrote:
>[...]
> I have my urls.py looking something like this:
> urlpatterns = patterns('mysites.shop.views',
> (r'^$', 'index'),
> (r'^client/(?P\d+)/$', 'details'),
> (r'^client/(?P\d+)/receipts/$', 'receipts'),
>
On 13 avr, 05:59, rvidal wrote:
> I have my urls.py looking something like this:
> urlpatterns = patterns('mysites.shop.views',
> (r'^$', 'index'),
> (r'^client/(?P\d+)/$', 'details'),
> (r'^client/(?P\d+)/receipts/$', 'receipts'),
>
Hi,
I have a database of related data connected via foreign keys. One to
many relationships between one table and various other tables.
Random example:
Client
- id
- name
- age
Receipts
- id
- client (fk)
- timestamp
Contacts
- id
- client (fk)
- timestamp
I have my urls.py looking something
4 matches
Mail list logo