Re: WYSIWYG/Rich Text Editor recommendations

2019-05-06 Thread Tim Johnson
* Joel Mathew  [190430 17:29]:
> Currently I'm using quill. It's easy to implement, and has all basic
> features.

 Joel - perhaps you could check out another thread I started:
 subject - "quill tries to import deprecated django.forms.util"
 
 What version of django are you using?

 thanks again

-- 
Tim Johnson
http://www.tj49.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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190507004739.GK2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Swatantra Kumar
Hi Tim,

As your requirement is of a WYSIWYG editor, I often use CKEditor javascript
library directly in my Django projects as I can't get any alternative which
can provide features such as image/attachment upload, link pages, etc which
are available with CKEditor.
Also, check this Django CKEditor plugin
https://github.com/django-ckeditor/django-ckeditor

Regards,
Swatantra

On Sat, May 4, 2019 at 9:28 PM Tim Johnson  wrote:

> * Tim Johnson  [190430 16:27]:
> > Using python 3.7.2 and django 2.1.5
> >
> > Production is in Ubuntu 16.04 and prospective deployment is likely
> > to be CentOS with same python/django.
> >
> > I'm a retired python developer.
> >
> > I'd welcome recommendations and/or caveats regarding  a stable
> > WYSIWIG "plugin".
>   Thanks to all for the recommendations. It will just be all the
>   more edifying for me to try both tinymce and quill.
>
>   cheers
> --
> Tim Johnson
> http://www.tj49.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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190504155745.GG2404%40mail.akwebsoft.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/CACxgST0N_TdUFxB%2B-9BW3hVgma_pt6kwrc9pCX5MPYiz3unN-w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-04 Thread Tim Johnson
* Tim Johnson  [190430 16:27]:
> Using python 3.7.2 and django 2.1.5
> 
> Production is in Ubuntu 16.04 and prospective deployment is likely
> to be CentOS with same python/django.
> 
> I'm a retired python developer.
> 
> I'd welcome recommendations and/or caveats regarding  a stable
> WYSIWIG "plugin".
  Thanks to all for the recommendations. It will just be all the
  more edifying for me to try both tinymce and quill.

  cheers
-- 
Tim Johnson
http://www.tj49.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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190504155745.GG2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-02 Thread Andréas Kühne
I would second for quill - the main thing with that editor is that it
doesn't store the HTML internally - this means that you can copy / paste
from word for example without all of the strange html that comes with that.
It is more restrictive than tinymce or the likes, but much better!

Regards,

Andréas


Den ons 1 maj 2019 kl 04:40 skrev Tim Johnson :

> * Joel Mathew  [190430 17:29]:
> > Currently I'm using quill. It's easy to implement, and has all basic
> > features.
>
>   Cool. Thanks for that Joel.
>
> > > I'd like to recreate the same functionality with django. I will need
> > > to be able to include embedded images.
>
> --
> Tim Johnson
> http://www.tj49.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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190501024004.GE2404%40mail.akwebsoft.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/CAK4qSCcPWBtE%3D2eF%3DMmGhreS5TbrF5Ogq7W-cg0%2B85UHtGO_dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-05-02 Thread Lance Haig

Hi Tim,

I used django-tinymce4-lite for my app

https://github.com/lhaig/usery

It works well from my perspective and gives a light editor.

Regards

Lance


On 5/1/19 2:17 AM, Tim Johnson wrote:

Using python 3.7.2 and django 2.1.5

Production is in Ubuntu 16.04 and prospective deployment is likely
to be CentOS with same python/django.

I'm a retired python developer.

I'd welcome recommendations and/or caveats regarding  a stable
WYSIWIG "plugin".

Much is available on google, but it is always edifying to hear
individual comments.

I currently publish on drupal using its ckeditor plugin. My common
method is to compose articles in LibreOffice, then copy and paste
into the editor. Works well, except that it IS drupal.

I'd like to recreate the same functionality with django. I will need
to be able to include embedded images.

TIA


--
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/d03fc05b-fb69-85ed-c1ed-652ea567925b%40gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Tim Johnson
* Joel Mathew  [190430 17:29]:
> Currently I'm using quill. It's easy to implement, and has all basic
> features.

  Cool. Thanks for that Joel.

> > I'd like to recreate the same functionality with django. I will need
> > to be able to include embedded images.

-- 
Tim Johnson
http://www.tj49.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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190501024004.GE2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Joel Mathew
Currently I'm using quill. It's easy to implement, and has all basic
features.
Sincerely yours,

 Joel G Mathew



On Wed, 1 May 2019 at 05:47, Tim Johnson  wrote:

> Using python 3.7.2 and django 2.1.5
>
> Production is in Ubuntu 16.04 and prospective deployment is likely
> to be CentOS with same python/django.
>
> I'm a retired python developer.
>
> I'd welcome recommendations and/or caveats regarding  a stable
> WYSIWIG "plugin".
>
> Much is available on google, but it is always edifying to hear
> individual comments.
>
> I currently publish on drupal using its ckeditor plugin. My common
> method is to compose articles in LibreOffice, then copy and paste
> into the editor. Works well, except that it IS drupal.
>
> I'd like to recreate the same functionality with django. I will need
> to be able to include embedded images.
>
> TIA
> --
> Tim
> http://www.tj49.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 https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/20190501001716.GD2404%40mail.akwebsoft.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/CAA%3Diw_9GFDrj4DT%3DrZg8UMZeXLj7iG%2Bcz8moe_RNZNfNHkTE%3Dw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


WYSIWYG/Rich Text Editor recommendations

2019-04-30 Thread Tim Johnson
Using python 3.7.2 and django 2.1.5

Production is in Ubuntu 16.04 and prospective deployment is likely
to be CentOS with same python/django.

I'm a retired python developer.

I'd welcome recommendations and/or caveats regarding  a stable
WYSIWIG "plugin".

Much is available on google, but it is always edifying to hear
individual comments.

I currently publish on drupal using its ckeditor plugin. My common
method is to compose articles in LibreOffice, then copy and paste
into the editor. Works well, except that it IS drupal.

I'd like to recreate the same functionality with django. I will need
to be able to include embedded images.

TIA
-- 
Tim 
http://www.tj49.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 https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/20190501001716.GD2404%40mail.akwebsoft.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-03 Thread PASCUAL Eric
As already requested earlier by other posters, please STOP this totally useless 
and sterile discussion.


As Gerald Brown wrote, the best editor is the one you feel the most productive 
and comfortable with. Full stop. Everybody has his own background, habits and 
tastes, hence there is nothing such as a "best editor".


My "best editor" is Vim. It's unlikely that this is the choice for the majority 
of people here. QED.


From: django-users@googlegroups.com  on behalf 
of ireoluwa fakeye 
Sent: Monday, September 3, 2018 12:28:42 PM
To: django-users@googlegroups.com
Subject: Re: text editor

Vs code

On Sun, 2 Sep 2018, 06:41 sankar ardhas, 
mailto:sankarard...@gmail.com>> wrote:

Hi to all,
Which is the best editor for django framework  in Ubuntu os 18.04

Get Outlook for Android<https://aka.ms/ghei36>




On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" 
mailto:jainronak...@gmail.com>> wrote:

Namaste !!

Dear ,

I have two models categories and Project.

 created like that :

class Category(models.Model):
categorys = models.ManyToManyField('Category',blank=True)
name = models.CharField(max_length=100)
created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)



class Meta:
verbose_name_plural = "Categories"

def __str__(self):
return self.name<http://self.name>

def __unicode__(self):
return self.categorys

class Project(models.Model):
categorys = models.ManyToManyField('Category',blank=True)
name = models.CharField(max_length=100)
description = models.CharField(max_length=100)
created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
photo = models.ImageField(upload_to="pictures")


def __str__(self):
return self.name<http://self.name>

def __unicode__(self):
return self.categorys

and Views I did here :

from web.models import Category,Project

class Portfolio(TemplateView):
template_name = "web/protfolio.html"

def post(self, request, *args, **kwargs):
context = self.get_context_data()
return super(TemplateView, self).render_to_response(context)

def portfolio(request):
  context = RequestContext(request)
  # Project_list = Project.objects.order_by('-likes')[:3]
  # context_dict = {'Project': project_list}
  # return render(template_name, context_dict, context
  brand_list = Category.objects.all()
  return render(template_name, {'brand_list' : brand_list}, context)

I need correct relationship both I mean project and categories. How can I do 
correct here ?
Note : I attached picture please analyse briefly.

How to do approch html page and   I want  the html(view) page should load from 
our db.
please give me quickly answer.
How can i do ?


Thanks
Ronak

--
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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto: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/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com<https://groups.google.com/d/msgid/django-users/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com?utm_medium=email&utm_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<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to 
django-users@googlegroups.com<mailto: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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.com<https://groups.google.com/d/msgid/django-users/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.com?utm_medium=email&utm_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

Re: text editor

2018-09-03 Thread ireoluwa fakeye
Vs code

On Sun, 2 Sep 2018, 06:41 sankar ardhas,  wrote:

