Re: Help with plugin development (esp. djangocms-helper)

2016-11-17 Thread Brian Rutledge
Ah, yes, tox. I have that installed globally. So, this was successful: $ git clone g...@github.com:divio/djangocms-style.git $ cd djangocms-style $ tox -e py27-latest # ... py27-latest: commands succeeded congratulations :) $ source .tox/py27-latest/bin/activate (py27-latest)$ coverage run se

Re: Help with plugin development (esp. djangocms-helper)

2016-11-17 Thread Iacopo Spalletti
Il 17/11/2016 16:39, Brian Rutledge ha scritto: > In the process of submitting a PR for djangocms-style > , I ran into some > snags with getting my development environment set up. I started by > following the instructions under Running Tests >

Feature idea: Page class attribute

2016-11-17 Thread Brian Rutledge
In our templates, I'd like to be able to identify a page as being part of a section of the site, so that we can apply section-specific CSS. My initial thought on how to do this would be to add a class to the tag, but I don't see an attribute on the Page model for this. What do y'all think of a

Re: Feature idea: Page class attribute

2016-11-17 Thread czpython
Hello Brian, You can use https://github.com/nephila/djangocms-page-tags for tagging pages or build a custom solution using page extensions . On Thursday, November 17, 2016 at 10:54:43 AM UTC-5, Brian Rutledge wrote: >

Help with plugin development (esp. djangocms-helper)

2016-11-17 Thread Brian Rutledge
In the process of submitting a PR for djangocms-style , I ran into some snags with getting my development environment set up. I started by following the instructions under Running Tests , b

Re: Changing plugin settings results in missing migrations

2016-11-17 Thread Brian Rutledge
Looks like the initial migration for djangocms-style does what John suggested for class_name and tag_type. I'm going to take a crack at a PR for this. That said, I looked through the migra