Hey Andrzej! Big apologies to everyone for not following up on this after my initial post - things have been a bit crazy.
Andrzej, I don't have time to do a detailed testing and review of your code, but on the surface, it looks good. I'm going ahead and merging the pull request [0] into my (batpad) branch. Stephen, any advice on how best to go forward? Please let me know what I can / should do from my end - I do potentially have a bit more time next month, but am a bit swamped with a big release until the end of this one .. Thanks a lot Adrzej for the PR, hopefully we can make this happen .. -Sanjay [0] https://github.com/batpad/mezzanine/commit/025876964e4abe9888eed1ba40fc54a8bd368c0d On Sat, Sep 20, 2014 at 6:10 PM, Andrzej Grymkowski <[email protected]> wrote: > Hi, > > I've just pushed pull request to batpad branch. > I splited views/urls/serializers into folders. So access for blog post is > /api/blog/blog_post > > Generally I have been focusing on view blog posts to display list of post in > my page. Only works GET request. To add something you have to do it by > mezzanine.admin page. > > I had to set in model "Site" field "site" to editable=True because of that: > https://github.com/tomchristie/django-rest-framework/issues/1604 > > What else? I moved some rest methods to appropriate folders like blogsViews > into blog, userView into core and pagesViews into pages. > > Could someone review it in order to check correctness of names, urls, views > and indicate what correct? > > Best regards, > Andrzej Grymkowski > > > On Sunday, June 1, 2014 7:29:38 PM UTC+2, Fredrik Blomqvist wrote: >> >> Hi, >> >> I want to create a website that uses both Mezzanine as its CMS and Angular >> for the user experience (and because I just took a course on it and it seems >> awesome so far). >> I read a great tutorial on how to create a Django + Angular app, which >> didn't seem too hard, but I am unsure how to approach Mezzanine though. >> >> The part I don't understand is how to create the API (the front-end is >> kinda obvious, just modify the templates). I would really appreciate a >> pointer in the right direction, an explanation, or even better some code >> examples (any demo site like this?)! >> >> Best Regards, >> Fredrik Blomqvist > > -- > You received this message because you are subscribed to the Google Groups > "Mezzanine Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Mezzanine Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
