Django CMS + commerce solutions

2022-04-18 Thread Michael Powell
Hello,

I am coming at django, CMS, and question of available, featured commerce 
libraries from an .NET, dotnet core, CSharp, OrchardCore, OrchardCore CMS, 
OrchardCore.Commerce background. I am also somewhat familiar with what 
Python, django (in general), CMS, are.

What I am curious about are which commerce libraries are out there and 
allow and/or provide for a satisfyingly enriched experience. We've got 
products I would like to enumerate somewhat dynamically, either at the time 
of CMS 'build'; i.e. coming from OC CMS, they use map reduce pattern right. 
There may be allowances to do the same more dynamically CMS 
post-deployment, i.e. from dev/author to site, but at the moment I am not 
aware of it.

OC Commerce is, at the moment, very minimal in terms of supported 
functionality, and, IIRC, what functionality it does have, is not without 
its issues. Coming at a django and/or CMS commerce, I'm not expecting 
perfection, but enough of the finer points to have been smoothed over, if 
you will.

Minimally, ground flloor, I'd like to support a single source of truth that 
both authors and business folks maintain, perhaps a spreadsheet, 
enumerating products and other details. Then when the site is built, draw 
on it to create or even hydrate MVC or other pattern product catalog 
objects.

Also of concern is the fiducial commerce side of things, from a security 
standpoint, obviously. But also having a flexible enough cart architecture 
that we could perhaps also support things like wish lists, etc. We also 
have order related communication we need to keep track of post-checkout, so 
ability to intercept, inject, event driven commerce handlers, would be 
fantastic.

Okay enough for now. Hopefully this is enough of a synopsis to garner some 
feedback, if y'all please.

Thank you...

Best regards,

Michael W. Powell

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3a752985-2aca-42d1-9735-4e0661b4d4c3n%40googlegroups.com.


Re: Using django cms in a model instance scenario rather than the whole site

2021-01-15 Thread Andréas Kühne
Hi Joel,

I don't think you need to incorporate django cms for that use case. You
would be better just to add a HTML editor of some sort and then saving the
HTML in the database. That way you don't need to open up django admin for
the cms handling either? At least that's the way I would do it?

Regards,

Andréas


Den fre 15 jan. 2021 kl 11:02 skrev Joel Tanko <7thog...@gmail.com>:

> Hey guys,
> So I have this django project that works similar to shopify(only on a
> smaller scale) that allows local businesses to open and manage their online
> stores - made possible by the django app.
> I decided it would be a good idea to let the store owners (or merchants)
> send emails from their admin dashboard using django's send_mail and
> django_cms to create a html template of the email.
> My real issue is that i've no clue whatsoever as to integrating the
> django_cms editor(and all editing tools) into the view without  django_cms
> taking over the whole site ( also leaking django's admin panel to logged in
> user, which is a big security issue). Any help on this? Is it even feasible?
> Thanks for the help.
>
> -JT
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAJ4Kmg4YhRdHg2Ez42YRBeA_2Ovd3gkMDzMSgBVEmVyAxMgryQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJ4Kmg4YhRdHg2Ez42YRBeA_2Ovd3gkMDzMSgBVEmVyAxMgryQ%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAK4qSCcOqnuBMNnYpXXer5VUVVsCrp%3DTpeh56v8ftK9gZGwe%2Bg%40mail.gmail.com.


Using django cms in a model instance scenario rather than the whole site

2021-01-15 Thread Joel Tanko
Hey guys,
So I have this django project that works similar to shopify(only on a
smaller scale) that allows local businesses to open and manage their online
stores - made possible by the django app.
I decided it would be a good idea to let the store owners (or merchants)
send emails from their admin dashboard using django's send_mail and
django_cms to create a html template of the email.
My real issue is that i've no clue whatsoever as to integrating the
django_cms editor(and all editing tools) into the view without  django_cms
taking over the whole site ( also leaking django's admin panel to logged in
user, which is a big security issue). Any help on this? Is it even feasible?
Thanks for the help.

-JT

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAJ4Kmg4YhRdHg2Ez42YRBeA_2Ovd3gkMDzMSgBVEmVyAxMgryQ%40mail.gmail.com.


Re: Confused...Django vs Django CMS/Wagtail and value of 'CMS' vs plain Django framework?

2020-06-08 Thread Roger Gammans
Hi
Move Wagtail and and Django-CMS are applications you install in your
INSTALLED_APPS  setting  settings.py to add CMS functionality to  a
Django project, so you can use these applications as you only app
in  django projects, or alongside your own custom apps, or other
downloaded apps.
Django cms add some middlewares ( Eg, lines in the MIDDLEWARE setting)
as it needs to be able to inject the editting tools if you've got the
appropriate permissions. I'm not sure of the top of my head about
wagtail. But in principle you can either to any django project by
imported them and and making the relevant changes to settings.py
The use case for Django without a CMS, is exactly that, you don't need
CMS functionality.
On Sat, 2020-06-06 at 21:20 -0700, fire base wrote:
> I have been learning and building a Django framework website and it
> is going nicely. The site will be used internationally but largely is
> a series of specialized forms collecting and manipulating and
> outputting data to be searched - not presenting changing  'content'
> per se. 
> 
> I had seen references to Wagtail and now Django CMS is there any
> reason why I should switch to Django CMS vs just continue building in
> Django framework? 
> 
> If there are good reasons to refactor/switch, can I simply import
> models/views/urls/forms, or some such, into Django CMS or Wagtail?
> 
> Can I add middleware to turn Django into Django CMS?
> 
> What are the Use Cases for Django framework that put it over a 'CMS'?
> 
>  I have searched extensively but not found answers to these qs...
>  
> 
> Many thanks.
> 
> 
> 
> -- 
> 
> You received this message because you are subscribed to the Google
> Groups "Django users" group.
> 
> To unsubscribe from this group and stop receiving emails from it,
> send an email to django-users+unsubscr...@googlegroups.com.
> 
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/e942381f-e48e-411a-8de4-633e524581cdo%40googlegroups.com
> .
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1c12359ecfa4aff9ce6f8b99d510661d9bd357d2.camel%40gammascience.co.uk.


Confused...Django vs Django CMS/Wagtail and value of 'CMS' vs plain Django framework?

2020-06-06 Thread fire base
I have been learning and building a Django framework website and it is 
going nicely. The site will be used internationally but largely is a series 
of specialized forms collecting and manipulating and outputting data to be 
searched - not presenting changing  'content' per se. 

I had seen references to Wagtail and now Django CMS is there any reason 
why I should switch to Django CMS vs just continue building in Django 
framework? 

If there are good reasons to refactor/switch, can I simply import 
models/views/urls/forms, or some such, into Django CMS or Wagtail?

Can I add middleware to turn Django into Django CMS?

What are the Use Cases for Django framework that put it over a 'CMS'?

 I have searched extensively but not found answers to these qs...

Many thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e942381f-e48e-411a-8de4-633e524581cdo%40googlegroups.com.


Re: Where is in django-cms venv folder exactly I can find edit and structure panel source code in pycharm IDE?

2020-03-17 Thread John McClain
start your lesson over and pay attention. It is frustrating for sure but
you'll get it. You could run a search for the file name which will show the
location.

R u trying to see a preview?



On Tue, 17 Mar 2020 at 12:56, RAJ  wrote:

>
> How to see dajngo CMS all source code of administration page in pycharm .
> "View published" and "publish changes" button code in django cms
> adminstation panel in pycharm after installing django cms in pycharm
> through terminal. My New Created page is where is saving I can't
> understand.After creating New page through edit and structure panel of
> django-cms is it redirecting to my site front end that, I wrote in
> fullwidth.html as <%load extends "index.html" %>.my front end has admin
> panel that is redirecting properly but I can't understand after creating
> new page above mentioned (edit & structure panel) where it is exactly
> storing and how to avoid redirection to my front page i.e index.html
> instead I want New Created page on view of edit and structure panel or view.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bc79adef-e5fc-4e48-aaf3-f33f0bb3bf26%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bc79adef-e5fc-4e48-aaf3-f33f0bb3bf26%40googlegroups.com?utm_medium=email_source=footer>
> .
>


-- 
John McClain

Cell: 085-1977-823
Skype: jmcclain0129
Email: jmcclain0...@gmail.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN-hv_rso8rUqnUuNW04%3DwLKWFYAZH5DnGGnRv%2BY4CTtgiYBEw%40mail.gmail.com.


Where is in django-cms venv folder exactly I can find edit and structure panel source code in pycharm IDE?

2020-03-17 Thread RAJ

How to see dajngo CMS all source code of administration page in pycharm . 
"View published" and "publish changes" button code in django cms 
adminstation panel in pycharm after installing django cms in pycharm 
through terminal. My New Created page is where is saving I can't 
understand.After creating New page through edit and structure panel of 
django-cms is it redirecting to my site front end that, I wrote in 
fullwidth.html as <%load extends "index.html" %>.my front end has admin 
panel that is redirecting properly but I can't understand after creating 
new page above mentioned (edit & structure panel) where it is exactly 
storing and how to avoid redirection to my front page i.e index.html 
instead I want New Created page on view of edit and structure panel or view.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bc79adef-e5fc-4e48-aaf3-f33f0bb3bf26%40googlegroups.com.


Re: How to get children in Django-CMS

2020-03-13 Thread WrapTheCode
I found a solution. Maybe someone else will get help.

{% for child in request.current_page.get_child_pages %}
> {{ child.get_menu_title }}
> {% page_attribute "meta_description" child %}
> {% endfor %}
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/386e25b3-47b5-4be9-8ac5-0a35e36edfc6%40googlegroups.com.


How to get children in Django-CMS

2020-03-12 Thread WrapTheCode
Hi i have a problem with displaying children fields in a parent template.

For example the parent page is a "Services" and child pages is single 
service.
All i want to do is display all service in a services container.

I have had tried:

> {% for child in children %}
> {{ child.title }}
> {{ child.description }}
> {% endfor %}
>

This code gives me all pages in project(i want only children of services 
page) and no descriptions.

Thank you very much for any help.

//Django-CMS

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/24068808-a56a-4d00-b9a8-d89abe9c8208%40googlegroups.com.


Re: Django CMS

2019-12-25 Thread Kyl Francis
Me too

Le mer. 25 déc. 2019 à 8:48 PM, viho kochoedo  a
écrit :

> Hello,
> I want to know more about Django CMS.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/27c99d0a-bf88-4f7a-9148-f7903a91f08f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/27c99d0a-bf88-4f7a-9148-f7903a91f08f%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAM-He%3DGGV5hLzHYr9E4nUHF%3D-LDCzybcTNebKZP16Si0U1PAHQ%40mail.gmail.com.


Re: Django CMS

2019-12-25 Thread Karan Mittal
https://data-flair.training/blogs/django-cms/
Check out this link.

Regards
Karan Mittal

On Thu, 26 Dec, 2019, 1:18 AM viho kochoedo,  wrote:

> Hello,
> I want to know more about Django CMS.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/27c99d0a-bf88-4f7a-9148-f7903a91f08f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/27c99d0a-bf88-4f7a-9148-f7903a91f08f%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAO24gqzchNvDntRn1nbfN1cZhaLXzgFOrOAC2-7O_xWiZwt83w%40mail.gmail.com.


Django CMS

2019-12-25 Thread viho kochoedo
Hello,
I want to know more about Django CMS.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/27c99d0a-bf88-4f7a-9148-f7903a91f08f%40googlegroups.com.


Re: Wagtail or Django CMS or Mez for Web Site

2019-11-24 Thread Balaji Shetty
Dear Perceval Maturure

Thank You very much for your email reply.
May GOD bless you.

On Mon, Nov 25, 2019 at 2:24 AM Perceval Maturure 
wrote:

> Yes, it’s called installing Django cms by Hand
> http://docs.django-cms.org/en/latest/how_to/install.html
>
>
>
> Sent from my iPhone
>
> On 24 Nov 2019, at 21:19, Ankita Gupta  wrote:
>
> 
>
>
> On Sunday, November 24, 2019 at 11:54:02 PM UTC+5:30, Perceval Maturure
> wrote:
>>
>> Django cms is much simpler. There is also good documentation to “install
>> Django cms by hand”
>>
> Hey!
> Can we insert django-cms in already made Django based projects.?
> Is this possible.?
>
>>
>>
>> Sent from my iPhone
>>
>> On 24 Nov 2019, at 19:52, Balaji Shetty  wrote:
>>
>> Hi
>>
>> If I want to develop website in Django.
>>
>> Which ones I should prefer
>> Wagtail or Django CMS or Mez
>>
>> Kindly reply
>>
>>
>> --
>> Mr Shetty Balaji
>> Asst. Prof.
>> IT Department
>> SGGS I
>> Nanded. My. India
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com?utm_medium=email_source=footer>
>> .
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d99f11a0-0e2e-40e5-bf0c-dbf0622c0383%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/d99f11a0-0e2e-40e5-bf0c-dbf0622c0383%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/F4BA8AC1-3CE8-4EF0-84F2-5F2086E3F9FE%40gmail.com
> <https://groups.google.com/d/msgid/django-users/F4BA8AC1-3CE8-4EF0-84F2-5F2086E3F9FE%40gmail.com?utm_medium=email_source=footer>
> .
>


