Re: [mezzanine-users] collectstatic copies static files but mezzanine looks for static files in site-packages\mezzanine\*

2016-04-19 Thread Sebastian Wain
Hi Rodrigo,

I am not using any app yet, just a new project. I just want to modify the 
css/js/img created via collectstatic in the same way I do with 
collecttemplates.

When I perform collecttemplates I can change the templates locally and it 
works so I expect that modifying css or js files after collectstatic the 
local changes will be also used.

Thanks,
Sebastian

On Tuesday, April 19, 2016 at 1:55:54 PM UTC-3, Rodrigo Gadea wrote:
>
> I don't understand what is your problem exactly, but it may be that the 
> "main" / "root" static/ and template/ are the first considered when 
> rendering - if you want to have the static and templates of your apps used, 
> try renaming those on the "root" directory to something like 
> "base_old.hml", test, and then run "collect*" - and they will be copied and 
> "frozen" from your apps. Other problem may be the order that the apps are 
> installed in the main settings.py.
>
> HTH,
> Rodrigo
>
> On Tue, Apr 19, 2016 at 1:42 PM, Sebastian Wain <sebasti...@gmail.com 
> > wrote:
>
>> I created and empty project, perform a collecttemplates, then 
>> collectstatic but mezzanine looks for the static files in the Python 
>> packages location. I tried modifying DEBUG to True but the result is the 
>> same.
>>
>> Thanks,
>> Sebastian
>>
>> -- 
>> 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 mezzanine-use...@googlegroups.com .
>> 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] collectstatic copies static files but mezzanine looks for static files in site-packages\mezzanine\*

2016-04-19 Thread Sebastian Wain


> That's the desired behavior when you're running the development server: 
> we want Django to look for files in each app, either in your virtualenv 
> or your project. 
>
>  Sorry, I don't get why this is the desired behavior in development since 
I want to modify the bootstrap and css/js/img files. Also, my STATIC_ROOT 
points to the right location. What is the point then of doing collectstatic 
if at the end the files will be retrieved from the same location?

Thanks,
Sebastian

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] collectstatic copies static files but mezzanine looks for static files in site-packages\mezzanine\*

2016-04-19 Thread Sebastian Wain
I created and empty project, perform a collecttemplates, then collectstatic 
but mezzanine looks for the static files in the Python packages location. I 
tried modifying DEBUG to True but the result is the same.

Thanks,
Sebastian

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] What is the best way to edit sections/part of a page?

2016-04-18 Thread Sebastian Wain
Thank you again. Finally I am following your suggestion (detracting from my 
worst case scenario position) because just adding an editable block for 
each subpage makes the trick. In this way the user will be able to edit all 
the parts individually on the parent page.

Thanks,
Sebastian

On Wednesday, April 13, 2016 at 2:48:57 PM UTC-3, Kenneth Bolton wrote:
>
> Hi Sebastian,
>
> Pages can have parent/child relationships to one another. In your 
> template, you can loop through the children of the current page, and those 
> children's children, to create SPA sites. Does that start to get you there?
>
> -ken
>
> On Wed, Apr 13, 2016 at 1:38 PM, Sebastian Wain <sebasti...@gmail.com 
> > wrote:
>
>> Hi,
>>
>> We plan to migrate our current Mezzanine based site (
>> http://www.nektra.com) to a typical modern (multiple) one-page design 
>> but I can't find an easy way to edit individual website sections on a 
>> single page except developing our own extensions. I have checked 
>> mezzanine-blocks and mezzanine-onepage but they don't work with the latest 
>> Mezzanine version.
>>
>> Is there any existing alternative to those modules?
>>
>> Thank you very much,
>> Sebastian
>>
>>
>> -- 
>> 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 mezzanine-use...@googlegroups.com .
>> 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] What is the best way to edit sections/part of a page?

2016-04-13 Thread Sebastian Wain
Thank you very much for the prompt response. We will take a look at your 
fork.

On Wednesday, April 13, 2016 at 6:36:32 PM UTC-3, Danny S wrote:
>
> On 14/04/2016 3:08 AM, Sebastian Wain wrote: 
> > Hi, 
> > 
> > We plan to migrate our current Mezzanine based site 
> > (http://www.nektra.com) to a typical modern (multiple) one-page design 
> > but I can't find an easy way to edit individual website sections on a 
> > single page except developing our own extensions. I have checked 
> > mezzanine-blocks and mezzanine-onepage but they don't work with the 
> > latest Mezzanine version. 
> > 
> > Is there any existing alternative to those modules? 
> > 
>
> I have a fork of mezzanine-blocks which I've updated to work with Django 
> 1.9 (the changes are few): 
> https://github.com/molokov/mezzanine-blocks 
>
> Seeya. Danny. 
>

-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [mezzanine-users] What is the best way to edit sections/part of a page?

2016-04-13 Thread Sebastian Wain
Yes, this is an alternative and I will say the "worse case scenario" in the 
sense that people who edit the pages will find it less intuitive than 
seeing the whole page content and editing sections individually.

Thanks,
Sebastian

On Wednesday, April 13, 2016 at 2:48:57 PM UTC-3, Kenneth Bolton wrote:
>
> Hi Sebastian,
>
> Pages can have parent/child relationships to one another. In your 
> template, you can loop through the children of the current page, and those 
> children's children, to create SPA sites. Does that start to get you there?
>
> -ken
>
> On Wed, Apr 13, 2016 at 1:38 PM, Sebastian Wain <sebasti...@gmail.com 
> > wrote:
>
>> Hi,
>>
>> We plan to migrate our current Mezzanine based site (
>> http://www.nektra.com) to a typical modern (multiple) one-page design 
>> but I can't find an easy way to edit individual website sections on a 
>> single page except developing our own extensions. I have checked 
>> mezzanine-blocks and mezzanine-onepage but they don't work with the latest 
>> Mezzanine version.
>>
>> Is there any existing alternative to those modules?
>>
>> Thank you very much,
>> Sebastian
>>
>>
>> -- 
>> 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 mezzanine-use...@googlegroups.com .
>> 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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[mezzanine-users] What is the best way to edit sections/part of a page?

2016-04-13 Thread Sebastian Wain
Hi,

We plan to migrate our current Mezzanine based site (http://www.nektra.com) 
to a typical modern (multiple) one-page design but I can't find an easy way 
to edit individual website sections on a single page except developing our 
own extensions. I have checked mezzanine-blocks and mezzanine-onepage but 
they don't work with the latest Mezzanine version.

Is there any existing alternative to those modules?

Thank you very much,
Sebastian


-- 
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 mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.