[mezzanine-users] RichText Field injection

2016-04-06 Thread Cajoline

Hi !

I would like insert RichTextField in Field injection, in one of my project 
I had done like this:

https://gist.github.com/Cajoline/e4f2c37e2025a01506ebc08accfdd9a3

Work well in Mezzanine 3

But in Mezzanine 4.1 doesn't work, i have this error:

django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must 
not be empty.

Any idea ? 

How to have a RichTexttField in field injection for mezzanine 4.1 ?

Thank you !

-- 
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] RichText Field injection

2016-04-06 Thread Eduardo Rivas
Well, the error message says you should check the SECRET_KEY setting. 
Have you done that? Most likely it was removed from your settings module 
when you upgraded to Mezzanine 4. I recommend you put it in 
local_settings.py to avoid having it under version control.


Other than that, there's a know issue relating field injection of 
non-Django fields and Django 1.9: 
https://github.com/stephenmcd/mezzanine/issues/1513


--
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] RichText Field injection

2016-04-08 Thread Cajoline
Hi Edouardo !

I have the secret key in the local_settings.py, this error come when import 
:

from mezzanine.core.fields import RicheTextField

Without this line the error desapeared but doesn't work !

Any idea ?

Thank you !

Le mercredi 6 avril 2016 19:40:35 UTC+2, Eduardo Rivas a écrit :
>
> Well, the error message says you should check the SECRET_KEY setting. 
> Have you done that? Most likely it was removed from your settings module 
> when you upgraded to Mezzanine 4. I recommend you put it in 
> local_settings.py to avoid having it under version control. 
>
> Other than that, there's a know issue relating field injection of 
> non-Django fields and Django 1.9: 
> https://github.com/stephenmcd/mezzanine/issues/1513 
>

-- 
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] RichText Field injection

2016-04-08 Thread Cajoline
I i try to import the richtext in EXTRA_MODEL_FIELDS
i have the same issue to :
https://github.com/stephenmcd/mezzanine/issues/1513 

 

Le vendredi 8 avril 2016 15:33:08 UTC+2, Cajoline a écrit :
>
> Hi Edouardo !
>
> I have the secret key in the local_settings.py, this error come when 
> import :
>
> from mezzanine.core.fields import RicheTextField
>
> Without this line the error desapeared but doesn't work !
>
> Any idea ?
>
> Thank you !
>
> Le mercredi 6 avril 2016 19:40:35 UTC+2, Eduardo Rivas a écrit :
>>
>> Well, the error message says you should check the SECRET_KEY setting. 
>> Have you done that? Most likely it was removed from your settings module 
>> when you upgraded to Mezzanine 4. I recommend you put it in 
>> local_settings.py to avoid having it under version control. 
>>
>> Other than that, there's a know issue relating field injection of 
>> non-Django fields and Django 1.9: 
>> https://github.com/stephenmcd/mezzanine/issues/1513 
>>
>

-- 
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.