>
> Hi to all,
> Which is the best editor for django framework  in Ubuntu os
> 18.04
>
> Get Outlook for Android 
>
>
>
>
> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"  > wrote:
>
> Namaste !!
>>
>> Dear ,
>>
>> I have two models categories and Project.
>>
>>  created like that :
>>
>> class Category(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>>
>>
>>
>> class Meta:
>> verbose_name_plural = "Categories"
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> class Project(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> description = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>> photo = models.ImageField(upload_to="pictures")
>>
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> *and Views I did here :*
>>
>> *from web.models import Category,Project*
>>
>> class Portfolio(TemplateView):
>> template_name = "web/protfolio.html"
>>
>> def post(self, request, *args, **kwargs):
>> context = self.get_context_data()
>> return super(TemplateView, self).render_to_response(context)
>>
>> def portfolio(request):
>>   context = RequestContext(request)
>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>   # context_dict = {'Project': project_list}
>>   # return render(template_name, context_dict, context
>>   brand_list = Category.objects.all()
>>   return render(template_name, {'brand_list' : brand_list},
>> context)
>>
>> *I need correct relationship both I mean project and categories. How can
>> I do correct here ? *
>> Note : I attached picture please analyse briefly.
>>
>> How to do approch html page and   I want  the html(view) page should load
>> from our db.
>> please give me quickly answer.
>> How can i do ?
>>
>>
>> Thanks
>> Ronak
>>
>> --
>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CAO87g13cEQdJ3Y6NA7qcant_WjrdUV34pvfO6OPMHPFVHchg_g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-03 Thread Gerald Brown
The best editor is the ONE that works BEST for YOU!!! Try several and 
then pick the one that YOU like the best.  Everyone has their personal 
favorites!!!



On Monday, 03 September, 2018 09:08 AM, Joel wrote:
One can carry on discussion about something as subjective as "best 
text editor" for days and still not be done. IMO, this is a silly 
question to be asking in a django group.


On Mon 3 Sep, 2018, 3:16 AM victor jack, <mailto:jags4rea...@gmail.com>> wrote:


More like vim and vs code are the best editors

On Sun, 2 Sep 2018 06:51 RONAK JAIN, mailto:jainronak...@gmail.com>> wrote:

Atom is best editor.

On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas,
mailto:sankarard...@gmail.com>> wrote:


Hi to all,
Which is the best editor for django framework in Ubuntu os
18.04

Get Outlook for Android <https://aka.ms/ghei36>




On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"
mailto:jainronak...@gmail.com>>
wrote:

Namaste !!

Dear ,

I have two models categories and Project.

 created like that :

class Category(models.Model):
    categorys =
models.ManyToManyField('Category',blank=True)
    name = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now=False,
auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)



    class Meta:
        verbose_name_plural = "Categories"

    def __str__(self):
        return self.name <http://self.name>

    def __unicode__(self):
        return self.categorys

class Project(models.Model):
    categorys =
models.ManyToManyField('Category',blank=True)
    name = models.CharField(max_length=100)
    description = models.CharField(max_length=100)
    created_at = models.DateTimeField(auto_now=False,
auto_now_add=True)
    updated_at = models.DateTimeField(auto_now=True)
    photo = models.ImageField(upload_to="pictures")


    def __str__(self):
        return self.name <http://self.name>

    def __unicode__(self):
        return self.categorys

*and Views I did here :*
*
*
*from web.models import Category,Project*

class Portfolio(TemplateView):
    template_name = "web/protfolio.html"

    def post(self, request, *args, **kwargs):
        context = self.get_context_data()
        return super(TemplateView,
self).render_to_response(context)
    def portfolio(request):
          context = RequestContext(request)
          # Project_list =
Project.objects.order_by('-likes')[:3]
          # context_dict = {'Project': project_list}
          # return render(template_name, context_dict,
context
          brand_list = Category.objects.all()
          return render(template_name, {'brand_list' :
brand_list}, context)

*I need correct relationship both I mean project and
categories. How can I do correct here ? *
Note : I attached picture please analyse briefly.

How to do approch html page and   I want  the
html(view) page should load from our db.
please give me quickly answer.
How can i do ?


Thanks
Ronak
-- 
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
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to
django-users@googlegroups.com
<mailto: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/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com

<ht

Re: text editor

2018-09-02 Thread Joel
One can carry on discussion about something as subjective as "best text
editor" for days and still not be done. IMO, this is a silly question to be
asking in a django group.

On Mon 3 Sep, 2018, 3:16 AM victor jack,  wrote:

> More like vim and vs code are the best editors
>
> On Sun, 2 Sep 2018 06:51 RONAK JAIN,  wrote:
>
>> Atom is best editor.
>>
>> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
>> wrote:
>>
>>>
>>> Hi to all,
>>> Which is the best editor for django framework  in Ubuntu os
>>> 18.04
>>>
>>> Get Outlook for Android <https://aka.ms/ghei36>
>>>
>>>
>>>
>>>
>>> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" <
>>> jainronak...@gmail.com> wrote:
>>>
>>> Namaste !!
>>>>
>>>> Dear ,
>>>>
>>>> I have two models categories and Project.
>>>>
>>>>  created like that :
>>>>
>>>> class Category(models.Model):
>>>> categorys = models.ManyToManyField('Category',blank=True)
>>>> name = models.CharField(max_length=100)
>>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>>> updated_at = models.DateTimeField(auto_now=True)
>>>>
>>>>
>>>>
>>>> class Meta:
>>>> verbose_name_plural = "Categories"
>>>>
>>>> def __str__(self):
>>>> return self.name
>>>>
>>>> def __unicode__(self):
>>>> return self.categorys
>>>>
>>>> class Project(models.Model):
>>>> categorys = models.ManyToManyField('Category',blank=True)
>>>> name = models.CharField(max_length=100)
>>>> description = models.CharField(max_length=100)
>>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>>> updated_at = models.DateTimeField(auto_now=True)
>>>> photo = models.ImageField(upload_to="pictures")
>>>>
>>>>
>>>> def __str__(self):
>>>> return self.name
>>>>
>>>> def __unicode__(self):
>>>> return self.categorys
>>>>
>>>> *and Views I did here :*
>>>>
>>>> *from web.models import Category,Project*
>>>>
>>>> class Portfolio(TemplateView):
>>>> template_name = "web/protfolio.html"
>>>>
>>>> def post(self, request, *args, **kwargs):
>>>> context = self.get_context_data()
>>>> return super(TemplateView, self).render_to_response(context)
>>>>
>>>> def portfolio(request):
>>>>   context = RequestContext(request)
>>>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>>>   # context_dict = {'Project': project_list}
>>>>   # return render(template_name, context_dict, context
>>>>   brand_list = Category.objects.all()
>>>>   return render(template_name, {'brand_list' : brand_list},
>>>> context)
>>>>
>>>> *I need correct relationship both I mean project and categories. How
>>>> can I do correct here ? *
>>>> Note : I attached picture please analyse briefly.
>>>>
>>>> How to do approch html page and   I want  the html(view) page should
>>>> load from our db.
>>>> please give me quickly answer.
>>>> How can i do ?
>>>>
>>>>
>>>> Thanks
>>>> Ronak
>>>>
>>>> --
>>>> 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/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/django-users/63ecd6f1-411a-4581-b245-296efbd49303%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>

Re: text editor

2018-09-02 Thread victor jack
More like vim and vs code are the best editors

On Sun, 2 Sep 2018 06:51 RONAK JAIN,  wrote:

> Atom is best editor.
>
> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
> wrote:
>
>>
>> Hi to all,
>> Which is the best editor for django framework  in Ubuntu os
>> 18.04
>>
>> Get Outlook for Android 
>>
>>
>>
>>
>> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" <
>> jainronak...@gmail.com> wrote:
>>
>> Namaste !!
>>>
>>> Dear ,
>>>
>>> I have two models categories and Project.
>>>
>>>  created like that :
>>>
>>> class Category(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>>
>>>
>>>
>>> class Meta:
>>> verbose_name_plural = "Categories"
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> class Project(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> description = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>> photo = models.ImageField(upload_to="pictures")
>>>
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> *and Views I did here :*
>>>
>>> *from web.models import Category,Project*
>>>
>>> class Portfolio(TemplateView):
>>> template_name = "web/protfolio.html"
>>>
>>> def post(self, request, *args, **kwargs):
>>> context = self.get_context_data()
>>> return super(TemplateView, self).render_to_response(context)
>>>
>>> def portfolio(request):
>>>   context = RequestContext(request)
>>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>>   # context_dict = {'Project': project_list}
>>>   # return render(template_name, context_dict, context
>>>   brand_list = Category.objects.all()
>>>   return render(template_name, {'brand_list' : brand_list},
>>> context)
>>>
>>> *I need correct relationship both I mean project and categories. How can
>>> I do correct here ? *
>>> Note : I attached picture please analyse briefly.
>>>
>>> How to do approch html page and   I want  the html(view) page should
>>> load from our db.
>>> please give me quickly answer.
>>> How can i do ?
>>>
>>>
>>> Thanks
>>> Ronak
>>>
>>> --
>>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this messag

Re: text editor

2018-09-02 Thread gilwell muhati
Hello Sankaradhas,

Kindly use https://ckeditor.com/

https://www.youtube.com/watch?v=L6y6cn1XUfw

All the best




*Regards,Gilwell Muhati | +254 710 739 116 | *
*~~“The mind is its own place and in itself can make a heaven of hell, a
hell of heaven…”~~John Milton *


On Sun, Sep 2, 2018 at 8:41 AM sankar ardhas  wrote:

>
> Hi to all,
> Which is the best editor for django framework  in Ubuntu os
> 18.04
>
> Get Outlook for Android 
>
>
>
>
> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"  > wrote:
>
> Namaste !!
>>
>> Dear ,
>>
>> I have two models categories and Project.
>>
>>  created like that :
>>
>> class Category(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>>
>>
>>
>> class Meta:
>> verbose_name_plural = "Categories"
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> class Project(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> description = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>> photo = models.ImageField(upload_to="pictures")
>>
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> *and Views I did here :*
>>
>> *from web.models import Category,Project*
>>
>> class Portfolio(TemplateView):
>> template_name = "web/protfolio.html"
>>
>> def post(self, request, *args, **kwargs):
>> context = self.get_context_data()
>> return super(TemplateView, self).render_to_response(context)
>>
>> def portfolio(request):
>>   context = RequestContext(request)
>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>   # context_dict = {'Project': project_list}
>>   # return render(template_name, context_dict, context
>>   brand_list = Category.objects.all()
>>   return render(template_name, {'brand_list' : brand_list},
>> context)
>>
>> *I need correct relationship both I mean project and categories. How can
>> I do correct here ? *
>> Note : I attached picture please analyse briefly.
>>
>> How to do approch html page and   I want  the html(view) page should load
>> from our db.
>> please give me quickly answer.
>> How can i do ?
>>
>>
>> Thanks
>> Ronak
>>
>> --
>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CALO4FhFh%3DbGG-f2L3peHkEcfNcXuGzyyZ%2BcDVdRGSW8ek4xHoA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Ari Davidow
>why?

On Sun, Sep 2, 2018, 1:51 AM RONAK JAIN  wrote:

> Atom is best editor.
>
> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
> wrote:
>
>>
>> Hi to all,
>> Which is the best editor for django framework  in Ubuntu os
>> 18.04
>>
>> Get Outlook for Android 
>>
>>
>>
>>
>> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" <
>> jainronak...@gmail.com> wrote:
>>
>> Namaste !!
>>>
>>> Dear ,
>>>
>>> I have two models categories and Project.
>>>
>>>  created like that :
>>>
>>> class Category(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>>
>>>
>>>
>>> class Meta:
>>> verbose_name_plural = "Categories"
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> class Project(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> description = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>> photo = models.ImageField(upload_to="pictures")
>>>
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> *and Views I did here :*
>>>
>>> *from web.models import Category,Project*
>>>
>>> class Portfolio(TemplateView):
>>> template_name = "web/protfolio.html"
>>>
>>> def post(self, request, *args, **kwargs):
>>> context = self.get_context_data()
>>> return super(TemplateView, self).render_to_response(context)
>>>
>>> def portfolio(request):
>>>   context = RequestContext(request)
>>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>>   # context_dict = {'Project': project_list}
>>>   # return render(template_name, context_dict, context
>>>   brand_list = Category.objects.all()
>>>   return render(template_name, {'brand_list' : brand_list},
>>> context)
>>>
>>> *I need correct relationship both I mean project and categories. How can
>>> I do correct here ? *
>>> Note : I attached picture please analyse briefly.
>>>
>>> How to do approch html page and   I want  the html(view) page should
>>> load from our db.
>>> please give me quickly answer.
>>> How can i do ?
>>>
>>>
>>> Thanks
>>> Ronak
>>>
>>> --
>>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Go

Re: text editor

2018-09-02 Thread RONAK JAIN
okay, Thanks


On Sun, Sep 2, 2018 at 7:29 PM Kasper Laudrup  wrote:

> Hi Ronak,
>
> On 02/09/2018 14.57, RONAK JAIN wrote:
> > okay Thanks
> > *Portfolio Page *
> > There are portfolio images and categories above it. We want to do the
> same
> > So new model is required Category  and a relationship between Category
> and
> > projects So the portfolio page should load from our db*.*
> > *1.   How to make relationship category and project ?*
> > *2. How can I load from our db ?*
> >
>
> I'm sorry, but I really don't understand what your issue is.
>
> You can definitely make a relationship between your Category and Project
> model.
>
> You can load from you database the same way you would use any other
> database model in Django.
>
> I'm afraid I cannot help you. Maybe someone else can understand what you
> are trying to achieve and what your challenges are.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/987034ad-bd86-fe7c-f998-8926ae6c9fdb%40stacktrace.dk
> .
> 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/CA%2BAqMUeOU2HK2Y34opfDW2GD497hp5cmpqzhi4i87-v2z%2BEMBA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup

Hi Ronak,

On 02/09/2018 14.57, RONAK JAIN wrote:

okay Thanks
*Portfolio Page *
There are portfolio images and categories above it. We want to do the same
So new model is required Category  and a relationship between Category and
projects So the portfolio page should load from our db*.*
*1.   How to make relationship category and project ?*
*2. How can I load from our db ?*



I'm sorry, but I really don't understand what your issue is.

You can definitely make a relationship between your Category and Project 
model.


You can load from you database the same way you would use any other 
database model in Django.


I'm afraid I cannot help you. Maybe someone else can understand what you 
are trying to achieve and what your challenges are.


Kind regards,

Kasper Laudrup

--
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/987034ad-bd86-fe7c-f998-8926ae6c9fdb%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread vishal sharma
No error occurred but Script failed to generate o/p in the o/p dir.

On Sun, 2 Sep 2018 at 6:19 PM, Kasper Laudrup  wrote:

> Hi Vishal,
>
> On 02/09/2018 14.26, vishal sharma wrote:
> > I am using Mocha VR object removing tool on Django. I am calling tool API
> > and removing the object from IDLE that works fine but when I am running
> > same script inside Django it is not removing the object.
> >
> >
>
> That's quite relevant information.
>
> I have no experience with Mocha VR (haven't even heard of it before),
> but try to post the script you are trying to run, describe how you are
> "running it inside Django" and any errors you might be getting. Then I'm
> sure someone will be willing to try and help you.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/f50cfd54-5731-83f8-4e4e-5324f59d7c66%40stacktrace.dk
> .
> 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/CADdVhnaXhgz%3DJ_t_tA%2BM7D%3DfLGwa0kzZP5ERxPqxrJXLi9kWwQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup

Hi Vishal,

On 02/09/2018 14.26, vishal sharma wrote:

I am using Mocha VR object removing tool on Django. I am calling tool API
and removing the object from IDLE that works fine but when I am running
same script inside Django it is not removing the object.




That's quite relevant information.

I have no experience with Mocha VR (haven't even heard of it before), 
but try to post the script you are trying to run, describe how you are 
"running it inside Django" and any errors you might be getting. Then I'm 
sure someone will be willing to try and help you.


Kind regards,

Kasper Laudrup

--
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/f50cfd54-5731-83f8-4e4e-5324f59d7c66%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup

Hi Ronak,

On 02/09/2018 14.26, RONAK JAIN wrote:

Hello Kasper


can I share me my screen ?



What do you mean? If I want to start an interactive debugging session 
with you? Then the answer is no.


If you have any problems with using Django feel free to post them here. 
Describe what you are trying to achieve, what you have done, relevant 
code snippets and any error you are getting.


Then I'm sure there a many willing to help you.

Also please don't hijack completely unrelated threads when you ask a 
question.


Kind regards,

Kasper Laudrup

--
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/dd5eaad9-ec0c-e38f-5883-65f817deb6ea%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread vishal sharma
I am using Mocha VR object removing tool on Django. I am calling tool API
and removing the object from IDLE that works fine but when I am running
same script inside Django it is not removing the object.



On Sun, 2 Sep 2018 at 5:51 PM, Kasper Laudrup  wrote:

> Hi Vishal,
>
> On 02/09/2018 13.48, vishal sharma wrote:
> > Hi All,
> > How to upload files back to node server. I am new in ApI I am using the
> > Django where I am downloading files from node server and will process
> > videos files once processing will be done will upload videos back to
> server.
>
> So, if I understand correctly, you are downloading some video files from
> a node.js server, processing them and now want to upload them again?
>
> What does Django have to do with that? Why even involve Django in that,
> it seems completely unrelated. Just write a Python (or whatever) script
> for that.
>
> > Also, How to work with internal files in Django I am running my script
> > locally it is working fine but when I am running these script in Django I
> > am getting an error.
>
> I have no idea what you mean by "internal files". What script are you
> trying to run, what do you mean by "running it in Django"? What error
> are you getting?
>
> You need to be a lot more specific if you want help.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/f5b518f0-3d10-9846-3c05-e5b74f301230%40stacktrace.dk
> .
> 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/CADdVhnYcdUmtjxQPUA6oUS9_ekQ1bUbNPVUBfe4d%3DsZG4oXQng%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread RONAK JAIN
Hello Kasper


can I share me my screen ?

Thanks
Ronak Jain

On Sun, Sep 2, 2018 at 5:51 PM Kasper Laudrup  wrote:

> Hi Vishal,
>
> On 02/09/2018 13.48, vishal sharma wrote:
> > Hi All,
> > How to upload files back to node server. I am new in ApI I am using the
> > Django where I am downloading files from node server and will process
> > videos files once processing will be done will upload videos back to
> server.
>
> So, if I understand correctly, you are downloading some video files from
> a node.js server, processing them and now want to upload them again?
>
> What does Django have to do with that? Why even involve Django in that,
> it seems completely unrelated. Just write a Python (or whatever) script
> for that.
>
> > Also, How to work with internal files in Django I am running my script
> > locally it is working fine but when I am running these script in Django I
> > am getting an error.
>
> I have no idea what you mean by "internal files". What script are you
> trying to run, what do you mean by "running it in Django"? What error
> are you getting?
>
> You need to be a lot more specific if you want help.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/f5b518f0-3d10-9846-3c05-e5b74f301230%40stacktrace.dk
> .
> 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/CA%2BAqMUeKV0isL3uTLSWLKG-Cs_bPMhfP06HxGmYPfjw9tG7Meg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup

Hi Vishal,

On 02/09/2018 13.48, vishal sharma wrote:

Hi All,
How to upload files back to node server. I am new in ApI I am using the
Django where I am downloading files from node server and will process
videos files once processing will be done will upload videos back to server.


So, if I understand correctly, you are downloading some video files from 
a node.js server, processing them and now want to upload them again?


What does Django have to do with that? Why even involve Django in that, 
it seems completely unrelated. Just write a Python (or whatever) script 
for that.



Also, How to work with internal files in Django I am running my script
locally it is working fine but when I am running these script in Django I
am getting an error.


I have no idea what you mean by "internal files". What script are you 
trying to run, what do you mean by "running it in Django"? What error 
are you getting?


You need to be a lot more specific if you want help.

Kind regards,

Kasper Laudrup

--
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/f5b518f0-3d10-9846-3c05-e5b74f301230%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread vishal sharma
Hi All,
How to upload files back to node server. I am new in ApI I am using the
Django where I am downloading files from node server and will process
videos files once processing will be done will upload videos back to server.
Also, How to work with internal files in Django I am running my script
locally it is working fine but when I am running these script in Django I
am getting an error.
Can somebody help and advise ?

Thanks,
Vishal

On Sun, 2 Sep 2018 at 5:13 PM, Kasper Laudrup  wrote:

> Hi Ronak,
>
> On 02/09/2018 11.48, RONAK JAIN wrote:
> > can you come on Skype or teamviewer.
> >
>
> No, why?
>
> So we can continue a flamewar over which text editor is the best? :-)
>
> Mentioning Emacs was mostly a joke. Which editor is the "best" is highly
> subjective.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/8ab43757-62a8-2b8a-99e5-25091088e8b3%40stacktrace.dk
> .
> 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/CADdVhnYn3k2vgGPtFvtmtX8h0fCPw97G9_LZutq4bbLzE7FRwA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup

Hi Ronak,

On 02/09/2018 11.48, RONAK JAIN wrote:

can you come on Skype or teamviewer.



No, why?

So we can continue a flamewar over which text editor is the best? :-)

Mentioning Emacs was mostly a joke. Which editor is the "best" is highly 
subjective.


Kind regards,

Kasper Laudrup

--
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/8ab43757-62a8-2b8a-99e5-25091088e8b3%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Wira Bhakti
Vim is good editor

On Sun, 2 Sep 2018 16:34 Kasper Laudrup,  wrote:

>
>
> On 02/09/2018 07.50, RONAK JAIN wrote:
> > Atom is best editor.
> >
>
> No, no, no. Everyone knows emacs is the best editor.
>
> --
> 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/5cd2fd77-b0f7-49c4-c2dc-74f87f17609c%40stacktrace.dk
> .
> 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/CAJko4_q-Ls3vHqyS3U%3DC6YAHzgobkU2Z4GsAiYryHNc5dS1Zzg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread 'Vinod Kumar' via Django users
Pycharm is best for Django..

On Sun, Sep 2, 2018, 11:11 AM sankar ardhas  wrote:

>
> Hi to all,
> Which is the best editor for django framework  in Ubuntu os
> 18.04
>
> Get Outlook for Android 
>
>
>
>
> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"  > wrote:
>
> Namaste !!
>>
>> Dear ,
>>
>> I have two models categories and Project.
>>
>>  created like that :
>>
>> class Category(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>>
>>
>>
>> class Meta:
>> verbose_name_plural = "Categories"
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> class Project(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> description = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>> photo = models.ImageField(upload_to="pictures")
>>
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> *and Views I did here :*
>>
>> *from web.models import Category,Project*
>>
>> class Portfolio(TemplateView):
>> template_name = "web/protfolio.html"
>>
>> def post(self, request, *args, **kwargs):
>> context = self.get_context_data()
>> return super(TemplateView, self).render_to_response(context)
>>
>> def portfolio(request):
>>   context = RequestContext(request)
>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>   # context_dict = {'Project': project_list}
>>   # return render(template_name, context_dict, context
>>   brand_list = Category.objects.all()
>>   return render(template_name, {'brand_list' : brand_list},
>> context)
>>
>> *I need correct relationship both I mean project and categories. How can
>> I do correct here ? *
>> Note : I attached picture please analyse briefly.
>>
>> How to do approch html page and   I want  the html(view) page should load
>> from our db.
>> please give me quickly answer.
>> How can i do ?
>>
>>
>> Thanks
>> Ronak
>>
>> --
>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 









This e-mail and all attachments are intended solely for use by
the intended 
recipient and may contain confidential / proprietary information
of 
KiwiTech, LLC, subject to important disclaimers and conditions including

restrictions on the use, disclosure, transfer or export of such 
information. If you have received this
message in error or are not the 
named recipient(s), please immediately notify
the sender at the telephone 
number stated above or by reply e-mail and delete
this e-mail from your 
computer





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

Re: text editor

2018-09-02 Thread RONAK JAIN
can you come on Skype or teamviewer.

Thanks
Ronak Jain

On Sun, Sep 2, 2018 at 3:04 PM Kasper Laudrup  wrote:

>
>
> On 02/09/2018 07.50, RONAK JAIN wrote:
> > Atom is best editor.
> >
>
> No, no, no. Everyone knows emacs is the best editor.
>
> --
> 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/5cd2fd77-b0f7-49c4-c2dc-74f87f17609c%40stacktrace.dk
> .
> 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/CA%2BAqMUcp3KKdy87pgoqTzXoVZEFnvYaLr_gRJQK4dmyk9KUQOg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-02 Thread Kasper Laudrup




On 02/09/2018 07.50, RONAK JAIN wrote:

Atom is best editor.



No, no, no. Everyone knows emacs is the best editor.

--
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/5cd2fd77-b0f7-49c4-c2dc-74f87f17609c%40stacktrace.dk.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-01 Thread RONAK JAIN
Both of the same atom is best and option sublime or Pycharm.


Thanks
Ronak Jain

On Sun, 2 Sep 2018, 11:25 a.m. sankar ardhas, 
wrote:

> Thanks for response.. for Windows?
>
>
> On Sep 2, 2018 11:21 AM, "RONAK JAIN"  wrote:
>
>> Atom is best editor.
>>
>> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
>> wrote:
>>
>>>
>>> Hi to all,
>>> Which is the best editor for django framework  in Ubuntu os
>>> 18.04
>>>
>>> Get Outlook for Android 
>>>
>>>
>>>
>>>
>>> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" <
>>> jainronak...@gmail.com> wrote:
>>>
>>> Namaste !!

 Dear ,

 I have two models categories and Project.

  created like that :

 class Category(models.Model):
 categorys = models.ManyToManyField('Category',blank=True)
 name = models.CharField(max_length=100)
 created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
 updated_at = models.DateTimeField(auto_now=True)



 class Meta:
 verbose_name_plural = "Categories"

 def __str__(self):
 return self.name

 def __unicode__(self):
 return self.categorys

 class Project(models.Model):
 categorys = models.ManyToManyField('Category',blank=True)
 name = models.CharField(max_length=100)
 description = models.CharField(max_length=100)
 created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
 updated_at = models.DateTimeField(auto_now=True)
 photo = models.ImageField(upload_to="pictures")


 def __str__(self):
 return self.name

 def __unicode__(self):
 return self.categorys

 *and Views I did here :*

 *from web.models import Category,Project*

 class Portfolio(TemplateView):
 template_name = "web/protfolio.html"

 def post(self, request, *args, **kwargs):
 context = self.get_context_data()
 return super(TemplateView, self).render_to_response(context)

 def portfolio(request):
   context = RequestContext(request)
   # Project_list = Project.objects.order_by('-likes')[:3]
   # context_dict = {'Project': project_list}
   # return render(template_name, context_dict, context
   brand_list = Category.objects.all()
   return render(template_name, {'brand_list' : brand_list},
 context)

 *I need correct relationship both I mean project and categories. How
 can I do correct here ? *
 Note : I attached picture please analyse briefly.

 How to do approch html page and   I want  the html(view) page should
 load from our db.
 please give me quickly answer.
 How can i do ?


 Thanks
 Ronak

 --
 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%40mail.gmail.

Re: text editor

2018-09-01 Thread sankar ardhas
Thanks for response.. for Windows?


On Sep 2, 2018 11:21 AM, "RONAK JAIN"  wrote:

> Atom is best editor.
>
> On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
> wrote:
>
>>
>> Hi to all,
>> Which is the best editor for django framework  in Ubuntu os
>> 18.04
>>
>> Get Outlook for Android 
>>
>>
>>
>>
>> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN" <
>> jainronak...@gmail.com> wrote:
>>
>> Namaste !!
>>>
>>> Dear ,
>>>
>>> I have two models categories and Project.
>>>
>>>  created like that :
>>>
>>> class Category(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>>
>>>
>>>
>>> class Meta:
>>> verbose_name_plural = "Categories"
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> class Project(models.Model):
>>> categorys = models.ManyToManyField('Category',blank=True)
>>> name = models.CharField(max_length=100)
>>> description = models.CharField(max_length=100)
>>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>>> updated_at = models.DateTimeField(auto_now=True)
>>> photo = models.ImageField(upload_to="pictures")
>>>
>>>
>>> def __str__(self):
>>> return self.name
>>>
>>> def __unicode__(self):
>>> return self.categorys
>>>
>>> *and Views I did here :*
>>>
>>> *from web.models import Category,Project*
>>>
>>> class Portfolio(TemplateView):
>>> template_name = "web/protfolio.html"
>>>
>>> def post(self, request, *args, **kwargs):
>>> context = self.get_context_data()
>>> return super(TemplateView, self).render_to_response(context)
>>>
>>> def portfolio(request):
>>>   context = RequestContext(request)
>>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>>   # context_dict = {'Project': project_list}
>>>   # return render(template_name, context_dict, context
>>>   brand_list = Category.objects.all()
>>>   return render(template_name, {'brand_list' : brand_list},
>>> context)
>>>
>>> *I need correct relationship both I mean project and categories. How can
>>> I do correct here ? *
>>> Note : I attached picture please analyse briefly.
>>>
>>> How to do approch html page and   I want  the html(view) page should
>>> load from our db.
>>> please give me quickly answer.
>>> How can i do ?
>>>
>>>
>>> Thanks
>>> Ronak
>>>
>>> --
>>> 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/63ecd6f1-411a-4581-b245-296efbd49303%
>>> 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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%
>> 40mail.outlook.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/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%
> 2BxSxQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this m

Re: text editor

2018-09-01 Thread RONAK JAIN
Atom is best editor.

On Sun, 2 Sep 2018, 11:11 a.m. sankar ardhas, 
wrote:

>
> Hi to all,
> Which is the best editor for django framework  in Ubuntu os
> 18.04
>
> Get Outlook for Android 
>
>
>
>
> On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"  > wrote:
>
> Namaste !!
>>
>> Dear ,
>>
>> I have two models categories and Project.
>>
>>  created like that :
>>
>> class Category(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>>
>>
>>
>> class Meta:
>> verbose_name_plural = "Categories"
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> class Project(models.Model):
>> categorys = models.ManyToManyField('Category',blank=True)
>> name = models.CharField(max_length=100)
>> description = models.CharField(max_length=100)
>> created_at = models.DateTimeField(auto_now=False, auto_now_add=True)
>> updated_at = models.DateTimeField(auto_now=True)
>> photo = models.ImageField(upload_to="pictures")
>>
>>
>> def __str__(self):
>> return self.name
>>
>> def __unicode__(self):
>> return self.categorys
>>
>> *and Views I did here :*
>>
>> *from web.models import Category,Project*
>>
>> class Portfolio(TemplateView):
>> template_name = "web/protfolio.html"
>>
>> def post(self, request, *args, **kwargs):
>> context = self.get_context_data()
>> return super(TemplateView, self).render_to_response(context)
>>
>> def portfolio(request):
>>   context = RequestContext(request)
>>   # Project_list = Project.objects.order_by('-likes')[:3]
>>   # context_dict = {'Project': project_list}
>>   # return render(template_name, context_dict, context
>>   brand_list = Category.objects.all()
>>   return render(template_name, {'brand_list' : brand_list},
>> context)
>>
>> *I need correct relationship both I mean project and categories. How can
>> I do correct here ? *
>> Note : I attached picture please analyse briefly.
>>
>> How to do approch html page and   I want  the html(view) page should load
>> from our db.
>> please give me quickly answer.
>> How can i do ?
>>
>>
>> Thanks
>> Ronak
>>
>> --
>> 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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.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/CA%2BAqMUcMUft6Wfa_YUzhRshp4vDF4fT5UxfUfUh2XeazH%2BxSxQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: text editor

2018-09-01 Thread sankar ardhas



Hi to all, 


    Which is the best editor for django framework  in Ubuntu os 18.04




Get Outlook for Android







On Sun, Sep 2, 2018 at 1:46 AM +0530, "RONAK JAIN"  
wrote:










Namaste !!
Dear ,
I have two models categories and Project.
 created like that :
class Category(models.Model):    categorys = 
models.ManyToManyField('Category',blank=True)    name = 
models.CharField(max_length=100)    created_at = 
models.DateTimeField(auto_now=False, auto_now_add=True)    updated_at = 
models.DateTimeField(auto_now=True)


    class Meta:        verbose_name_plural = "Categories"
    def __str__(self):        return self.name
    def __unicode__(self):        return self.categorys
class Project(models.Model):    categorys = 
models.ManyToManyField('Category',blank=True)    name = 
models.CharField(max_length=100)    description = 
models.CharField(max_length=100)    created_at = 
models.DateTimeField(auto_now=False, auto_now_add=True)    updated_at = 
models.DateTimeField(auto_now=True)    photo = 
models.ImageField(upload_to="pictures")

    def __str__(self):        return self.name
    def __unicode__(self):        return self.categorys
and Views I did here :
from web.models import Category,Project
class Portfolio(TemplateView):    template_name = "web/protfolio.html"
    def post(self, request, *args, **kwargs):        context = 
self.get_context_data()        return super(TemplateView, 
self).render_to_response(context)        def portfolio(request):          
context = RequestContext(request)          # Project_list = 
Project.objects.order_by('-likes')[:3]          # context_dict = {'Project': 
project_list}          # return render(template_name, context_dict, context     
     brand_list = Category.objects.all()          return render(template_name, 
{'brand_list' : brand_list}, context)
I need correct relationship both I mean project and categories. How can I do 
correct here ? Note : I attached picture please analyse briefly.
How to do approch html page and   I want  the html(view) page should load from 
our db.please give me quickly answer.How can i do ?

ThanksRonak





-- 

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/63ecd6f1-411a-4581-b245-296efbd49303%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/39ABAA35669F59A4.eb8de1ab-f7fe-4f09-ac86-ab24def151d1%40mail.outlook.com.
For more options, visit https://groups.google.com/d/optout.


Re: rich text editor

2013-07-18 Thread Andre Terra
You're welcome! We're here to help. Glad to be of service.


Cheers,
AT

On Thu, Jul 18, 2013 at 3:59 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Thank you so much!!! I will try it for sure! Thanks again!
>
>
> On Fri, Jul 19, 2013 at 12:15 AM, Andre Terra wrote:
>
>> It seems you are asking two completely unrelated questions:
>> 1. to allow users to add some form of tags into their code for richer
>> submissions.
>> 2. to have a different css for each user
>>
>> One possible answer to #1 is BBCode, as I described. Question #2 is
>> something altogether. Do you want each user message to appear differently?
>> Is that supposed to be customizable to the degree of css? Are you just
>> switching colors? How much are you going to let the user style their
>> messages? BBcode should be anough to allow them to add bold, italics,
>> links, pictures, etc. If you just want that, there's no need to have a
>> separate css for each user. Instead, just follow my instructions below.
>>
>> I'm not sure how django-bbcode styles the rendered text, but my
>> step-by-step investigation would be:
>>
>> 1. Install django-bbcode
>> 2. Make sure you have a view somewhere with an input and go to that URL.
>> This would possibly be a very simple view with a textarea where you'd type
>> something in and see the rendered output.
>> 3. Send the textarea back to the template in a variable (called, say,
>> stuff) and render it with {% bbcode stuff %} in the template.
>> 4. Use firebug, google chrome's inspector/developer tools to inspect the
>> css that's applied to the rendered text
>> 5. Make changes to yourcurrentcssfile.css to include styling for the
>> BBCode.
>> 6. GOTO 2
>> 7. ???
>> 8. Profit!!!
>>
>> I hope I understood your question well enough. Good luck!
>>
>> Cheers,
>> AT
>>
>> On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
>> kakararunachalserv...@gmail.com> wrote:
>>
>>> Thanks a lot! Was waiting for an answer. Just one more question though,
>>> I didnt understood much in the link you gave me. Its that, suppose I
>>> included it where users can post, will each post require another css, or
>>> something else. Please explain.
>>>  Liked "Impossible is nothing™"
>>>
>>>
>>> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra wrote:
>>>
>>>> Impossible is nothing™, but I don't see the benefits of combining rich
>>>> text with social networking. Things like BBCode[0] usually offer a better
>>>> trade-off between flexibility/usability/maintenance. Based on a quick
>>>> google search, it seems there are solutions tailored for use with Django
>>>> [1][2]
>>>>
>>>> [0] http://en.wikipedia.org/wiki/BBCode
>>>> [1] https://github.com/marcinn/django-bbcode full solution
>>>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be
>>>> a place to start in case you want to rollout your own.
>>>>
>>>>
>>>>  Cheers,
>>>> AT
>>>>
>>>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>>>> kakararunachalserv...@gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>> Just a thought, can a rich text editor be integrated to a social
>>>>> networking site. Or should every user have a css each? Its just a thought,
>>>>> was just wondering but would be glad if any of you could advice me how to
>>>>> if its possible.
>>>>> 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.
>>>>> 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+unsu

Re: rich text editor

2013-07-18 Thread Kakar Arunachal Service
Thank you so much!!! I will try it for sure! Thanks again!


On Fri, Jul 19, 2013 at 12:15 AM, Andre Terra  wrote:

> It seems you are asking two completely unrelated questions:
> 1. to allow users to add some form of tags into their code for richer
> submissions.
> 2. to have a different css for each user
>
> One possible answer to #1 is BBCode, as I described. Question #2 is
> something altogether. Do you want each user message to appear differently?
> Is that supposed to be customizable to the degree of css? Are you just
> switching colors? How much are you going to let the user style their
> messages? BBcode should be anough to allow them to add bold, italics,
> links, pictures, etc. If you just want that, there's no need to have a
> separate css for each user. Instead, just follow my instructions below.
>
> I'm not sure how django-bbcode styles the rendered text, but my
> step-by-step investigation would be:
>
> 1. Install django-bbcode
> 2. Make sure you have a view somewhere with an input and go to that URL.
> This would possibly be a very simple view with a textarea where you'd type
> something in and see the rendered output.
> 3. Send the textarea back to the template in a variable (called, say,
> stuff) and render it with {% bbcode stuff %} in the template.
> 4. Use firebug, google chrome's inspector/developer tools to inspect the
> css that's applied to the rendered text
> 5. Make changes to yourcurrentcssfile.css to include styling for the
> BBCode.
> 6. GOTO 2
> 7. ???
> 8. Profit!!!
>
> I hope I understood your question well enough. Good luck!
>
> Cheers,
> AT
>
> On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
> kakararunachalserv...@gmail.com> wrote:
>
>> Thanks a lot! Was waiting for an answer. Just one more question though, I
>> didnt understood much in the link you gave me. Its that, suppose I included
>> it where users can post, will each post require another css, or something
>> else. Please explain.
>>  Liked "Impossible is nothing™"
>>
>>
>> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra wrote:
>>
>>> Impossible is nothing™, but I don't see the benefits of combining rich
>>> text with social networking. Things like BBCode[0] usually offer a better
>>> trade-off between flexibility/usability/maintenance. Based on a quick
>>> google search, it seems there are solutions tailored for use with Django
>>> [1][2]
>>>
>>> [0] http://en.wikipedia.org/wiki/BBCode
>>> [1] https://github.com/marcinn/django-bbcode full solution
>>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be
>>> a place to start in case you want to rollout your own.
>>>
>>>
>>>  Cheers,
>>> AT
>>>
>>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>>> kakararunachalserv...@gmail.com> wrote:
>>>
>>>> Hello,
>>>> Just a thought, can a rich text editor be integrated to a social
>>>> networking site. Or should every user have a css each? Its just a thought,
>>>> was just wondering but would be glad if any of you could advice me how to
>>>> if its possible.
>>>> 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.
>>>> 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.
>>>
>>>
>>>
>>
>>  --
>> 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+un

Re: rich text editor

2013-07-18 Thread Andre Terra
It seems you are asking two completely unrelated questions:
1. to allow users to add some form of tags into their code for richer
submissions.
2. to have a different css for each user

One possible answer to #1 is BBCode, as I described. Question #2 is
something altogether. Do you want each user message to appear differently?
Is that supposed to be customizable to the degree of css? Are you just
switching colors? How much are you going to let the user style their
messages? BBcode should be anough to allow them to add bold, italics,
links, pictures, etc. If you just want that, there's no need to have a
separate css for each user. Instead, just follow my instructions below.

I'm not sure how django-bbcode styles the rendered text, but my
step-by-step investigation would be:

1. Install django-bbcode
2. Make sure you have a view somewhere with an input and go to that URL.
This would possibly be a very simple view with a textarea where you'd type
something in and see the rendered output.
3. Send the textarea back to the template in a variable (called, say,
stuff) and render it with {% bbcode stuff %} in the template.
4. Use firebug, google chrome's inspector/developer tools to inspect the
css that's applied to the rendered text
5. Make changes to yourcurrentcssfile.css to include styling for the BBCode.
6. GOTO 2
7. ???
8. Profit!!!

I hope I understood your question well enough. Good luck!

Cheers,
AT

On Thu, Jul 18, 2013 at 2:56 PM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Thanks a lot! Was waiting for an answer. Just one more question though, I
> didnt understood much in the link you gave me. Its that, suppose I included
> it where users can post, will each post require another css, or something
> else. Please explain.
>  Liked "Impossible is nothing™"
>
>
> On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra wrote:
>
>> Impossible is nothing™, but I don't see the benefits of combining rich
>> text with social networking. Things like BBCode[0] usually offer a better
>> trade-off between flexibility/usability/maintenance. Based on a quick
>> google search, it seems there are solutions tailored for use with Django
>> [1][2]
>>
>> [0] http://en.wikipedia.org/wiki/BBCode
>> [1] https://github.com/marcinn/django-bbcode full solution
>> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
>> place to start in case you want to rollout your own.
>>
>>
>>  Cheers,
>> AT
>>
>> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
>> kakararunachalserv...@gmail.com> wrote:
>>
>>> Hello,
>>> Just a thought, can a rich text editor be integrated to a social
>>> networking site. Or should every user have a css each? Its just a thought,
>>> was just wondering but would be glad if any of you could advice me how to
>>> if its possible.
>>> 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.
>>> 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.
>>
>>
>>
>
>  --
> 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: rich text editor

2013-07-18 Thread Kakar Arunachal Service
Thanks a lot! Was waiting for an answer. Just one more question though, I
didnt understood much in the link you gave me. Its that, suppose I included
it where users can post, will each post require another css, or something
else. Please explain.
 Liked "Impossible is nothing™"


On Thu, Jul 18, 2013 at 10:44 PM, Andre Terra  wrote:

> Impossible is nothing™, but I don't see the benefits of combining rich
> text with social networking. Things like BBCode[0] usually offer a better
> trade-off between flexibility/usability/maintenance. Based on a quick
> google search, it seems there are solutions tailored for use with Django
> [1][2]
>
> [0] http://en.wikipedia.org/wiki/BBCode
> [1] https://github.com/marcinn/django-bbcode full solution
> [2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
> place to start in case you want to rollout your own.
>
>
>  Cheers,
> AT
>
> On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
> kakararunachalserv...@gmail.com> wrote:
>
>> Hello,
>> Just a thought, can a rich text editor be integrated to a social
>> networking site. Or should every user have a css each? Its just a thought,
>> was just wondering but would be glad if any of you could advice me how to
>> if its possible.
>> 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.
>> 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.
>
>
>

-- 
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: rich text editor

2013-07-18 Thread Andre Terra
Impossible is nothing™, but I don't see the benefits of combining rich text
with social networking. Things like BBCode[0] usually offer a better
trade-off between flexibility/usability/maintenance. Based on a quick
google search, it seems there are solutions tailored for use with Django
[1][2]

[0] http://en.wikipedia.org/wiki/BBCode
[1] https://github.com/marcinn/django-bbcode full solution
[2] http://djangosnippets.org/snippets/853/ old (0.96!), but should be a
place to start in case you want to rollout your own.


Cheers,
AT

On Thu, Jul 18, 2013 at 7:24 AM, Kakar Arunachal Service <
kakararunachalserv...@gmail.com> wrote:

> Hello,
> Just a thought, can a rich text editor be integrated to a social
> networking site. Or should every user have a css each? Its just a thought,
> was just wondering but would be glad if any of you could advice me how to
> if its possible.
> 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.
> 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.




rich text editor

2013-07-18 Thread Kakar Arunachal Service
Hello,
Just a thought, can a rich text editor be integrated to a social networking
site. Or should every user have a css each? Its just a thought, was just
wondering but would be glad if any of you could advice me how to if its
possible.
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.
For more options, visit https://groups.google.com/groups/opt_out.




Re: Collaborative text editor with Django

2011-03-01 Thread Piotr Zalewa
On 03/01/11 07:45, Anoop Thomas Mathew wrote:
> @piotr zalewa:
> jsFiddle is of course a nice
> Is jsFiddle open source?? I couldn't find its source anywhere.
> http://www.facebook.com/topic.php?uid=183790024998&topic=14241
> 


This is off-topic - http://groups.google.co.uk/group/jsfiddle-users
Current version has a very ugly code - proof of concept style - it is
partially available, however the (in progress) beta is a complete rewrite.

> So, friends,
> This etherpad is in comet (java) and can anyone tell how to integrate
> etherpad, keeping it as it is, with other django apps???
> Some iFrame ideas??? Please file-in your views.
> Is that a really bad idea???

it depends how you would like to have it integrated

zalun
-- 
blog  http://piotr.zalewa.info
fidd  http://jsfiddle.net/user/zalun/
twit  http://twitter.com/zalun
face  http://facebook.com/zaloon

-- 
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: Collaborative text editor with Django

2011-02-28 Thread Anoop Thomas Mathew
@piotr zalewa:
jsFiddle is of course a nice
Is jsFiddle open source?? I couldn't find its source anywhere.
http://www.facebook.com/topic.php?uid=183790024998&topic=14241

So, friends,
This etherpad is in comet (java) and can anyone tell how to integrate
etherpad, keeping it as it is, with other django apps???
Some iFrame ideas??? Please file-in your views.
Is that a really bad idea???

regards,
Anoop

atm
___
Life is short, Live it hard.




On 26 February 2011 15:10, Piotr Zalewa  wrote:

>
> Not all code is a part of bigger infrastructure, but here it is: pair
> programming in jsFiddle (which is a django project).
>

-- 
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: Collaborative text editor with Django

2011-02-26 Thread Piotr Zalewa
On 02/24/11 05:07, Brice Leroy wrote:
> I'm very curious to know the use case for this kind of editor. I'm using
> HG and GIT to manage merging and I'm quite happy with those.
> 

Not all code is a part of bigger infrastructure, but here it is: pair
programming in jsFiddle (which is a django project).

zalun
-- 
blog  http://piotr.zalewa.info
jobs  http://webdev.zalewa.info
twit  http://twitter.com/zalun
face  http://facebook.com/zaloon

-- 
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: Collaborative text editor with Django

2011-02-25 Thread william ratcliff
If it were me, I would look into using "orbited".  We've used it for doing
real time plotting of data using django.  I'm not sure how it scales
though...

William

On Fri, Feb 25, 2011 at 11:36 AM, Pete  wrote:

> I was looking into doing this too! Ethereal is written in java so we
> either need to port the code or use jython.  Hookbox would be a good
> alternative.
>
> If anyone has done 'multiplayer' in Google docs or spreadsheet then
> they will see the value of this app
>
> On Feb 24, 12:35 pm, Piotr Zalewa  wrote:
> > On 02/23/11 08:32, Anoop Thomas Mathew wrote:
> >
> > > Is there any collaborative text editing application available for
> django.
> > > Has anybody tried with etherpad(www.etherpad.org
> > > ) along with django?
> >
> > If you'd start building it - I'd be collaborating.
> >
> > zalun
> > --
> > blog  http://piotr.zalewa.info
> > jobs  http://webdev.zalewa.info
> > twit  http://twitter.com/zalun
> > face  http://facebook.com/zaloon
>
> --
> 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: Collaborative text editor with Django

2011-02-25 Thread Pete
I was looking into doing this too! Ethereal is written in java so we
either need to port the code or use jython.  Hookbox would be a good
alternative.

If anyone has done 'multiplayer' in Google docs or spreadsheet then
they will see the value of this app

On Feb 24, 12:35 pm, Piotr Zalewa  wrote:
> On 02/23/11 08:32, Anoop Thomas Mathew wrote:
>
> > Is there any collaborative text editing application available for django.
> > Has anybody tried with etherpad(www.etherpad.org
> > ) along with django?
>
> If you'd start building it - I'd be collaborating.
>
> zalun
> --
> blog  http://piotr.zalewa.info
> jobs  http://webdev.zalewa.info
> twit  http://twitter.com/zalun
> face  http://facebook.com/zaloon

-- 
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: Collaborative text editor with Django

2011-02-24 Thread Piotr Zalewa
On 02/23/11 08:32, Anoop Thomas Mathew wrote:
> Is there any collaborative text editing application available for django.
> Has anybody tried with etherpad(www.etherpad.org
> ) along with django?

If you'd start building it - I'd be collaborating.

zalun
-- 
blog  http://piotr.zalewa.info
jobs  http://webdev.zalewa.info
twit  http://twitter.com/zalun
face  http://facebook.com/zaloon

-- 
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: Collaborative text editor with Django

2011-02-23 Thread Mike Ramirez
On Wednesday, February 23, 2011 08:56:50 pm Anoop Thomas Mathew wrote:
> Hi Mike,
> I think you miss read me. I mean an application to put in the website, not
> for coding on desktop. A collaborative text editor within the site, some
> pre-built django apps.
> 
> Any ideas?
> 
Sorry, in that case nope, not really. Just some things like cometd/orbited (or 
hookbox) and javascript framework to build one. But nothing complete or in 
existance.

Mike
-- 
You know what they say -- the sweetest word in the English language is 
revenge.
-- Peter Beard

-- 
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: Collaborative text editor with Django

2011-02-23 Thread Brice Leroy
I'm very curious to know the use case for this kind of editor. I'm using HG and 
GIT to manage merging and I'm quite happy with those.

Brice Leroy 
Sent from my iPhone

On Feb 23, 2011, at 8:56 PM, Anoop Thomas Mathew  wrote:

> Hi Mike,
> I think you miss read me. I mean an application to put in the website, not 
> for coding on desktop. A collaborative text editor within the site, some 
> pre-built django apps.
> 
> Any ideas? 
> 
> regards,
> Anoop
> atm
> ___
> Life is short, Live it hard.
> 
> 
> 
> 
> On 23 February 2011 18:12, Mike Ramirez  wrote:
> On Wednesday, February 23, 2011 12:32:55 am Anoop Thomas Mathew wrote:
> > Hi,
> >
> > Is there any collaborative text editing application available for django.
> > Has anybody tried with etherpad(www.etherpad.org) along with django?
> >
> > Please reply,
> > Thanks in advance,
> > Anoop
> >
> > atm
> > ___
> > Life is short, Live it hard.
> I like eric5 for this, it's python 3.x though. But great collabrotive tools 
> involved, including a chat server and issue tracker.
> Gobby is another, but his is more general purpose than coding.
> I've also seen screen + [vi|emacs|nano] for collaboritve coding on the server 
> side.
> As for etherpad nope, never have bothered, never heard of it till now ftr.
> Mike
> --
> A little pain never hurt anyone.
> -- 
> 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.

-- 
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: Collaborative text editor with Django

2011-02-23 Thread Anoop Thomas Mathew
Hi Mike,
I think you miss read me. I mean an application to put in the website, not
for coding on desktop. A collaborative text editor within the site, some
pre-built django apps.

Any ideas?

regards,
Anoop
atm
___
Life is short, Live it hard.




On 23 February 2011 18:12, Mike Ramirez  wrote:

>  On Wednesday, February 23, 2011 12:32:55 am Anoop Thomas Mathew wrote:
>
> > Hi,
>
> >
>
> > Is there any collaborative text editing application available for django.
>
> > Has anybody tried with etherpad(www.etherpad.org) along with django?
>
> >
>
> > Please reply,
>
> > Thanks in advance,
>
> > Anoop
>
> >
>
> > atm
>
> > ___
>
> > Life is short, Live it hard.
>
> I like eric5 for this, it's python 3.x though. But great collabrotive tools
> involved, including a chat server and issue tracker.
>
> Gobby is another, but his is more general purpose than coding.
>
>  I've also seen screen + [vi|emacs|nano] for collaboritve coding on the
> server side.
>
>  As for etherpad nope, never have bothered, never heard of it till now
> ftr.
>
> Mike
>
> --
>
> A little pain never hurt anyone.
>
>  --
> 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: Collaborative text editor with Django

2011-02-23 Thread Mike Ramirez
On Wednesday, February 23, 2011 12:32:55 am Anoop Thomas Mathew wrote:
> Hi,
> 
> Is there any collaborative text editing application available for django.
> Has anybody tried with etherpad(www.etherpad.org) along with django?
> 
> Please reply,
> Thanks in advance,
> Anoop
> 
> atm
> ___
> Life is short, Live it hard.

I like eric5 for this, it's python 3.x though. But great collabrotive tools 
involved, including a chat server and issue tracker. 

Gobby is another, but his is more general purpose than coding.


I've also seen screen + [vi|emacs|nano] for collaboritve coding on the server 
side.


As for etherpad nope, never have bothered, never heard of it till now ftr.

Mike

-- 
  A little pain never hurt anyone.

-- 
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: Collaborative text editor with Django

2011-02-23 Thread Anoop Thomas Mathew
Hi,

Is there any collaborative text editing application available for django.
Has anybody tried with etherpad(www.etherpad.org) along with django?

Please reply,
Thanks in advance,
Anoop

atm
___
Life is short, Live it hard.

-- 
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-admin.py startproject xyz" opens text editor

2010-02-09 Thread gvkalra
Thanks a lot!  It worked ..

On Feb 9, 1:56 pm, chiranjeevi muttoju  wrote:
> Hi, please change the *.py properties to python type..
> i.e.
> right click  on python filr-->properties-->change-->browse the
> python.exe(which is in python home directory).
>
>
>
> On Tue, Feb 9, 2010 at 12:07 PM, Karen Tracey  wrote:
> > On Tue, Feb 9, 2010 at 1:32 AM, gvkalra  wrote:
>
> >> "django-admin.py startproject xyz" opens my default text editor viz.
> >> Notepad++ and opens the file django-admin.py in it for editing...What
> >> could be the reason? I am not able to create a project
>
> > I guess you are on Windows?  Apparently the .py extension has been
> > associated with your editor executable instead of python.exe.
>
> > Karen
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Django users" group.
> > To post to this group, send email to django-us...@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.
>
> --
> ▒▒�...@g@d...@◄▒▒

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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-admin.py startproject xyz" opens text editor

2010-02-09 Thread chiranjeevi muttoju
Hi, please change the *.py properties to python type..
i.e.
right click  on python filr-->properties-->change-->browse the
python.exe(which is in python home directory).


On Tue, Feb 9, 2010 at 12:07 PM, Karen Tracey  wrote:

> On Tue, Feb 9, 2010 at 1:32 AM, gvkalra  wrote:
>
>> "django-admin.py startproject xyz" opens my default text editor viz.
>> Notepad++ and opens the file django-admin.py in it for editing...What
>> could be the reason? I am not able to create a project
>>
>
> I guess you are on Windows?  Apparently the .py extension has been
> associated with your editor executable instead of python.exe.
>
> Karen
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@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.
>



-- 
▒▒�...@g@d...@◄▒▒

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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-admin.py startproject xyz" opens text editor

2010-02-08 Thread Karen Tracey
On Tue, Feb 9, 2010 at 1:32 AM, gvkalra  wrote:

> "django-admin.py startproject xyz" opens my default text editor viz.
> Notepad++ and opens the file django-admin.py in it for editing...What
> could be the reason? I am not able to create a project
>

I guess you are on Windows?  Apparently the .py extension has been
associated with your editor executable instead of python.exe.

Karen

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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-admin.py startproject xyz" opens text editor

2010-02-08 Thread gvkalra
"django-admin.py startproject xyz" opens my default text editor viz.
Notepad++ and opens the file django-admin.py in it for editing...What
could be the reason? I am not able to create a project

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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: Rich text editor in Admin tool

2008-04-04 Thread Jared Dobson
Yeap,

A google search returned these two howtos:

Using Dojo's Rich Text Editor:
http://code.djangoproject.com/wiki/AddDojoEditor

And using tinymce. :-)
http://www.dehora.net/journal/2006/05/using_tinymce_in_djangos_admin.html

Good luck. :-)

Thanks,
Jared
On Fri, Apr 4, 2008 at 9:00 AM, bcurtu <[EMAIL PROTECTED]> wrote:

>
> Is it possible to configure the Admin Interface to use a Rich text
> editor to edit texts and add fomatted content?
> >
>

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Rich text editor in Admin tool

2008-04-04 Thread bcurtu

Is it possible to configure the Admin Interface to use a Rich text
editor to edit texts and add fomatted content?
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Rich text editor

2007-03-02 Thread leland

i agree - tiny_mce is SUPER easy to implement. also - check out your
line:

js = 'media/js/admin/AddRichTextEditing.js'

view the source on your admin page and look at the src attribute of
the 

Re: Rich text editor

2007-03-02 Thread Kenneth Gonsalves


On 02-Mar-07, at 6:51 PM, Alessandro Ronchi wrote:

> Is there some other better editor?

try tiny_mce - well documented in django wiki and mailing list

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Rich text editor

2007-03-02 Thread Alessandro Ronchi

Hi to all.
I'm trying to add a rich text editor to a field of my model, following
the tutorial on
http://code.djangoproject.com/wiki/AddDojoEditor

I have this directory structure:

./
./gallery
./gallery/locale
./gallery/locale/it
./gallery/models.py
./gallery/views.py
./locale
./locale/it
./manage.py
./media
./media/dojo (with all the contents of dojo-0.4.1-kitchen_sink.tar.gz )
./media/dojo/dojo.js
./media/js
./media/js/admin
./media/js/admin/AddRichTextEditing.js
./settings.py
./urls.py

into
i have a class with

description = models.TextField(_("description"),help_text='Rich Text
Editing.', blank=True, null=True)
and
class Admin:
js = ['media/js/admin/AddRichTextEditing.js']
pass


The problem is that it doesn't replace the "Rich Text Editing." with the
 editor.

maybe my mistake is on media settings or directory structure?
Must I have something in urls?

in my settings.py I have:

# Absolute path to the directory that holds media.
# Example: "/home/media/media.lawrence.com/"
MEDIA_ROOT =
 '/home/aronchi/documenti/sviluppo/workspace/Brunori/museobrunori/media/'

# URL that handles the media served from MEDIA_ROOT.
# Example: "http://media.lawrence.com";
MEDIA_URL = 'http://localhost:8000/media'

# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use
 a # trailing slash.
# Examples: "http://foo.com/media/";, "/media/".
ADMIN_MEDIA_PREFIX = '/media/'


Is there some other better editor?

Thanks in advance.

-- 
Alessandro Ronchi
Skype: aronchi - Wengo: aleronchi
http://www.alessandroronchi.net - Il mio sito personale
http://www.soasi.com - Sviluppo Software e Sistemi Open Source

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: Rich text editor with code snippets

2006-07-28 Thread tomass

Thanks. Added in the extra Tiny MCE options (like the full screen one),
and it works pretty well just using the  tags.


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich text editor with code snippets

2006-07-26 Thread [EMAIL PROTECTED]

Maybe one of these might help:

http://lazutkin.com/blog/2005/aug/26/using_tinymce_djangos_admin/
http://code.djangoproject.com/wiki/AddWYSIWYGEditor
http://www.socialistsoftware.com/post/django-and-tinymce/

Chris


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Rich text editor with code snippets

2006-07-25 Thread tomass

Hi Folks,

I'm wondering which rich text editors people are using in their apps,
and if any of them (that have been successfully integrated into the
admin app) have the capability to display code snippets.

Basically, what I'm looking for is a code block to render in fixed
width font and with all spaces/line breaks/tabs preserved. You know
what I mean.

I'm using Tiny MCE but haven't found a way to do this. Feel free to
knock me over the head if this is simply a case of using some 
tags and then putting the appropriate style sheets. I'm not enough of a
CSS wizard to know if that's the way I should be approaching this.

Thanks, Tom


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-02 Thread Joseph Heck
It's not a full implementation, but it's pretty useful:http://svn.zilbo.com/svn/django/magic-removal/common/text/bbcode.pyer... it's moved since I last pulled it: 
http://svn.zyons.python-hosting.com/trunk/zilbo/common/text/bbcode.py(please note this isn't mine - it's just something I spotted while reading other folk's code)
On 6/2/06, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED]> wrote:
On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be> tailored to generate BBCode)? Maybe even one for which there is a> Django integration "Howto"?No, sorry, no ready made ones.
You could perhaps lift BBCode support fromhttp://spycebb.sourceforge.net/ or http://tboard.sourceforge.net/though.
--Jeroen Ruigrok van der Werven

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]  For more options, visit this group at http://groups.google.com/group/django-users  -~--~~~~--~~--~--~---


Re: Rich Text Editor for BBCOde?

2006-06-02 Thread Jeroen Ruigrok van der Werven

On 6/1/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be
> tailored to generate BBCode)? Maybe even one for which there is a
> Django integration "Howto"?

No, sorry, no ready made ones.

You could perhaps lift BBCode support from
http://spycebb.sourceforge.net/ or http://tboard.sourceforge.net/
though.

-- 
Jeroen Ruigrok van der Werven

--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Jan Claeys

Op do, 01-06-2006 te 11:05 +, schreef [EMAIL PROTECTED]:
> Does anyone know of a "fancy" rich text editor component which
> generates BBCode instead of HTML (or is customizable so that it can be
> tailored to generate BBCode)? Maybe even one for which there is a
> Django integration "Howto"?

I have been looking around for something like that too, and the only one
I know is Wykiwyg: <http://www.wikiwyg.net/>

It generates wiki markup for some wikis, but I think adapting it to
support BBcode should be possible too...?

> I like the Django integration for the various rich text editors, and I
> want to give my users the ability to post styled text -- i just don't
> want to open the floodgates for all kinds of embedded HTML, with all
> the potential exploitable problems that can bring. 

I just had to edit some HTML generated by one of those... yuck!
For esthetic reasons alone those things should be forbidden.   :-(


-- 
Jan Claeys


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Scott Anderson wrote:

> You're going to have to filter on the server side no matter what the browser 
> editor produces. ie. if you want to allow someone to post a link, you'll 
> still have to filter the href of the link posted via BBCode or someone can 
> just bypass the editor and post the code directly by not using your interface.
>
> The only surefire way, of course, is to completely disallow HTML (via quoting 
> < characters) and just allow text.

That's more or less what I'm doing. I pass the output through escape |
urlize | bbcode text filters, so any HTML input into the editor (or
posted directly via a POST request) comes out as <, >, etc. and
only selected bbcode markup gets converted to HTML markup.

Daniel


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Scott Anderson

On Thu, 2006-06-01 at 11:43 +, [EMAIL PROTECTED] wrote:
> 
> All this may sound a bit (very?) paranoid for a small community portal
> site. The large number of comment spamming, SPAM and exploits against
> phpBB sites, etc. show that some people just don't play fair. You don't
> really want these people to go and write arbitrary HTML on your page.
> And the potential for abuse is such that if you DO allow HTML in
> postings, you have a lot of filtering to do.
> 
> Daniel


You're going to have to filter on the server side no matter what the browser 
editor produces. ie. if you want to allow someone to post a link, you'll still 
have to filter the href of the link posted via BBCode or someone can just 
bypass the editor and post the code directly by not using your interface.

The only surefire way, of course, is to completely disallow HTML (via quoting < 
characters) and just allow text. The next best thing is to use a whitelisting 
filter that only allows the tags you want it to allow. I have such a filter, 
and if there's interest I'll clean it up and post it somewhere. For now there's 
a prototype version at http://z.iwethey.org/forums/SourceCode/src/htmlparse.py 
that needs some work.

It scrubs everything by default. Tags are detected and filtered for
allowed markup only (eg. you can only put http:// in an href). There are
some BBCode-like markup elements (a number of which are specific to my
forums code only), and it's fairly trivial to add more. There's also a
two-step processing system: scrubbing first, during which links and the
like are converted to an interim format before being stored in the
database, then a second step which takes links and converts them to
actual tags according to the preferences of the user (some users like
all links to open a new window, for example) just before display.

Regards,
-scott



--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---



Re: Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Todd O'Bryan wrote:
> Is it not sufficient to just look for 

Re: Rich Text Editor for BBCOde?

2006-06-01 Thread Todd O'Bryan

On Jun 1, 2006, at 7:05 AM, [EMAIL PROTECTED] wrote:
>
> I like the Django integration for the various rich text editors, and I
> want to give my users the ability to post styled text -- i just don't
> want to open the floodgates for all kinds of embedded HTML, with all
> the potential exploitable problems that can bring.

Is it not sufficient to just look for 

Rich Text Editor for BBCOde?

2006-06-01 Thread [EMAIL PROTECTED]

Hi.

Does anyone know of a "fancy" rich text editor component which
generates BBCode instead of HTML (or is customizable so that it can be
tailored to generate BBCode)? Maybe even one for which there is a
Django integration "Howto"?

I like the Django integration for the various rich text editors, and I
want to give my users the ability to post styled text -- i just don't
want to open the floodgates for all kinds of embedded HTML, with all
the potential exploitable problems that can bring.

Daniel


--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~--~~~~--~~--~--~---