Closed magopian closed 10 years ago
Why did you amend the master commit?
I think the documentation is another question, but at least this will be useful even if we want to fix the documentation later.
I have no specific comments to add to this PR, it looks good to me.
Yes thanks ! Welcome onboard @magopian !
More generally I'm suprised that pyramid doesn't provide url rewrite (see hard coded urls in the code: https://github.com/spiral-project/daybed/blob/master/daybed/views/models.py#L115-L116)
aouch, indeed :/ and thanks ;)
I got bitten by the documentation saying that I could go to http://localhost:8000/fields, and had a 404.
@Natim told me that instead of fixing the code, I could automatically redirect to use the api version if the path is missing it.
If it's a bad idea, then it's @Natim's fault ;)
(Obviously, if it's a good idea, it's thanks to me, right? ;)