-- 


*Mr. Shetty Balaji S.Asst. ProfessorDepartment of Information Technology,*
*SGGS Institute of Engineering & Technology, Vishnupuri, Nanded.MH.India*
*Official: bsshe...@sggs.ac.in  *
*  Mobile: +91-9270696267*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAECSbOtmy5cRi%2BXXLFH3PtymviUJMaofbKnnxh8PFFXVGSmWCw%40mail.gmail.com.


Re: Wagtail or Django CMS or Mez for Web Site

2019-11-24 Thread Perceval Maturure
Yes, it’s called installing Django cms by Hand 
http://docs.django-cms.org/en/latest/how_to/install.html



Sent from my iPhone

> On 24 Nov 2019, at 21:19, Ankita Gupta  wrote:
> 
> 
> 
> 
>> On Sunday, November 24, 2019 at 11:54:02 PM UTC+5:30, Perceval Maturure 
>> wrote:
>> Django cms is much simpler. There is also good documentation to “install 
>> Django cms by hand”
> Hey!
> Can we insert django-cms in already made Django based projects.? 
> Is this possible.?
>> 
>> 
>> Sent from my iPhone
>> 
>>>> On 24 Nov 2019, at 19:52, Balaji Shetty  wrote:
>>>> 
>>> Hi
>>> 
>>> If I want to develop website in Django.
>>> 
>>> Which ones I should prefer
>>> Wagtail or Django CMS or Mez
>>> 
>>> Kindly reply 
>>> 
>>> 
>>> -- 
>>> Mr Shetty Balaji
>>> Asst. Prof.
>>> IT Department
>>> SGGS I
>>> Nanded. My. India
>>> 
>>> -- 
>>> You received this message because you are subscribed to the Google Groups 
>>> "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to django...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com.
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/d99f11a0-0e2e-40e5-bf0c-dbf0622c0383%40googlegroups.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/F4BA8AC1-3CE8-4EF0-84F2-5F2086E3F9FE%40gmail.com.


Re: Wagtail or Django CMS or Mez for Web Site

2019-11-24 Thread Ankita Gupta


On Sunday, November 24, 2019 at 11:54:02 PM UTC+5:30, Perceval Maturure 
wrote:
>
> Django cms is much simpler. There is also good documentation to “install 
> Django cms by hand”
>
Hey!
Can we insert django-cms in already made Django based projects.? 
Is this possible.?

>
>
> Sent from my iPhone
>
> On 24 Nov 2019, at 19:52, Balaji Shetty > 
> wrote:
>
> Hi
>
> If I want to develop website in Django.
>
> Which ones I should prefer
> Wagtail or Django CMS or Mez
>
> Kindly reply 
>
>
> -- 
> Mr Shetty Balaji
> Asst. Prof.
> IT Department
> SGGS I
> Nanded. My. India
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django...@googlegroups.com .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com
>  
> <https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d99f11a0-0e2e-40e5-bf0c-dbf0622c0383%40googlegroups.com.


Re: Wagtail or Django CMS or Mez for Web Site

2019-11-24 Thread Perceval Maturure
Django cms is much simpler. There is also good documentation to “install Django 
cms by hand”


Sent from my iPhone

> On 24 Nov 2019, at 19:52, Balaji Shetty  wrote:
> 
> Hi
> 
> If I want to develop website in Django.
> 
> Which ones I should prefer
> Wagtail or Django CMS or Mez
> 
> Kindly reply 
> 
> 
> -- 
> Mr Shetty Balaji
> Asst. Prof.
> IT Department
> SGGS I
> Nanded. My. India
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4DA0B28C-1A23-463E-B0E4-AD7D08D5414E%40gmail.com.


Wagtail or Django CMS or Mez for Web Site

2019-11-24 Thread Balaji Shetty
Hi

If I want to develop website in Django.

Which ones I should prefer
Wagtail or Django CMS or Mez

Kindly reply


-- 
Mr Shetty Balaji
Asst. Prof.
IT Department
SGGS I
Nanded. My. India

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAECSbOvoCkr0-xweoCMu8%3DUQ5bNHVmh9nk80_ouDsmnG_bzHcg%40mail.gmail.com.


Integration of Django-cms site with django blog

2019-11-21 Thread হজমুলা খান
Hi

Recently I have made a website with django-cms and another blog site with 
django. Now I want to integrate Django blog site with one of the pages of 
Django-cms’s site.

Should I use aaphook or djangocms-blog? I am a new learner of Django. I am 
little bit confused on which way I should go...

Does any one have any good materials to understand those??

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/b1b6bc29-1e7f-413c-8d34-b37cec21a393%40googlegroups.com.


Re: Django cms and templates

2019-09-19 Thread MEGA NATHAN
Hi.

you check app name  127.0.0.8/app name




*Regards*
Meganathan G



On Thu, Sep 19, 2019 at 4:30 AM Perceval Maturure 
wrote:

> Dear all
>
> I have a django project done with Django 2.1 and successfully made an
> apphook to the cms page bt the problem is that the template file does not
> display model data unless if I remove the syntax { %extends base.html %} at
> the top of the template html file
> What could be causing this?
> Please help
>
> Sent from my iPhone
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4CE4415B-DDC4-4074-8F8C-630D98641EE5%40gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAEvDBLc%2B-yyHC4cxsGH8wrk_v-6q-cpgWwK7x0q-6ajkfO2cHQ%40mail.gmail.com.


Django cms and templates

2019-09-18 Thread Perceval Maturure
Dear all

I have a django project done with Django 2.1 and successfully made an apphook 
to the cms page bt the problem is that the template file does not display model 
data unless if I remove the syntax { %extends base.html %} at the top of the 
template html file
What could be causing this?
Please help

Sent from my iPhone

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4CE4415B-DDC4-4074-8F8C-630D98641EE5%40gmail.com.


Django Apphook on Django cms 3.6.0

2019-09-06 Thread Perceval Maturure
Hi
All , I have been battling with the apphooks in integrating my apps for
some weeks, in advanced menu I can select the app on the drop down of the
cms page but the cms page I hook my app does not display model data.
What could be the problem?
I’m using Django 1.11.23 and Django cms 3.6.0
Please advise
Regards
-- 
Sent from Gmail Mobile

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFZtZmB3r_zJfvTJ%3DTneAJi3trS7inF1sb%2B_otLhgZmFx8OH0g%40mail.gmail.com.


Apphook to a django cms page

2019-08-12 Thread Perceval Maturure
Dear Django users.
i am looking for a more straightforward tutorial or notes to perfom an
aphook of my app to the django cms page. I cannot pick the app on the
dropdown menu in my cms pages. Please below cms_app.py.


#
from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _


class archivesuploads(CMSApp):
app_name = "archivesuploads"
name = _("ARCHIVESUPLOADS")

def get_urls(self, page=None, language=None, **kwargs):
return ["archivesuploads.urls"]
apphook_pool.register(archivesuploads)  # register the application


-- 
*Perceval Maturure*

*083 303 9423*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFZtZmAyRVjj8-znwCH3t40nSUQ%2BBYpqqhZZYnHU_1fQAgkE8w%40mail.gmail.com.


Issue in upgrading Django-cms 3.4.2 to 3.6.0

2019-06-16 Thread Manabendra Sarkar
Hi,

Please find the issue details below.

I am upgrading my website from *python2.7, django1.8.17, django-cms 3.4.2*
 to *python2.7, django1.1.21, django-cms 3.6.0*

when I run *python manage.py runserver*

It gives me following error.

*django.template.library.InvalidTemplateLibrary: Invalid template library
specified. ImportError raised when trying to load
'admin_shortcuts.templatetags.admin_shortcuts_tags': No module named
importlib*

I am also attaching the complete error trace.

Please help.

Thanks
Manabendra Sarkar

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALo9XdH%2Bz8D%2BOoE_FU96qRZoDCfn_n%2Bh9UM4jouaaJWijObBvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django cms beginner app issue

2019-03-26 Thread Keegen Knapp
so I'm missing a line of code in my models.py?



On Tuesday, March 26, 2019 at 7:09:59 AM UTC-5, Avraham Serour wrote:
>
> you model doesn't have app_config
>
> On Tue, Mar 26, 2019 at 1:07 AM Keegen Knapp  > wrote:
>
>> I'm trying to write a custom app where you can add new plants in the 
>> admin. Then create a list view, category view and detailed view. You can 
>> see my error and code below. Any help is greatly appreciated!!
>>
>> Error - 
>>
>> [image: Screen Shot 2019-03-25 at 11.25.09 AM.png]
>>
>>
>> models.py - 
>>
>> from django.db import models
>> from cms.models.fields import PlaceholderField
>> from django.db.models.signals import pre_save
>>
>> #create a basic species model
>> class Species(models.Model):
>> name = models.CharField(max_length=50, unique=True)
>> def __unicode__(self):
>> return self.name
>>
>> class Plant(models.Model):
>> name = models.CharField(max_length=50, unique=True)
>> #textfield to choose season
>> season = models.TextField()
>> #automatically adds a created date, good for ordering plants by dates etc
>> pub_date = models.DateField(auto_now_add=True)
>> #automatically adds slug, requires Auto slug
>> slug = models.SlugField(max_length=70, unique=True)
>> #FK's to a species model
>> species = models.ForeignKey(Species)
>> #life cycle
>> life_cycle = models.CharField(max_length=60)
>> #add a upload section for specification sheets
>> position = models.TextField()
>> #take advantage of the CMS's placeholders for images, much more flexible 
>> than file_upload
>> image = PlaceholderField('plant_images', related_name="image")
>> #again description, take advantage of the CMS capabilities. 
>> description = PlaceholderField('plant_description', 
>> related_name="description")
>>
>>
>> *views.py*
>>
>> from django.shortcuts import render_to_response
>> from django.template import RequestContext
>>
>> class ProductDetailView(DetailView):
>> model = Plant
>> template_name = 'plants/detail.html'
>>
>>
>> *urls.py*
>> from plants.views import PlantDetailView
>>
>> urlpatterns = patterns('plants.views',
>> url(r'^(?P[\w-]+)/$', PlantDetailView.as_view()),
>> )
>>
>>
>> *cms.app.py  -*
>>
>> from cms.app_base import CMSApp
>> from cms.apphook_pool import apphook_pool
>> from django.utils.translation import ugettext_lazy as _
>>
>> class PlantsApp(CMSApp):
>> name = _("Plants") # give your app a name, this is required
>> urls = ["plants.urls"] # link your app to url configuration(s)
>>
>> def get_urls(self, page=None, language=None, **kwargs):
>> return ["plants.urls"]
>>
>> apphook_pool.register(PlantsApp) # register your app
>>
>> *apps.py - *
>> class PlantsConfig(AppConfig):
>> name = 'plants'
>> verbosename = "Plants"
>>
>> *admin.py - *
>> from django.contrib import admin
>> from .models import Plant, Species
>> from aldryn_apphooks_config.admin import ModelAppHookConfig, 
>> BaseAppHookConfig
>>
>> class PlantAdmin(ModelAppHookConfig, admin.ModelAdmin):
>> search_fields = ['name']
>> readonly_fields = ['slug']
>> ordering = ['name']
>> pass
>> admin.site.register(Plant, PlantAdmin)
>>
>>
>> class SpeciesAdmin(admin.ModelAdmin):
>> search_fields = ['name']
>> ordering = ['name']
>> pass
>> admin.site.register(Species, SpeciesAdmin)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f5c0d1e5-3962-48ce-8fdc-a082c37ddba5%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/be2fab33-303c-47c1-a06b-e90d531edc85%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: django cms beginner app issue

2019-03-26 Thread Avraham Serour
you model doesn't have app_config

On Tue, Mar 26, 2019 at 1:07 AM Keegen Knapp  wrote:

