Have a look at this guys youtube channel
https://www.youtube.com/user/CodingEntrepreneurs/playlists
There he has some video playlists. The most interesting for you are
trydjango1.9 and trydjango1.8 where he builds two different websites.
I think they fit perfectly with what you asking.
If you pr
I barely understand django my self but I hope I am pointing you in the
right direction.
1. I don't understand what the (?:/(?P[\w\d-]+))?/ part in your
pattern is supposed to do. My regexp-fu is weak so I can't comment on that
2. Your url will match and pass to the view whatever url you give
As to what kind of pattern it expects I found it. It expects glob style
patterns like the shell prompt. Not much matching to be done here.
Still I am curious if there is any clever way to achieve this with
pattern matching.
On 16/08/2016 11:30 μμ, 'voger' via Django users wrote:
Let's say somewhere inside my /static/ folder I have this tree
$ tree -L 2 -F --dirsfirst
.
├── qooxdoo -> ../../../qooxdoo//
└── qssite/
├── build/
├── source/
├── apache2.conf
├── config.json
├── config.json_orig
├── config.json_test
├── decode-source-uris.js
├──
4 matches
Mail list logo