Re: Newbie Question: URLconf suggestions

2007-06-01 Thread SmileyChris

Perhaps:

.../from/2007-02-07/

.../until/2007-03-07/

.../from/2007-02-07/until/2007-03-07/

On Jun 2, 7:40 am, cjl <[EMAIL PROTECTED]> wrote:
> D:
>
> I am in the process of learning Django, and I'm trying to build a very
> simple mapping application similar to chicagocrime or
> newhavencrimelog.
>
> I like the URLconf that chicagocrime uses for displaying crimes by
> type:
> /crimes/arson
> /crimes/burglary
>
> This makes sense, and the urls look nice.  I'm stumped on the "right"
> way to handle dates or date ranges in a URLconf...newhavencrimelog
> allows you to limit your search by a date range, however this
> information in not reflected in the URL...I'm guessing this is passed
> as session data? Chicagocrime has a URLconf for a single date, but not
> for ranges:
>
> /2007/feb/07
>
> Anyway, I would like some suggestions on a URLconf for date
> ranges...anyone doing this?
>
> Thanks in advance,
> CJL


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Newbie Question: URLconf suggestions

2007-06-01 Thread cjl

D:

I am in the process of learning Django, and I'm trying to build a very
simple mapping application similar to chicagocrime or
newhavencrimelog.

I like the URLconf that chicagocrime uses for displaying crimes by
type:
/crimes/arson
/crimes/burglary

This makes sense, and the urls look nice.  I'm stumped on the "right"
way to handle dates or date ranges in a URLconf...newhavencrimelog
allows you to limit your search by a date range, however this
information in not reflected in the URL...I'm guessing this is passed
as session data? Chicagocrime has a URLconf for a single date, but not
for ranges:

/2007/feb/07

Anyway, I would like some suggestions on a URLconf for date
ranges...anyone doing this?

Thanks in advance,
CJL


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---