> I'm trying to write a custom app where you can add new plants in the
> admin. Then create a list view, category view and detailed view. You can
> see my error and code below. Any help is greatly appreciated!!
>
> Error -
>
> [image: Screen Shot 2019-03-25 at 11.25.09 AM.png]
>
>
> models.py -
>
> from django.db import models
> from cms.models.fields import PlaceholderField
> from django.db.models.signals import pre_save
>
> #create a basic species model
> class Species(models.Model):
> name = models.CharField(max_length=50, unique=True)
> def __unicode__(self):
> return self.name
>
> class Plant(models.Model):
> name = models.CharField(max_length=50, unique=True)
> #textfield to choose season
> season = models.TextField()
> #automatically adds a created date, good for ordering plants by dates etc
> pub_date = models.DateField(auto_now_add=True)
> #automatically adds slug, requires Auto slug
> slug = models.SlugField(max_length=70, unique=True)
> #FK's to a species model
> species = models.ForeignKey(Species)
> #life cycle
> life_cycle = models.CharField(max_length=60)
> #add a upload section for specification sheets
> position = models.TextField()
> #take advantage of the CMS's placeholders for images, much more flexible
> than file_upload
> image = PlaceholderField('plant_images', related_name="image")
> #again description, take advantage of the CMS capabilities.
> description = PlaceholderField('plant_description',
> related_name="description")
>
>
> *views.py*
>
> from django.shortcuts import render_to_response
> from django.template import RequestContext
>
> class ProductDetailView(DetailView):
> model = Plant
> template_name = 'plants/detail.html'
>
>
> *urls.py*
> from plants.views import PlantDetailView
>
> urlpatterns = patterns('plants.views',
> url(r'^(?P[\w-]+)/$', PlantDetailView.as_view()),
> )
>
>
> *cms.app.py  -*
>
> from cms.app_base import CMSApp
> from cms.apphook_pool import apphook_pool
> from django.utils.translation import ugettext_lazy as _
>
> class PlantsApp(CMSApp):
> name = _("Plants") # give your app a name, this is required
> urls = ["plants.urls"] # link your app to url configuration(s)
>
> def get_urls(self, page=None, language=None, **kwargs):
> return ["plants.urls"]
>
> apphook_pool.register(PlantsApp) # register your app
>
> *apps.py - *
> class PlantsConfig(AppConfig):
> name = 'plants'
> verbosename = "Plants"
>
> *admin.py - *
> from django.contrib import admin
> from .models import Plant, Species
> from aldryn_apphooks_config.admin import ModelAppHookConfig,
> BaseAppHookConfig
>
> class PlantAdmin(ModelAppHookConfig, admin.ModelAdmin):
> search_fields = ['name']
> readonly_fields = ['slug']
> ordering = ['name']
> pass
> admin.site.register(Plant, PlantAdmin)
>
>
> class SpeciesAdmin(admin.ModelAdmin):
> search_fields = ['name']
> ordering = ['name']
> pass
> admin.site.register(Species, SpeciesAdmin)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f5c0d1e5-3962-48ce-8fdc-a082c37ddba5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tK8hny1LH%3D5JzkrpiD4DRTRF9yk%3DhbeV9eW-w6GTWwSMg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django cms beginner app issue

2019-03-26 Thread Keegen Knapp
sorry, that doesn't make sense. maybe that was meant for a different post?

On Monday, March 25, 2019 at 6:58:01 PM UTC-5, LIGHTNING OMEGA 2 636 wrote:
>
> Just letting you know that, I've read msg and reviewed you code.  Although 
> these are interview objects, it uses word tokens.   Key words such as those 
> used in this code are handled well by utilizing Natural Language Processing 
> (NLP) methods.   Mapping and Regular Expressions (Regex) do alot of the 
> work in Python, R, React JavaScript etc.  Now I need to see if Turbo Pascal 
> supports these libraries of code.   If it's okay, maybe Tomorrow or Thurs 
> will work as far as meeting is concerned.
>
> On Mon, Mar 25, 2019 at 7:07 PM Keegen Knapp  > wrote:
>
>> I'm trying to write a custom app where you can add new plants in the 
>> admin. Then create a list view, category view and detailed view. You can 
>> see my error and code below. Any help is greatly appreciated!!
>>
>> Error - 
>>
>> [image: Screen Shot 2019-03-25 at 11.25.09 AM.png]
>>
>>
>> models.py - 
>>
>> from django.db import models
>> from cms.models.fields import PlaceholderField
>> from django.db.models.signals import pre_save
>>
>> #create a basic species model
>> class Species(models.Model):
>> name = models.CharField(max_length=50, unique=True)
>> def __unicode__(self):
>> return self.name
>>
>> class Plant(models.Model):
>> name = models.CharField(max_length=50, unique=True)
>> #textfield to choose season
>> season = models.TextField()
>> #automatically adds a created date, good for ordering plants by dates etc
>> pub_date = models.DateField(auto_now_add=True)
>> #automatically adds slug, requires Auto slug
>> slug = models.SlugField(max_length=70, unique=True)
>> #FK's to a species model
>> species = models.ForeignKey(Species)
>> #life cycle
>> life_cycle = models.CharField(max_length=60)
>> #add a upload section for specification sheets
>> position = models.TextField()
>> #take advantage of the CMS's placeholders for images, much more flexible 
>> than file_upload
>> image = PlaceholderField('plant_images', related_name="image")
>> #again description, take advantage of the CMS capabilities. 
>> description = PlaceholderField('plant_description', 
>> related_name="description")
>>
>>
>> *views.py*
>>
>> from django.shortcuts import render_to_response
>> from django.template import RequestContext
>>
>> class ProductDetailView(DetailView):
>> model = Plant
>> template_name = 'plants/detail.html'
>>
>>
>> *urls.py*
>> from plants.views import PlantDetailView
>>
>> urlpatterns = patterns('plants.views',
>> url(r'^(?P[\w-]+)/$', PlantDetailView.as_view()),
>> )
>>
>>
>> *cms.app.py  -*
>>
>> from cms.app_base import CMSApp
>> from cms.apphook_pool import apphook_pool
>> from django.utils.translation import ugettext_lazy as _
>>
>> class PlantsApp(CMSApp):
>> name = _("Plants") # give your app a name, this is required
>> urls = ["plants.urls"] # link your app to url configuration(s)
>>
>> def get_urls(self, page=None, language=None, **kwargs):
>> return ["plants.urls"]
>>
>> apphook_pool.register(PlantsApp) # register your app
>>
>> *apps.py - *
>> class PlantsConfig(AppConfig):
>> name = 'plants'
>> verbosename = "Plants"
>>
>> *admin.py - *
>> from django.contrib import admin
>> from .models import Plant, Species
>> from aldryn_apphooks_config.admin import ModelAppHookConfig, 
>> BaseAppHookConfig
>>
>> class PlantAdmin(ModelAppHookConfig, admin.ModelAdmin):
>> search_fields = ['name']
>> readonly_fields = ['slug']
>> ordering = ['name']
>> pass
>> admin.site.register(Plant, PlantAdmin)
>>
>>
>> class SpeciesAdmin(admin.ModelAdmin):
>> search_fields = ['name']
>> ordering = ['name']
>> pass
>> admin.site.register(Species, SpeciesAdmin)
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/f5c0d1e5-3962-48ce-8fdc-a082c37ddba5%40googlegroups.com
>>  
>> 
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 

Re: django cms beginner app issue

2019-03-25 Thread LIGHTNING OMEGA 2 636
Just letting you know that, I've read msg and reviewed you code.  Although
these are interview objects, it uses word tokens.   Key words such as those
used in this code are handled well by utilizing Natural Language Processing
(NLP) methods.   Mapping and Regular Expressions (Regex) do alot of the
work in Python, R, React JavaScript etc.  Now I need to see if Turbo Pascal
supports these libraries of code.   If it's okay, maybe Tomorrow or Thurs
will work as far as meeting is concerned.

On Mon, Mar 25, 2019 at 7:07 PM Keegen Knapp  wrote:

> I'm trying to write a custom app where you can add new plants in the
> admin. Then create a list view, category view and detailed view. You can
> see my error and code below. Any help is greatly appreciated!!
>
> Error -
>
> [image: Screen Shot 2019-03-25 at 11.25.09 AM.png]
>
>
> models.py -
>
> from django.db import models
> from cms.models.fields import PlaceholderField
> from django.db.models.signals import pre_save
>
> #create a basic species model
> class Species(models.Model):
> name = models.CharField(max_length=50, unique=True)
> def __unicode__(self):
> return self.name
>
> class Plant(models.Model):
> name = models.CharField(max_length=50, unique=True)
> #textfield to choose season
> season = models.TextField()
> #automatically adds a created date, good for ordering plants by dates etc
> pub_date = models.DateField(auto_now_add=True)
> #automatically adds slug, requires Auto slug
> slug = models.SlugField(max_length=70, unique=True)
> #FK's to a species model
> species = models.ForeignKey(Species)
> #life cycle
> life_cycle = models.CharField(max_length=60)
> #add a upload section for specification sheets
> position = models.TextField()
> #take advantage of the CMS's placeholders for images, much more flexible
> than file_upload
> image = PlaceholderField('plant_images', related_name="image")
> #again description, take advantage of the CMS capabilities.
> description = PlaceholderField('plant_description',
> related_name="description")
>
>
> *views.py*
>
> from django.shortcuts import render_to_response
> from django.template import RequestContext
>
> class ProductDetailView(DetailView):
> model = Plant
> template_name = 'plants/detail.html'
>
>
> *urls.py*
> from plants.views import PlantDetailView
>
> urlpatterns = patterns('plants.views',
> url(r'^(?P[\w-]+)/$', PlantDetailView.as_view()),
> )
>
>
> *cms.app.py  -*
>
> from cms.app_base import CMSApp
> from cms.apphook_pool import apphook_pool
> from django.utils.translation import ugettext_lazy as _
>
> class PlantsApp(CMSApp):
> name = _("Plants") # give your app a name, this is required
> urls = ["plants.urls"] # link your app to url configuration(s)
>
> def get_urls(self, page=None, language=None, **kwargs):
> return ["plants.urls"]
>
> apphook_pool.register(PlantsApp) # register your app
>
> *apps.py - *
> class PlantsConfig(AppConfig):
> name = 'plants'
> verbosename = "Plants"
>
> *admin.py - *
> from django.contrib import admin
> from .models import Plant, Species
> from aldryn_apphooks_config.admin import ModelAppHookConfig,
> BaseAppHookConfig
>
> class PlantAdmin(ModelAppHookConfig, admin.ModelAdmin):
> search_fields = ['name']
> readonly_fields = ['slug']
> ordering = ['name']
> pass
> admin.site.register(Plant, PlantAdmin)
>
>
> class SpeciesAdmin(admin.ModelAdmin):
> search_fields = ['name']
> ordering = ['name']
> pass
> admin.site.register(Species, SpeciesAdmin)
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/f5c0d1e5-3962-48ce-8fdc-a082c37ddba5%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFJtDQf74MfjjJmdba8sdp7vgkMNDRp5251Xgrz0_o_0z03Fyw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django cms beginner app issue

2019-03-25 Thread Keegen Knapp
I'm trying to write a custom app where you can add new plants in the admin. 
Then create a list view, category view and detailed view. You can see my 
error and code below. Any help is greatly appreciated!!

Error - 

[image: Screen Shot 2019-03-25 at 11.25.09 AM.png]


models.py - 

from django.db import models
from cms.models.fields import PlaceholderField
from django.db.models.signals import pre_save

#create a basic species model
class Species(models.Model):
name = models.CharField(max_length=50, unique=True)
def __unicode__(self):
return self.name

class Plant(models.Model):
name = models.CharField(max_length=50, unique=True)
#textfield to choose season
season = models.TextField()
#automatically adds a created date, good for ordering plants by dates etc
pub_date = models.DateField(auto_now_add=True)
#automatically adds slug, requires Auto slug
slug = models.SlugField(max_length=70, unique=True)
#FK's to a species model
species = models.ForeignKey(Species)
#life cycle
life_cycle = models.CharField(max_length=60)
#add a upload section for specification sheets
position = models.TextField()
#take advantage of the CMS's placeholders for images, much more flexible 
than file_upload
image = PlaceholderField('plant_images', related_name="image")
#again description, take advantage of the CMS capabilities. 
description = PlaceholderField('plant_description', 
related_name="description")


*views.py*

from django.shortcuts import render_to_response
from django.template import RequestContext

class ProductDetailView(DetailView):
model = Plant
template_name = 'plants/detail.html'


*urls.py*
from plants.views import PlantDetailView

urlpatterns = patterns('plants.views',
url(r'^(?P[\w-]+)/$', PlantDetailView.as_view()),
)


*cms.app.py  -*

from cms.app_base import CMSApp
from cms.apphook_pool import apphook_pool
from django.utils.translation import ugettext_lazy as _

class PlantsApp(CMSApp):
name = _("Plants") # give your app a name, this is required
urls = ["plants.urls"] # link your app to url configuration(s)

def get_urls(self, page=None, language=None, **kwargs):
return ["plants.urls"]

apphook_pool.register(PlantsApp) # register your app

*apps.py - *
class PlantsConfig(AppConfig):
name = 'plants'
verbosename = "Plants"

*admin.py - *
from django.contrib import admin
from .models import Plant, Species
from aldryn_apphooks_config.admin import ModelAppHookConfig, 
BaseAppHookConfig

class PlantAdmin(ModelAppHookConfig, admin.ModelAdmin):
search_fields = ['name']
readonly_fields = ['slug']
ordering = ['name']
pass
admin.site.register(Plant, PlantAdmin)


class SpeciesAdmin(admin.ModelAdmin):
search_fields = ['name']
ordering = ['name']
pass
admin.site.register(Species, SpeciesAdmin)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f5c0d1e5-3962-48ce-8fdc-a082c37ddba5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-06 Thread TimT Vogt
Django cms has drag an drop backend 

https://control.divio.com/demo/get-new/

Tim
Officerebels.nl

Verstuurd vanaf mijn iPhone

> Op 4 jul. 2018 om 21:51 heeft Brandon  het volgende 
> geschreven:
> 
> Hello Carlo,
> 
> How can you tell the difference?
> Unless I am looking at the google images incorrectly, they look very similar.
> 
> Here's the image from the Django CMS documentation:
> http://docs.django-cms.org/en/release-2.4.x/getting_started/tutorial.html
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> Thanks!
> 
> Brandon
> 
> 
> 
> 
> 
>> On Wednesday, July 4, 2018 at 1:46:44 PM UTC-4, Carlo Ascani wrote:
>> Il giorno mer 4 lug 2018 alle ore 19:00 Brandon  
>> ha scritto: 
>> > 
>> > There's a site that a friend needed looking into, He's just the Marketing 
>> > guy so he wouldn't know for sure. 
>> > I get the feeling the site was created with Django and NOT Django CMS, is 
>> > there any way to tell without having access to the back-end? 
>> > Thank you in advance. 
>> 
>> Not sure but... 
>> try visit /admin and see if the login page looks like the Django one, 
>> or the django-cms one 
>> 
>> 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google Groups 
>> > "Django users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send an 
>> > email to django-users...@googlegroups.com. 
>> > To post to this group, send email to django...@googlegroups.com. 
>> > Visit this group at https://groups.google.com/group/django-users. 
>> > To view this discussion on the web visit 
>> > https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com.
>> >  
>> > For more options, visit https://groups.google.com/d/optout. 
>> 
>> 
>> 
>> -- 
>> Carlo Ascani aka carloratm 
>> 
>> http://carlo.ratm.gitlab.io 
>> carloratm@freenode 
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/3d063fe8-c721-482e-9f3f-0cb56538be64%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/DFE67BF1-6974-4267-B1ED-2D3DFD8A2DCE%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-05 Thread Brandon
Thanks guys you guys are super awesome!! Really appreciate you.
It looks like it's just DJango.

Curious how involved is installing Django CMS?
Is it relatively fast, as a plugin install or is there are lot more to it?
Also concerned if it would affect the Maria dB or any contnet.

On Thursday, July 5, 2018 at 8:56:20 PM UTC-4, Chematronix Quarantamila 
wrote:
>
> Like Jason says, you can look for the CMS module in the admin, like in the 
> image you posted (though it's called Django CMS and not just CMS in recent 
> versions, and my setup has more plugins/options and a prettier theme), or 
> for occurrences of "aldryn", "divio" or "cms-plugin" in the HTML or CSS of 
> the pages.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/94bd595d-1807-4436-b458-2cb6c0b5b734%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-05 Thread Chematronix Quarantamila
Like Jason says, you can look for the CMS module in the admin, like in the 
image you posted (though it's called Django CMS and not just CMS in recent 
versions, and my setup has more plugins/options and a prettier theme), or 
for occurrences of "aldryn", "divio" or "cms-plugin" in the HTML or CSS of 
the pages.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/be1a3567-46ef-4819-9d66-9a1b3c9a03be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-05 Thread Jason
The CMS section in that screenshot  is a clue.  

On Wednesday, July 4, 2018 at 3:51:03 PM UTC-4, Brandon wrote:
>
> Hello Carlo,
>
> How can you tell the difference?
> Unless I am looking at the google images incorrectly, they look very 
> similar.
>
> Here's the image from the Django CMS documentation:
> http://docs.django-cms.org/en/release-2.4.x/getting_started/tutorial.html
>
>
>
> <https://lh3.googleusercontent.com/-AMvXegeR8ig/Wz0kukHvp0I/AB8/D0MDwMM_Sd4qzo6DohF7qtpvIm0ZaDQzgCLcBGAs/s1600/first-admin.png>
>
>
>
>
>
>
>
>
> Thanks!
>
> Brandon
>
>
>
>
>
> On Wednesday, July 4, 2018 at 1:46:44 PM UTC-4, Carlo Ascani wrote:
>
>> Il giorno mer 4 lug 2018 alle ore 19:00 Brandon  
>> ha scritto: 
>> > 
>> > There's a site that a friend needed looking into, He's just the 
>> Marketing guy so he wouldn't know for sure. 
>> > I get the feeling the site was created with Django and NOT Django CMS, 
>> is there any way to tell without having access to the back-end? 
>> > Thank you in advance. 
>>
>> Not sure but... 
>> try visit /admin and see if the login page looks like the Django one, 
>> or the django-cms one 
>>
>>
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Django users" group. 
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to django-users...@googlegroups.com. 
>> > To post to this group, send email to django...@googlegroups.com. 
>> > Visit this group at https://groups.google.com/group/django-users. 
>> > To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com.
>>  
>>
>> > For more options, visit https://groups.google.com/d/optout. 
>>
>>
>>
>> -- 
>> Carlo Ascani aka carloratm 
>>
>> http://carlo.ratm.gitlab.io 
>> carloratm@freenode 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ac96f666-31b8-4fe9-8dad-379fce9ddf9f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
Hello Carlo,

How can you tell the difference?
Unless I am looking at the google images incorrectly, they look very 
similar.

Here's the image from the Django CMS documentation:
http://docs.django-cms.org/en/release-2.4.x/getting_started/tutorial.html


<https://lh3.googleusercontent.com/-AMvXegeR8ig/Wz0kukHvp0I/AB8/D0MDwMM_Sd4qzo6DohF7qtpvIm0ZaDQzgCLcBGAs/s1600/first-admin.png>








Thanks!

Brandon





On Wednesday, July 4, 2018 at 1:46:44 PM UTC-4, Carlo Ascani wrote:

> Il giorno mer 4 lug 2018 alle ore 19:00 Brandon  > 
> ha scritto: 
> > 
> > There's a site that a friend needed looking into, He's just the 
> Marketing guy so he wouldn't know for sure. 
> > I get the feeling the site was created with Django and NOT Django CMS, 
> is there any way to tell without having access to the back-end? 
> > Thank you in advance. 
>
> Not sure but... 
> try visit /admin and see if the login page looks like the Django one, 
> or the django-cms one 
>
>
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com . 
> > To post to this group, send email to django...@googlegroups.com 
> . 
> > Visit this group at https://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>
>
>
> -- 
> Carlo Ascani aka carloratm 
>
> http://carlo.ratm.gitlab.io 
> carloratm@freenode 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3d063fe8-c721-482e-9f3f-0cb56538be64%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Carlo Ascani
Il giorno mer 4 lug 2018 alle ore 19:00 Brandon 
ha scritto:
>
> There's a site that a friend needed looking into, He's just the Marketing guy 
> so he wouldn't know for sure.
> I get the feeling the site was created with Django and NOT Django CMS, is 
> there any way to tell without having access to the back-end?
> Thank you in advance.

Not sure but...
try visit /admin and see if the login page looks like the Django one,
or the django-cms one


>
> --
> You received this message because you are subscribed to the Google Groups 
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.



-- 
Carlo Ascani aka carloratm

http://carlo.ratm.gitlab.io
carloratm@freenode

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CABVJJr85cwa5cLiGPpvfGEwPKiFdqMbBSoBEepP3V4JpZo4aOQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Is there a way to find out if a Django site is built with Django CMS looking trough the source code?

2018-07-04 Thread Brandon
There's a site that a friend needed looking into, He's just the Marketing 
guy so he wouldn't know for sure.
I get the feeling the site was created with Django and NOT Django CMS, is 
there any way to tell without having access to the back-end?
Thank you in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/04c94ebb-93c9-4fce-9384-2ce4c4254cff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django-cms KeyError at /en/cms_wizard/create/

2017-07-26 Thread IaMtheMcee
Hi, I'm getting this error when i try to create a new page. here's the 
traceback.. any ideas on how to fix this?

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/en/cms_wizard/create/?language=en

Django Version: 1.11.3
Python Version: 3.6.0
Installed Applications:
('djangocms_admin_style',
 'django.contrib.auth',
 'django.contrib.contenttypes'
,
 'django.contrib.sessions',
 'django.contrib.admin',
 'django.contrib.sites',
 'django.contrib.sitemaps',
 'django.contrib.staticfiles',
 'django.contrib.messages',
 'cms',
 'menus',
 'sekizai',
 'treebeard',
 'djangocms_text_ckeditor',
 'filer',
 'easy_thumbnails',
 'djangocms_column',
 'djangocms_link',
 'cmsplugin_filer_file',
 'cmsplugin_filer_folder',
 'cmsplugin_filer_image',
 'cmsplugin_filer_utils',
 'djangocms_style',
 'djangocms_snippet',
 'djangocms_googlemap',
 'djangocms_video',
 'mysite')
Installed Middleware:
('cms.middleware.utils.ApphookReloadMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.locale.LocaleMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware',
 'cms.middleware.user.CurrentUserMiddleware',
 'cms.middleware.page.CurrentPageMiddleware',
 'cms.middleware.toolbar.ToolbarMiddleware',
 'cms.middleware.language.LanguageCookieMiddleware')


Template error:
In template 
C:\Users\Alexander\Desktop\v1\lib\site-packages\django\contrib\admin\templates\admin\base.html,
 
error at line 0
  1 : {% load i18n static %}
   2 : {% get_current_language as LANGUAGE_CODE %}{% 
get_current_language_bidi as LANGUAGE_BIDI %}
   3 : 
   4 : 
   5 : {% block title %}{% endblock %}
   6 : 
   7 : {% block extrastyle %}{% endblock %}
   8 : {% if LANGUAGE_BIDI %}{% endif %}
   9 : {% block extrahead %}{% endblock %}
   10 : {% block blockbots %}{% endblock %}


Traceback:

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\exception.py"
 
in inner
  41. response = get_response(request)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" 
in _legacy_get_response
  249. response = self._get_response(request)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" 
in _get_response
  217. response = self.process_exception_by_middleware(e, 
request)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\core\handlers\base.py" 
in _get_response
  215. response = response.render()

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\response.py" 
in render
  107. self.content = self.rendered_content

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\response.py" 
in rendered_content
  84. content = template.render(context, self._request)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\backends\django.py"
 
in render
  66. return self.template.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render
  207. return self._render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in _render
  199. return self.nodelist.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render
  990. bit = node.render_annotated(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render_annotated
  957. return self.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py"
 
in render
  177. return compiled_parent._render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in _render
  199. return self.nodelist.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render
  990. bit = node.render_annotated(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render_annotated
  957. return self.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\loader_tags.py"
 
in render
  177. return compiled_parent._render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in _render
  199. return self.nodelist.render(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render
  990. bit = node.render_annotated(context)

File 
"C:\Users\Alexander\Desktop\v1\lib\site-packages\django\template\base.py" 
in render_annotated
  957. return self.render(context)

File 

Problems with same page scroll plugin in django-cms

2016-03-09 Thread dev . fekioh
Hi all, 

I have a problem using the  cmsplugin-sections 
<https://github.com/mkoistinen/cmsplugin-sections> plugin for same page 
navigation

I am trying to use it and  I run into a *'NoneType' object is not iterable 
error* when trying to add a section container. Full information here 
<https://stackoverflow.com/questions/35579636/problems-with-same-page-scroll-plugin-in-django-cms>
 
(asked on stackoverflow but no answer...) 

Any tips welcome.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2bc96ff3-6ab1-4cc8-ba83-08c8f25549a7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django CMS 3.2 is now available

2015-11-25 Thread Daniele Procida
Hello, we released django CMS 3.2 last night, which we are very excited about.

There are lots of new improvements and functionality, but we think we have a 
Django first: a CMS with (near-complete) touch-screen support, not just for 
published websites, but for all the editing interfaces. 

(It was quite a bit harder than it sounds, let's put it like that.)

There's more at <http://www.django-cms.org/en/blog/2015/11/24/django-cms-32/>, 
and a live demo at <https://control.aldryn.com/demo/get-new/>.

Daniele

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20151125093248.891532270%40mail.wservices.ch.
For more options, visit https://groups.google.com/d/optout.


Django Cms 3.1.3 Search Using Haystack

2015-11-06 Thread nAncy sharma
Hi there,

I am working with django cms 3.1.3 to build a website.

I am trying to add functionality of "SEARCH" to the website .Tried using 
haystack with elasticsearch,whoosh,simple,xapian for which i followed the 
haysatck documentaion. Still unsuccessful in achieving the functionality.

Is the django cms version an issue ? Or the steps followed might be the 
problem?

Could someone share an useful link for the same?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bbb767bc-0ce6-41cd-9dad-cac2f7b1a691%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS or Wiki?

2015-08-24 Thread guettli
A static content generator is what I use up to now. 

I want to alter the site from every web enabled device (pc or tablet).


Am Montag, 24. August 2015 14:30:07 UTC+2 schrieb Shawn Milochik:
>
> On Mon, Aug 24, 2015 at 2:49 AM, guettli  
> wrote:
>
>>
>> Has someone an advice which django application could be used?
>>
>> Regards,
>>   Thomas Güttler
>>
>>
> Why does it have to be a Django application? Static site generators such 
> as Hugo and Pelican are very popular, especially for things like blogs. The 
> content is updated so infrequently that involving database transactions in 
> a page load is just wasteful.
>
> https://gohugo.io/
>
> http://blog.getpelican.com/
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/7637b888-326a-4e3c-b829-7ef9a1c49065%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS or Wiki?

2015-08-24 Thread Shawn Milochik
On Mon, Aug 24, 2015 at 2:49 AM, guettli  wrote:

>
> Has someone an advice which django application could be used?
>
> Regards,
>   Thomas Güttler
>
>
Why does it have to be a Django application? Static site generators such as
Hugo and Pelican are very popular, especially for things like blogs. The
content is updated so infrequently that involving database transactions in
a page load is just wasteful.

https://gohugo.io/

http://blog.getpelican.com/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAOzwKwGrVzJA%3D%3DFouxTHiFG2He3ev52MSbwrswh%2BHKdeNU3sXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS or Wiki?

2015-08-24 Thread Avraham Serour
Django cms feels like a framework for building your own cms, it has many
things that will help you to build your own system and it is very flexible
mezzanine is a finished product, it is highly configurable but it may be
harder to customize (but always possible)

On Mon, Aug 24, 2015 at 10:47 AM, guettli <h...@tbz-pariv.de> wrote:

> Why do you like it?
>
> Am Montag, 24. August 2015 09:29:09 UTC+2 schrieb Avraham Serour:
>>
>> try http://mezzanine.jupo.org/
>>
>> On Mon, Aug 24, 2015 at 9:49 AM, guettli <h...@tbz-pariv.de> wrote:
>>
>>> I am unsure which application I should use for my personal  homepage.
>>>
>>> At work we use a wiki and I like it a lot, since you can edit the
>>> content very fast and linking
>>> between pages is very easy.
>>>
>>> On the other hand django cms seems to be a widespread application and it
>>> could be
>>> a solid ground for a homepage.
>>>
>>> The content is quite simple. Some pages with some pictures.
>>>
>>> I  do software development with django since several years.
>>>
>>> But for my personal homepage I don't want to do development. In this
>>> context I
>>> want to be a software user.
>>>
>>> Has someone an advice which django application could be used?
>>>
>>> Regards,
>>>   Thomas Güttler
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/django-users/ec9ce4cd-a1bc-4727-9d68-94a14a08ae4d%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/ec9ce4cd-a1bc-4727-9d68-94a14a08ae4d%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/0baebcf5-0dc0-4ec7-8c32-ec5f35086129%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/0baebcf5-0dc0-4ec7-8c32-ec5f35086129%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tJwKFgOuT0P97r4biTfoCdMy5LO%3DA%2BQD4KCncsEkGnq2g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS or Wiki?

2015-08-24 Thread Avraham Serour
try http://mezzanine.jupo.org/

On Mon, Aug 24, 2015 at 9:49 AM, guettli <h...@tbz-pariv.de> wrote:

> I am unsure which application I should use for my personal  homepage.
>
> At work we use a wiki and I like it a lot, since you can edit the content
> very fast and linking
> between pages is very easy.
>
> On the other hand django cms seems to be a widespread application and it
> could be
> a solid ground for a homepage.
>
> The content is quite simple. Some pages with some pictures.
>
> I  do software development with django since several years.
>
> But for my personal homepage I don't want to do development. In this
> context I
> want to be a software user.
>
> Has someone an advice which django application could be used?
>
> Regards,
>   Thomas Güttler
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/ec9ce4cd-a1bc-4727-9d68-94a14a08ae4d%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/ec9ce4cd-a1bc-4727-9d68-94a14a08ae4d%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFWa6tL%2BPwsTEz0E1dYL4Hx_kkhOLMKN%3Dj7neq_6uCy8BFP-UA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Django CMS or Wiki?

2015-08-24 Thread guettli
I am unsure which application I should use for my personal  homepage.

At work we use a wiki and I like it a lot, since you can edit the content 
very fast and linking
between pages is very easy.

On the other hand django cms seems to be a widespread application and it 
could be
a solid ground for a homepage.

The content is quite simple. Some pages with some pictures.

I  do software development with django since several years.

But for my personal homepage I don't want to do development. In this 
context I 
want to be a software user.

Has someone an advice which django application could be used?

Regards,
  Thomas Güttler

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ec9ce4cd-a1bc-4727-9d68-94a14a08ae4d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django CMS/ Framework for Banking /Financial service

2015-06-02 Thread Swapnil Bhadade
Which are Django packages for full stack development of an e-banking web 
app based on P2P model. Any resources / frameworks would be of help.
Best

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4d6da124-9d65-436e-933c-1ae5c601765b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


The django CMS Network

2015-04-02 Thread Daniele Procida
Dear django CMS friends,

You might be interested in the django CMS Network.

There's a preview at <http://aldryn.com/en/network/> but it will be appearing 
on django-cms.org soon too.

It hasn't officially been launched yet, but will be publicly available in the 
next week or so.

If you work with django CMS - backend/frontend developer, agency, or whatever - 
you can get on the Network before the crowds rush in.

It's completely free to sign up, and will help put you - and the whole django 
CMS ecosystem - on the map. It takes a couple of minutes to complete the 
process; instructions at <http://www.aldryn.com/en/help/network/>

Regards,

Daniele

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20150402135133.1533636538%40mail.wservices.ch.
For more options, visit https://groups.google.com/d/optout.


Django CMS 3.0.12 Released!

2015-03-04 Thread Martin Koistinen
*Django CMS 3.0.12 Released!*

This quick-cycle release fixes a regression discovered by a user shortly 
after the release of 3.0.11.


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3697886e-ad7b-4515-8759-f440c4b16daf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django CMS 3.0.11 Released!

2015-03-04 Thread Martin Koistinen
*Django CMS 3.0.11 Released!*

This is mostly a bug-fix release, but there's at least one very interesting 
thing added: better support for using the same application in multiple 
apphooks! Using this combined with aldryn-apphooks-config () you can use a 
single app in multiple places in your project, each with their own, 
independent configurations and even CMSAttachMenus.

Full release notes here: 
http://django-cms.readthedocs.org/en/3.0.11/upgrade/3.0.11.html

Many thanks to the community for posting issues, PRs and suggestions!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1621a250-3c95-411e-877e-b72ba5c0b956%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS

2014-11-10 Thread Sergiy Khohlov
 no problem.
You are welcome

Many thanks,

Serge


+380 636150445
skype: skhohlov

On Mon, Nov 10, 2014 at 3:14 PM, Niall <conwayni...@gmail.com> wrote:

> Sergiy, just got it all sorted, one of my extra installed apps was
> commented out in settings.py.
> Thanks for response in any case
> Niall
>
> On Monday, 10 November 2014 17:35:39 UTC+10, Sergiy Khohlov wrote:
>>
>> send also log from console
>>
>> Many thanks,
>>
>> Serge
>>
>>
>> +380 636150445
>> skype: skhohlov
>>
>> On Sun, Nov 9, 2014 at 6:06 PM, Niall <conwa...@gmail.com> wrote:
>>
>>> Hi guys,
>>>
>>> I was hoping that someone could help me out with the following. I m
>>> currently trying to access Djang CMS for the first time. I have been
>>> following the steps on this page
>>> <https://www.digitalocean.com/community/tutorials/how-to-set-up-and-install-django-cms-on-a-debian-7-or-ubuntu-13-vps>
>>>  but
>>> it turns up with this error when I run the server and load int he browser.
>>>
>>> Would appreciate any tips please. Thanks
>>>
>>> Niall
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at http://groups.google.com/group/django-users.
>>> To view this discussion on the web visit https://groups.google.com/d/
>>> msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%
>>> 40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bb17878b-cde2-43ab-8005-bab2fbc0bce7%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bb17878b-cde2-43ab-8005-bab2fbc0bce7%40googlegroups.com?utm_medium=email_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJMk704VpbS8XczeN3Tv5Ts_aGR5DW64Rc1jYvuHcnY%3DrA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS

2014-11-10 Thread Niall
Sergiy, just got it all sorted, one of my extra installed apps was 
commented out in settings.py. 
Thanks for response in any case
Niall

On Monday, 10 November 2014 17:35:39 UTC+10, Sergiy Khohlov wrote:
>
> send also log from console 
>
> Many thanks,
>
> Serge
>
>
> +380 636150445
> skype: skhohlov
>
> On Sun, Nov 9, 2014 at 6:06 PM, Niall <conwa...@gmail.com > 
> wrote:
>
>> Hi guys,
>>
>> I was hoping that someone could help me out with the following. I m 
>> currently trying to access Djang CMS for the first time. I have been 
>> following the steps on this page 
>> <https://www.digitalocean.com/community/tutorials/how-to-set-up-and-install-django-cms-on-a-debian-7-or-ubuntu-13-vps>
>>  but 
>> it turns up with this error when I run the server and load int he browser.
>>
>> Would appreciate any tips please. Thanks
>>
>> Niall
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at http://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%40googlegroups.com?utm_medium=email_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/bb17878b-cde2-43ab-8005-bab2fbc0bce7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django CMS

2014-11-09 Thread Sergiy Khohlov
send also log from console

Many thanks,

Serge


+380 636150445
skype: skhohlov

On Sun, Nov 9, 2014 at 6:06 PM, Niall <conwayni...@gmail.com> wrote:

> Hi guys,
>
> I was hoping that someone could help me out with the following. I m
> currently trying to access Djang CMS for the first time. I have been
> following the steps on this page
> <https://www.digitalocean.com/community/tutorials/how-to-set-up-and-install-django-cms-on-a-debian-7-or-ubuntu-13-vps>
>  but
> it turns up with this error when I run the server and load int he browser.
>
> Would appreciate any tips please. Thanks
>
> Niall
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/bc63432e-7bbe-44f9-bd56-220dc7256634%40googlegroups.com?utm_medium=email_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CADTRxJPUE1gUQqSVx%3D29pDuQbEsS-fxEypLO2sv-zxtR388TYg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: django-cms apphook urls don't work with reverse() using Python shell

2014-08-19 Thread Ramiro Morales
On Tue, Aug 19, 2014 at 8:14 AM, Philipp  wrote:
> [...]
>
> This is my urls.py file:
>
> urlpatterns = patterns('',
> url(r'^(?P[\w\-]+)?', ArticleView.as_view(),
> name='article-by-slug'),
> )
>
> [...]
 reverse('article_app:article-by-slug', kwargs={'slug': a.slug})

Try with::

reverse('article_app:article-by-slug', args=[a.slug])

> # Reverse for 'article_app:article-by-slug' with arguments '()' and keyword
> arguments '{'slug': 'this-is-article-1'}' not found.

Regards,

-- 
Ramiro Morales
@ramiromorales

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAO7PdF-UrHAgOOFC2iS3NZbyXUs99%2B9xC7MrnXDUDaMFBkLT2A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


django-cms apphook urls don't work with reverse() using Python shell

2014-08-19 Thread Philipp
Hi everyone,

I've created a django CMS apphook. Unfortunately I'm not able to reverse 
apphook urls using the Python shell.

The cms_app.py file looks like:

class ArticleApp (CMSApp):
name = _('Article App')
app_name = 'article_app'
urls = ['article.urls']


apphook_pool.register(ArticleApp)

This is my urls.py file:

urlpatterns = patterns('',
url(r'^(?P[\w\-]+)?', ArticleView.as_view(), name=
'article-by-slug'),
)

The template file is:

{% url 'article_app:article-by-slug' article.slug %}

URL reversing inside the template performs like expected. If I try to do 
the same using the Python shell I receive an error message:

>>> from django.core.urlresolvers import reverse
>>> from article.models import Article
>>> a = Article.objects.get(pk=1)
>>> reverse('article_app:article-by-slug', kwargs={'slug': a.slug})
# Reverse for 'article_app:article-by-slug' with arguments '()' and keyword 
arguments '{'slug': 'this-is-article-1'}' not found.

Additional urls defined in the main urls.py work like expected from inside 
the shell. Only apphook urls don't work.

Any suggestions? I appreciate your help!

Thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/54b254d4-eb9c-468a-91b2-201fee0a8c1d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


django-cms context_processors.media has been deprecated

2014-04-03 Thread Tameen Malik


   This below command errors generates when i run my program with this 
command python manage.py runserver

/usr/local/lib/python2.7/dist-packages/cms/context_processors.py:20: 
DeprecationWarning:

cms.context_processors.media has been deprecated in favor of 

cms.context_processors.cms_settings. Please update your configuration
  'configuration', DeprecationWarning)


-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d904db1e-c639-4ed2-b35a-5bbbfb0bf7d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


help with django-cms install for existing django site

2014-03-12 Thread eric . frost
hi folks! I've been struggling getting django-cms to work properly in an 
exising django site. Would someone be willing to work with me on a paid 
basis? You would just connect to my machine, I'd show you where everything 
is, etc. Maybe it would just take an hour or two initially, but could also 
lead to more consulting work

Write to me: django at mp2kmag.com

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a8cc5b7b-c0d0-4340-bf82-21fefda32668%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-23 Thread Mark Moss
Thanks Tim for pointing the risks. 

By the way, the production VMs that are activated for actual customers have 
Debug=Off. Moreover, the demo VM is rebuilt every few hours to avoid any 
negative tweaking.

--
- Mark
*Instantly deploy Django-Cms with built-in 5 themes 
<http://www.gigapros.com/portal/django-cms-hosting>*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fecfd074-42d2-4f16-83de-1930a1528e92%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-23 Thread tim
You may want to read our documentation which warns of the security risks in 
deploying sites on the public internet with DEBUG=True.

https://docs.djangoproject.com/en/dev/ref/settings/#debug

On Saturday, December 21, 2013 6:37:11 AM UTC-5, Mark Moss wrote:
>
> Hi Frank,
>
> Debug is enabled intentionally since this is a demo machine.
>
> All themes are fine without any problem. You just need to change the 
> default theme from Admin side. To demonstrate it, I have now changed to 
> Hfree Software theme, which can be seen at -- http://198.154.98.107:8000/
>
> You will find the admin login info on this page -- 
> http://gigapros.com/portal/django-cms-hosting
>
> - Mark
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/fda1f3c0-6556-428b-aba3-39e5ae0d5363%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-21 Thread Mark Moss
Hi Frank,

Debug is enabled intentionally since this is a demo machine.

All themes are fine without any problem. You just need to change the 
default theme from Admin side. To demonstrate it, I have now changed to 
Hfree Software theme, which can be seen at -- http://198.154.98.107:8000/

You will find the admin login info on this page -- 
http://gigapros.com/portal/django-cms-hosting

- Mark

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c6b4838d-3fbb-42b9-861c-ed7fc846a444%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-12 Thread Frank Bieniek

Hi Mark,
you have debug turned on.
http://198.154.98.107:8000/themes/h-free-software/
and a broken theme.

Good luck


Am 12.12.2013 20:02, schrieb Mark Moss:

*_Top 3 challenges of a django-cms user:_*

 1. Are you trying to use django-cms, but got tangled with the complex
setup process?
 2. Do you wanna start publishing your content right away with
django-cms, without wasting time on setup?
 3. Are you looking for beautiful pre-installed themes for django-cms,
which can be used right away?

*_
_*
*_If you answered YES to any of those questions_*, then take a look at 
this *_django cms hosting_ 
<http://www.gigapros.com/portal/django-cms-hosting>* provider.


I have seen a lot of people struggling with the setup process for
django-cms. More time is spent on installation, instead of
actually using the cms right away. Now, you can concentrate on
publishing rather than fighting with the installation process. Get
Started With Django CMS Instantly!

Visit -- *http://www.gigapros.com/portal/django-cms-hosting
<http://gigapros.com/portal/django-cms-hosting>*




--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52AA09A5.4070603%40produktlaunch.de.
For more options, visit https://groups.google.com/groups/opt_out.


Instant Hosting for Django-CMS...No Setup Needed...Demo Inside

2013-12-12 Thread Mark Moss
*Top 3 challenges of a django-cms user:*

   1. Are you trying to use django-cms, but got tangled with the complex 
   setup process?
   2. Do you wanna start publishing your content right away with 
   django-cms, without wasting time on setup?
   3. Are you looking for beautiful pre-installed themes for django-cms, 
   which can be used right away?


*If you answered YES to any of those questions*, then take a look at this 
*django 
cms hosting <http://www.gigapros.com/portal/django-cms-hosting>* provider.

I have seen a lot of people struggling with the setup process for 
django-cms. More time is spent on installation, instead of actually using 
the cms right away. Now, you can concentrate on publishing rather than 
fighting with the installation process. Get Started With Django CMS 
Instantly!

Visit -- *http://www.gigapros.com/portal/django-cms-hosting 
<http://gigapros.com/portal/django-cms-hosting>*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4ce3867a-a09d-4faa-acf0-c4ee41ff7a48%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2013-09-08 Thread Dig
I don't think it's a django question. For security reasons, HTTP browser
will block access resources in a different site(domain) by AJAX request.
You should add Access-Control-Allow-Origin and Access-Control-Allow-Methods
headers (response for OPTION request) to declar your willings.
On Sep 8, 2013 6:29 AM, "Zach Frank" <zfrankdes...@gmail.com> wrote:

> Having same problem.. did you figure anything out?
>
> Z
>
> On Thursday, October 11, 2012 12:57:30 PM UTC-5, Matteo Suppo wrote:
>>
>> I found this: http://comments.gmane.**org/gmane.comp.python.django.**
>> django-cms/1202<http://comments.gmane.org/gmane.comp.python.django.django-cms/1202>
>>
>> and I decided to use tinymce for now. It's not solved though. I will do
>> something, maybe.
>>
>> On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>>>
>>> Ok, here's a fun one.
>>>
>>> I set up a django installation on Heroku, added the django-cms app,
>>> deployed on heroku, and collected the static files on AWS.
>>>
>>> The problem is Django-CMS tries to load the js file for the wymeditor
>>> but AWS says:
>>>
>>> MLHttpRequest cannot load https://s3.amazonaws.com/[...]**
>>> /cms/js/wymeditor/skins/**django/skin.js<https://s3.amazonaws.com/%5B...%5D/cms/js/wymeditor/skins/django/skin.js>.
>>> Origin [...] is not allowed by Access-Control-Allow-Origin.
>>>
>>> I actually searched a lot, and discovered this: http://docs.**
>>> amazonwebservices.com/**AmazonS3/latest/dev/cors.html<http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html>
>>>
>>> Seems like a solution, but even if I activated it, nothing works.
>>>
>>> I'm at loss. It should work but it doesn't. Am I missing something here?
>>> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>>>
>>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/django-users.
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2013-09-07 Thread Zach Frank
Having same problem.. did you figure anything out?

Z

On Thursday, October 11, 2012 12:57:30 PM UTC-5, Matteo Suppo wrote:
>
> I found this: 
> http://comments.gmane.org/gmane.comp.python.django.django-cms/1202
>
> and I decided to use tinymce for now. It's not solved though. I will do 
> something, maybe.
>
> On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>>
>> Ok, here's a fun one.
>>
>> I set up a django installation on Heroku, added the django-cms app, 
>> deployed on heroku, and collected the static files on AWS.
>>
>> The problem is Django-CMS tries to load the js file for the wymeditor but 
>> AWS says:
>>
>> MLHttpRequest cannot load 
>> https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. 
>> Origin [...] is not allowed by Access-Control-Allow-Origin.
>>
>> I actually searched a lot, and discovered this: 
>> http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html
>>
>> Seems like a solution, but even if I activated it, nothing works.
>>
>> I'm at loss. It should work but it doesn't. Am I missing something here? 
>> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2013-09-07 Thread Zach Frank
Having this same problem... did you fix it? I'm using heroku, django-cms, 
s3 for static files and i'm getting the same domain origin error.. any new 
insights appreciated.

Z

On Thursday, October 11, 2012 12:57:30 PM UTC-5, Matteo Suppo wrote:
>
> I found this: 
> http://comments.gmane.org/gmane.comp.python.django.django-cms/1202
>
> and I decided to use tinymce for now. It's not solved though. I will do 
> something, maybe.
>
> On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>>
>> Ok, here's a fun one.
>>
>> I set up a django installation on Heroku, added the django-cms app, 
>> deployed on heroku, and collected the static files on AWS.
>>
>> The problem is Django-CMS tries to load the js file for the wymeditor but 
>> AWS says:
>>
>> MLHttpRequest cannot load 
>> https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. 
>> Origin [...] is not allowed by Access-Control-Allow-Origin.
>>
>> I actually searched a lot, and discovered this: 
>> http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html
>>
>> Seems like a solution, but even if I activated it, nothing works.
>>
>> I'm at loss. It should work but it doesn't. Am I missing something here? 
>> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


django-cms like model translation

2013-08-15 Thread Avraham Serour
Hi,

I'm making a site using django-cms with an app hook for django shop
this is a multilanguage site, so in settings.py I have

LANGUAGES = [
('pt-br', 'Portuguese'),
('en', 'English'),

]

so when adding a page, I have two tabs, one version of the page for each
language
I need to have translations for my product model also, I only found
this<https://gist.github.com/mbrochh/1178120>,
but this approach have two problems:
I am repeating myself on which languages I want, for each I add/remove I
need to migrate, this should work like the cms pagemodel
and a minor problem of inconvenience of the user of the admin page, it
would be nice to have the same interface (tab for each language)

I took a look at pagemodel.py but I failed to actually understand in order
to repeat, maybe I didn't have enough coffee

any thoughts?

thanks
avraham

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


AbstractUser with Django CMS

2013-07-02 Thread Aliona Kutalovskaja
Hey, is possible use AbstractUser with django cms? And how that do :)

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Please help - i can't install Django CMS

2013-06-13 Thread Tom Evans
On Thu, Jun 13, 2013 at 11:56 AM, Vic N <wisejoom...@gmail.com> wrote:
> Please help - i can't install Django CMS. Is there anyone who can post it's
> own Django CMS already installed and preconfigured in zip ? Then i will
> unpack it on my PC (Windows 7, Python 2.7.5).
>  This is my post on Stackoverflow
> http://stackoverflow.com/questions/17066502/django-cms-installation-no-welcome-page-and-500-server-error
>

When you have DEBUG=True, you are shown the "It worked, now go do some
work" page. This page is only shown if you don't add any urls and are
running in DEBUG mode.

The errors visible in the console are related to character encoding
issues when attempting to determine the MIME type when serving some
static files. The error comes from your installation of python, which
is asked to determine the MIME type, looks in the windows registry,
and subsequently blows up.

These errors are unrelated to Django. Django expects that your python
installation will work; your's does not. Uninstall "WinPython" and
install the supported cpython from python.org:

http://www.python.org/download/releases/2.7.5/

The main difference is that the the supported cpython will probably work.

> Please understand, i have no time to bear with errors, my primary work with
> NLTK Python's module. I simply want to make NLP procesing and show on site
> results + REST service.
>

It's unusual to see the "Just $%! make it work" attitude when
requesting free support. Good luck with that.

Tom

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Please help - i can't install Django CMS

2013-06-13 Thread Vic N
Please help - i can't install Django CMS. Is there anyone who can post it's 
own Django CMS already installed and preconfigured in zip ? Then i will 
unpack it on my PC (Windows 7, Python 2.7.5).
 This is my post on Stackoverflow 
http://stackoverflow.com/questions/17066502/django-cms-installation-no-welcome-page-and-500-server-error

Please understand, i have no time to bear with errors, my primary work with 
NLTK Python's module. I simply want to make NLP procesing and show on site 
results + REST service.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Re: django / django cms + responsive

2013-03-14 Thread Anurag Chourasia
Look at

1. Twitter Bootstrap. http://twitter.github.com/bootstrap/

2. Foundation Zurb. http://foundation.zurb.com/

Regards,
Anurag
On Mar 14, 2013 7:03 AM, "Frank Bieniek" <frank.bien...@produktlaunch.de>
wrote:

> Hi Guys,
> what are your preferred apps to turn django or django cms into a
> responsive website?
>
> What are your recipes?
>
> Thanks
> Frank
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to 
> django-users+unsubscribe@**googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at 
> http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
> For more options, visit 
> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
> .
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




django / django cms + responsive

2013-03-14 Thread Frank Bieniek

Hi Guys,
what are your preferred apps to turn django or django cms into a 
responsive website?


What are your recipes?

Thanks
Frank

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.




Django-cms

2012-12-06 Thread jk121960
Hi, I am new to django-cms, I followed docs and it seems to be working fine 
(creating pages etc) but I went to do an app hook and that part along with 
redirect and soft root are missing from the advanced area. I have rebuilt 
environment a few times and it is still not there. Can anyone help me 
figure out why this is happening, I am using django 1.4.2 and django-cms 
2.3.5. My installed apps look as follows:

INSTALLED_APPS = (
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.messages',
'django.contrib.staticfiles',
'registration_defaults',
'django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.sitemaps',
'cms',
'mptt',
'menus',
'south',
'sekizai',
'cms.plugins.file', 
'cms.plugins.flash', 
'cms.plugins.googlemap', 
'cms.plugins.link', 
'cms.plugins.picture', 
'cms.plugins.snippet', 
'cms.plugins.teaser', 
'cms.plugins.text', 
'cms.plugins.video', 
'cms.plugins.twitter', 
'cms_redirects',
'reversion', 
'social_auth', 
'analytical',
'registration',

)

Thanks in advance for any help



-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/JufvHQ87SS4J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django CMS security release issued

2012-12-04 Thread Jonas Obrist
We just issued a security release for the django CMS to fix a vulnerability
in the page_attribute template tag, which allowed admins with restricted
permissions to elevate their permissions through XSS.

All django CMS users are encouraged to update their django CMS
installations immediately.

Read more at http://bit.ly/django-cms-2-3-5

- Jonas

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



How to make new app in django cms

2012-11-05 Thread Mario Ardi
Hy..please help me.
How to make new app in django cms and how to make this new app can work in 
django cms ?
I'am new in Django Cms developer. Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/WI0SryOjZn8J.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
I found this: 
http://comments.gmane.org/gmane.comp.python.django.django-cms/1202

and I decided to use tinymce for now. It's not solved though. I will do 
something, maybe.

On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>
> Ok, here's a fun one.
>
> I set up a django installation on Heroku, added the django-cms app, 
> deployed on heroku, and collected the static files on AWS.
>
> The problem is Django-CMS tries to load the js file for the wymeditor but 
> AWS says:
>
> MLHttpRequest cannot load 
> https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. 
> Origin [...] is not allowed by Access-Control-Allow-Origin.
>
> I actually searched a lot, and discovered this: 
> http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html
>
> Seems like a solution, but even if I activated it, nothing works.
>
> I'm at loss. It should work but it doesn't. Am I missing something here? 
> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/4YPceJ2PwyoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
Apparently with Firefox I don't have the CORS problem. It doesn't work 
either but at least it's a different error message:

Error: Permission denied to access property 'styleSheets'

styles = this._doc.styleSheets[0];

that brought me to this: 
http://stackoverflow.com/questions/2206586/wymeditor-across-subdomains-cross-site-permission-issue

Hmm I'll try it


On Thursday, October 11, 2012 7:25:19 PM UTC+2, Matteo Suppo wrote:
>
> Ok, here's a fun one.
>
> I set up a django installation on Heroku, added the django-cms app, 
> deployed on heroku, and collected the static files on AWS.
>
> The problem is Django-CMS tries to load the js file for the wymeditor but 
> AWS says:
>
> MLHttpRequest cannot load 
> https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. 
> Origin [...] is not allowed by Access-Control-Allow-Origin.
>
> I actually searched a lot, and discovered this: 
> http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html
>
> Seems like a solution, but even if I activated it, nothing works.
>
> I'm at loss. It should work but it doesn't. Am I missing something here? 
> Maybe it doesn't work the way I thought? Should I ask AWS directly?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/ejalT2r8CbUJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django-cms + Wymeditor + Heroku + AWS s3 + Cors

2012-10-11 Thread Matteo Suppo
Ok, here's a fun one.

I set up a django installation on Heroku, added the django-cms app, 
deployed on heroku, and collected the static files on AWS.

The problem is Django-CMS tries to load the js file for the wymeditor but 
AWS says:

MLHttpRequest cannot load 
https://s3.amazonaws.com/[...]/cms/js/wymeditor/skins/django/skin.js. 
Origin[...] is not allowed by Access-Control-Allow-Origin.

I actually searched a lot, and discovered this: 
http://docs.amazonwebservices.com/AmazonS3/latest/dev/cors.html

Seems like a solution, but even if I activated it, nothing works.

I'm at loss. It should work but it doesn't. Am I missing something here? 
Maybe it doesn't work the way I thought? Should I ask AWS directly?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/X4aoCq5rnGEJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS 2.3 Released!

2012-07-01 Thread Pascal Chambon

Yayh,
django-cms and django-zinnia latest versions can once agains work 
together B-)

thanks,
regards,
PKL

Le 29/06/2012 15:42, Jonas Obrist a écrit :
Today I am very excited that we just released Django CMS 2.3, with 
Django 1.4 support.


You can read the release notes at Django at http://bit.ly/django-cms-23.

Best regards,

Jonas 'ojii' Obrist
--
You received this message because you are subscribed to the Google 
Groups "django-cms" group.

To post to this group, send email to django-...@googlegroups.com.
To unsubscribe from this group, send email to 
django-cms+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-cms?hl=en.


--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS 2.3 Released!

2012-06-29 Thread Kurdy
Installed 2.3rc2 this afternoon. Happily surprised by new release.

Upgraded to django1.4 and cms2.3.
I'm only still struggling with django-filer. What would be the advise?
Is a new version of filer expected soon? 
Or is the development-version enough for production?

Thanks for all the nice work.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/fwOTKjRFvzMJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django CMS 2.3 Released!

2012-06-29 Thread Jonas Obrist
Today I am very excited that we just released Django CMS 2.3, with Django
1.4 support.

You can read the release notes at Django at http://bit.ly/django-cms-23.

Best regards,

Jonas 'ojii' Obrist

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-cms text_only_plugins problem

2012-05-19 Thread Иван Иванов
Hi all!

I know that this is not exactly the right mailing list, but …

I am trying to filter the allowed plugins in the TextPlugin with the
text_only_plugins option in my settings.py. Despite of what I'm writing
in the property, I get all available plugins allowed in the select box
in the text plugin. 

Can someone help me with the issue, please?

Here are my settings:

CMS_PLACEHOLDER_CONF = {
'index.html images' : {
'plugins' : ['CMSGalleryPlugin'],
'name' : gettext('Image Gallery'),
},
'index.html text' : {
'plugins' : ['TextPlugin'],
'text_only_plugins': ['LinkPlugin'],
'name' : gettext('Text'),
},
}

Django-cms version is 2.2.

Thank you in advance!

Ivan Ivanov

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django-cms plugins - ImportError no module named: cmsplugin_filer_file....

2012-03-04 Thread doniyor
hey Amao, great help :))) i really didnot see this dummy mistake..
thanks great and chrs

On 4 Mrz., 15:53, Amao Zhao <amaoz...@gmail.com> wrote:
> the APP_INSTALLS in your settings.py is a list. please recheck your 'filer'
> and so no.
> 在 2012-3-4 下午10:07,"doniyor" <doniyor@googlemail.com>写道:
>
>
>
>
>
>
>
> > Hi there,
>
> > i need your help, i am trying to setup cms of my webpage, but
> > everytime i run the "python manage.py syncdb" the error comes:
> > django.core.exceptions.ImproperlyConfigured: ImportError filer
> > cmsplugin_filer_image : no module named filer
> > cmsplugin_filer_image
>
> > i have installed all possible django-cms plugins, i have django 1.3.1
> > running and python 2.7.
>
> > why is this error, as a result i dont have a available plugins in
> > cmspage to select.
>
> > please help me, is it a django version problem ?
>
> > this is my settings.py:
>
> >http://pastebin.com/K0VaK62K
>
> > thanks alot..
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-users@googlegroups.com.
> > To unsubscribe from this group, send email to
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/django-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django-cms plugins - ImportError no module named: cmsplugin_filer_file....

2012-03-04 Thread Amao Zhao
the APP_INSTALLS in your settings.py is a list. please recheck your 'filer'
and so no.
在 2012-3-4 下午10:07,"doniyor" <doniyor@googlemail.com>写道:

> Hi there,
>
> i need your help, i am trying to setup cms of my webpage, but
> everytime i run the "python manage.py syncdb" the error comes:
> django.core.exceptions.ImproperlyConfigured: ImportError filer
> cmsplugin_filer_image : no module named filer
> cmsplugin_filer_image....
>
>
> i have installed all possible django-cms plugins, i have django 1.3.1
> running and python 2.7.
>
> why is this error, as a result i dont have a available plugins in
> cmspage to select.
>
> please help me, is it a django version problem ?
>
> this is my settings.py:
>
> http://pastebin.com/K0VaK62K
>
> thanks alot..
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django-cms plugins - ImportError no module named: cmsplugin_filer_file....

2012-03-04 Thread doniyor
by the way, i am using django-cms-2.2

On 4 Mrz., 15:07, doniyor <doniyor@googlemail.com> wrote:
> Hi there,
>
> i need your help, i am trying to setup cms of my webpage, but
> everytime i run the "python manage.py syncdb" the error comes:
> django.core.exceptions.ImproperlyConfigured: ImportError filer
> cmsplugin_filer_image : no module named filer
> cmsplugin_filer_image....
>
> i have installed all possible django-cms plugins, i have django 1.3.1
> running and python 2.7.
>
> why is this error, as a result i dont have a available plugins in
> cmspage to select.
>
> please help me, is it a django version problem ?
>
> this is my settings.py:
>
> http://pastebin.com/K0VaK62K
>
> thanks alot..

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django-cms plugins - ImportError no module named: cmsplugin_filer_file....

2012-03-04 Thread doniyor
Hi there,

i need your help, i am trying to setup cms of my webpage, but
everytime i run the "python manage.py syncdb" the error comes:
django.core.exceptions.ImproperlyConfigured: ImportError filer
cmsplugin_filer_image : no module named filer
cmsplugin_filer_image


i have installed all possible django-cms plugins, i have django 1.3.1
running and python 2.7.

why is this error, as a result i dont have a available plugins in
cmspage to select.

please help me, is it a django version problem ?

this is my settings.py:

http://pastebin.com/K0VaK62K

thanks alot..

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS and django-admin-tools are together?

2011-12-27 Thread Jonas Obrist
"but I read that django-admin-tools is one of django-cms apps."

that is incorrect. The initial design and idea started on our blog [1] but 
it was never implemented by us, so someone else did and thus 
django-admin-tools was created.

[1] https://www.django-cms.org/en/blog/2009/10/29/dashboard-proposal-update/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/AOvbwFHlCtgJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS

2011-12-27 Thread Andre Terra
*Before this thread turns into **another "My favorite X is Y", everyone
please think twice before posting.*

OP (probably) asked "Which CMS will let me upload and embed videos?", so
unless anyone has something to add in that regard, there's no need to state
your personal preference.

If, instead, he actually asked "How can I use *just* the video
uploading/embedding tools provided by Django CMS?", then his question
should be made in their official mailing list, not this one.


My suggestion to OP: please go through the djangopackages.com list for CMS
apps[1]. By that I mean visit their websites and IRC channels, and possibly
read through specialized mailing lists. This functionality is probably
going to require a great deal of manual configuration as the
implementations can vary greatly, so maybe someone out there can show you
the way.

Feel free to ask again once you have questions about using Django itself.


Cheers,
AT

[1] http://djangopackages.com/grids/g/cms/

On Tue, Dec 27, 2011 at 1:56 PM, Ezequiel Bertti <eber...@gmail.com> wrote:

> the best one for me is FEINCMS :  http://feinheit.ch/media/labs/feincms/
>
> have great tools for another aplication and is very easy to configure and
> use.
>
> On Tue, Dec 27, 2011 at 12:52, Jonas Obrist <ojiido...@gmail.com> wrote:
>
>> Hi there, if you're asking about django CMS (https://django-cms.org),
>> you should use the proper mailing list to ask questions:
>> https://groups.google.com/forum/#!forum/django-cms
>>
>> Also, I do not fully understand your questions. Could you maybe try to
>> explain a bit better what you're trying to achieve?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msg/django-users/-/CaFWD5xok8QJ.
>>
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> Ezequiel Bertti
> E-Mail: eber...@gmail.com
> MSN: eber...@hotmail.com
> Cel: (21) 9188-4860
>
> VÁ PARA BÚZIOS!!!
> http://www.agh.com.br/
> Ane Guest House
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS

2011-12-27 Thread Ezequiel Bertti
the best one for me is FEINCMS :  http://feinheit.ch/media/labs/feincms/

have great tools for another aplication and is very easy to configure and
use.

On Tue, Dec 27, 2011 at 12:52, Jonas Obrist <ojiido...@gmail.com> wrote:

> Hi there, if you're asking about django CMS (https://django-cms.org), you
> should use the proper mailing list to ask questions:
> https://groups.google.com/forum/#!forum/django-cms
>
> Also, I do not fully understand your questions. Could you maybe try to
> explain a bit better what you're trying to achieve?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/django-users/-/CaFWD5xok8QJ.
>
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
Ezequiel Bertti
E-Mail: eber...@gmail.com
MSN: eber...@hotmail.com
Cel: (21) 9188-4860

VÁ PARA BÚZIOS!!!
http://www.agh.com.br/
Ane Guest House

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS

2011-12-27 Thread Jonas Obrist
Hi there, if you're asking about django CMS (https://django-cms.org), you 
should use the proper mailing list to ask 
questions: https://groups.google.com/forum/#!forum/django-cms

Also, I do not fully understand your questions. Could you maybe try to 
explain a bit better what you're trying to achieve?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/django-users/-/CaFWD5xok8QJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Django CMS and django-admin-tools are together?

2011-12-27 Thread Denis Darii
I have a project in which I use django-cms and django-admin-tools together
in production and I hadn't had any problems using it until now.

On Tue, Dec 27, 2011 at 9:27 AM, Maxim Boyarskiy
<maxim.boyars...@gmail.com>wrote:

> Hi Guys,
>
> One question here: Is it possible and justified to use django-admin-
> tools over django-cms? I have no experience with Django-CMS and django-
> admin-tools, but I read that django-admin-tools is one of django-cms
> apps. I mean, I have to implement user filled resource and I look at
> cms, but I have to have some flexibility with content and page blocks
> on admin's page and I think, I have to use django-admin-tools.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>


-- 
This e-mail and any file transmitted with it is intended only for the
person or entity to which is addressed and may contain information that is
privileged, confidential or otherwise protected from disclosure. Copying,
dissemination or use of this e-mail or the information herein by anyone
other than the intended recipient is prohibited. If you are not the
intended recipient, please notify the sender immediately by return e-mail,
delete this communication and destroy all copies.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django CMS and django-admin-tools are together?

2011-12-27 Thread Maxim Boyarskiy
Hi Guys,

One question here: Is it possible and justified to use django-admin-
tools over django-cms? I have no experience with Django-CMS and django-
admin-tools, but I read that django-admin-tools is one of django-cms
apps. I mean, I have to implement user filled resource and I look at
cms, but I have to have some flexibility with content and page blocks
on admin's page and I think, I have to use django-admin-tools.

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django CMS

2011-12-27 Thread Hassan
Dear ALL,
i want to ask something , Can i use like one feature on Django CMS   i
need to using the video upload and playing it  , is that possible ,
how can i do somthing like this . Thanks

Best Regards ,
Hassan Alnatour,

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Django-CMS and inherit plugin

2011-10-04 Thread Ivan Ivanov
Hi all!

It's a silly question, but I cannot get it.
What does this mean:
„The inherit plugin is currently the only core-plugin which can not be
used in non-cms placeholders.“
This is taken from the Django-CMS documentation:
http://docs.django-cms.org/en/2.2/getting_started/plugin_reference.html#inherit

The plugin is properly installed and I can add it from the admin, but
when I try to see the public page with my basic template, I've made
with the tutorial, I become the following error:

Caught AttributeError while rendering: 'NoneType' object has no
attribute 'render_plugin'

The problem is in the template on the following line:
{% placeholder "template_1_content" %} 

I know, that this has something to do with the sentence from the docs,
I cannot understand, but I am stuck...

Thanks for the help!

Ivan

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django-cms and photologue

2011-05-27 Thread Venkatraman S
On Fri, May 27, 2011 at 5:32 PM, Dave Sayer <d...@bathdesign.co.uk> wrote:

>
> I have a question relating to integrating django-photologue with
> django-cms. I have added the cmsplugin-photologue app and am now
> attempting to add the relevant tags to my templates. The trouble is,
> is that I can't seem to find the correct tags for getting the relevant
> data from photologue. Having spent some time googling and looking
> through the docs, I have come no closer to an answer. I just want to
> display a photo that's been attached to a page. I thought it would be
> simple...perhaps it's a wood for the trees moment but i'd really
> appreciate some help.
>


Not sure, i have used photologue as an addon in my app and it worked fine;
is the integration point for the cms you have mentioned different?

-V

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



django-cms and photologue

2011-05-27 Thread Dave Sayer
Hi All,

I have a question relating to integrating django-photologue with
django-cms. I have added the cmsplugin-photologue app and am now
attempting to add the relevant tags to my templates. The trouble is,
is that I can't seem to find the correct tags for getting the relevant
data from photologue. Having spent some time googling and looking
through the docs, I have come no closer to an answer. I just want to
display a photo that's been attached to a page. I thought it would be
simple...perhaps it's a wood for the trees moment but i'd really
appreciate some help.

Cheers,

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: django CMS 2.1.2 released

2011-04-07 Thread Parveen Arora
I am using 2.1.3, It looks awesome.


-- 
Parveen Arora
www.parveenarora.in
E-Mail: m...@parveenarora.in

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: suspiciousoperation with file upload on django-cms

2011-03-23 Thread Karen Tracey
On Wed, Mar 23, 2011 at 9:34 PM, Tony  wrote:

> Ive tried it the other way but when it appends the filename the final
> slash is the other way.  Either way, the octal thing you said hasn't
> had an effect Im pretty sure.  The url in the error message appears to
> be the path it should be.  Is there any other reason?
>

What the SuspiciousOperation error means is that the ultimate file path (the
one in the exception message) was not found to be "under" the MEDIA_ROOT
path. That is, if you say MEDIA_ROOT is /home/kmt/webapp/ then Django will
not allow a file to be uploaded to /home/xyz or /home/kmt or /...the files
all have to be uploaded to /home/kmt/webapp/something_more. Django will not
allow writing uploaded files to outside of the MEDIA_ROOT tree.

Having an octal escape sequence in MEDIA_ROOT is going to cause a problem.
If forward slashes don't work (they should, though) then try doubling the
backslashes or making the string raw.

Karen
-- 
http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: suspiciousoperation with file upload on django-cms

2011-03-23 Thread Tony
Ive tried it the other way but when it appends the filename the final
slash is the other way.  Either way, the octal thing you said hasn't
had an effect Im pretty sure.  The url in the error message appears to
be the path it should be.  Is there any other reason?

On Mar 23, 4:10 pm, Karen Tracey  wrote:
> On Wed, Mar 23, 2011 at 3:26 PM, Tony  wrote:
> > It uses my CMS_PAGE_MEDIA_PATH, which is 'C:\Users\Tony\Documents\My
> > Music\1'.  Maybe this is the problem, but I dont know how to
> > explicitely tell Django to use my MEDIA_ROOT.
>
> Assuming that string is literally what you are using in your settings,
> replace the backslashes with forward slashes. \1 is interpreted as an octal
> escape sequence, which you do not want.
>
> Karen
> --http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: suspiciousoperation with file upload on django-cms

2011-03-23 Thread Karen Tracey
On Wed, Mar 23, 2011 at 3:26 PM, Tony  wrote:

> It uses my CMS_PAGE_MEDIA_PATH, which is 'C:\Users\Tony\Documents\My
> Music\1'.  Maybe this is the problem, but I dont know how to
> explicitely tell Django to use my MEDIA_ROOT.
>

Assuming that string is literally what you are using in your settings,
replace the backslashes with forward slashes. \1 is interpreted as an octal
escape sequence, which you do not want.

Karen
-- 
http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: suspiciousoperation with file upload on django-cms

2011-03-23 Thread Tony
It uses my CMS_PAGE_MEDIA_PATH, which is 'C:\Users\Tony\Documents\My
Music\1'.  Maybe this is the problem, but I dont know how to
explicitely tell Django to use my MEDIA_ROOT.

On Mar 22, 8:45 pm, Karen Tracey  wrote:
> On Tue, Mar 22, 2011 at 5:12 PM, Tony  wrote:
> >  I have looked at my media_url and
> > media_root, and played with them but I haven't been able to have any
> > success.
>
> MEDIA_URL isn't relevant for the problem you are reporting. MEDIA_ROOT is.
> It would help people help you if you shared what value you have been trying
> for MEDIA_ROOT.
>
> Karen
> --http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: suspiciousoperation with file upload on django-cms

2011-03-22 Thread Karen Tracey
On Tue, Mar 22, 2011 at 5:12 PM, Tony  wrote:

>  I have looked at my media_url and
> media_root, and played with them but I haven't been able to have any
> success.
>

MEDIA_URL isn't relevant for the problem you are reporting. MEDIA_ROOT is.
It would help people help you if you shared what value you have been trying
for MEDIA_ROOT.

Karen
-- 
http://tracey.org/kmt/

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



suspiciousoperation with file upload on django-cms

2011-03-22 Thread Tony
I am using django-cms for my project right now and I am using their
file and image plugins on my pages, but when I try to upload a file, I
get a suspiciousoperation error.  I have looked at my media_url and
media_root, and played with them but I haven't been able to have any
success.  There is also a django cms media root which I have played
with too.  I have gotten this error on the dev server as well as
apache.  I have set file upload permissions to 0644 as well (which was
recommended by others with similar problems).  All other media files
work properly.  Here is my traceback.


Environment:

Request Method: POST
Request URL: 
http://localhost:8000/admin/cms/page/1/edit-plugin/13/?popup=true_preview
Django Version: 1.2.4
Python Version: 2.7.1
Installed Applications:
['django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.sites',
 'django.contrib.messages',
 'django.contrib.admin',
 'django.contrib.admindocs',
 'menus',
 'mptt',
 'appmedia',
 'south',
 'cms.plugins.text',
 'cms.plugins.picture',
 'cms.plugins.link',
 'cms.plugins.file',
 'cms.plugins.snippet',
 'cms.plugins.googlemap',
 'publisher',
 'myproject.polls',
 'social_auth',
 'registration',
 'voting',
 'cms']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'cms.middleware.page.CurrentPageMiddleware',
 'cms.middleware.user.CurrentUserMiddleware',
 'cms.middleware.toolbar.ToolbarMiddleware',
 'cms.middleware.media.PlaceholderMediaMiddleware')


Traceback:
File "C:\Python27\lib\site-packages\django\core\handlers\base.py" in
get_response
  100. response = callback(request,
*callback_args, **callback_kwargs)
File "C:\Python27\lib\site-packages\django\utils\decorators.py" in
_wrapped_view
  76. response = view_func(request, *args,
**kwargs)
File "C:\Python27\lib\site-packages\django\views\decorators\cache.py"
in _wrapped_view_func
  78. response = view_func(request, *args, **kwargs)
File "C:\Python27\lib\site-packages\django\contrib\admin\sites.py" in
inner
  190. return view(request, *args, **kwargs)
File "C:\Python27\lib\site-packages\cms\admin\pageadmin.py" in
edit_plugin
  1239. response = plugin_admin.add_view(request)
File "C:\Python27\lib\site-packages\django\utils\decorators.py" in
_wrapper
  21. return decorator(bound_func)(*args, **kwargs)
File "C:\Python27\lib\site-packages\django\utils\decorators.py" in
_wrapped_view
  76. response = view_func(request, *args,
**kwargs)
File "C:\Python27\lib\site-packages\django\utils\decorators.py" in
bound_func
  17. return func(self, *args2, **kwargs2)
File "C:\Python27\lib\site-packages\django\db\transaction.py" in
_commit_on_success
  299. res = func(*args, **kw)
File "C:\Python27\lib\site-packages\django\contrib\admin\options.py"
in add_view
  821. self.save_model(request, new_object, form,
change=False)
File "C:\Python27\lib\site-packages\cms\plugin_base.py" in save_model
  169. return super(CMSPluginBase, self).save_model(request,
obj, form, change)
File "C:\Python27\lib\site-packages\django\contrib\admin\options.py"
in save_model
  623. obj.save()
File "C:\Python27\lib\site-packages\cms\models\pluginmodel.py" in save
  206. super(CMSPlugin, self).save()
File "C:\Python27\lib\site-packages\django\db\models\base.py" in save
  456. self.save_base(using=using, force_insert=force_insert,
force_update=force_update)
File "C:\Python27\lib\site-packages\django\db\models\base.py" in
save_base
  542. for f in meta.local_fields]
File "C:\Python27\lib\site-packages\django\db\models\fields\files.py"
in pre_save
  255. file.save(file.name, file, save=False)
File "C:\Python27\lib\site-packages\django\db\models\fields\files.py"
in save
  92. self.name = self.storage.save(name, content)
File "C:\Python27\lib\site-packages\django\core\files\storage.py" in
save
  47. name = self.get_available_name(name)
File "C:\Python27\lib\site-packages\django\core\files\storage.py" in
get_available_name
  73. while self.exists(name):
File "C:\Python27\lib\site-packages\django\core\files\storage.py" in
exists
  196. return os.path.exists(self.path(name))
File "C:\Python27\lib\site-packages\django\core\files\storage.py" in
path
  212. raise SuspiciousOperation("Attempted access to '%s'
denied." % name)

Exception Type: SuspiciousOperation at /admin/cms/page/1/edi

  1   2   >