Re: Alternatives to markup and comments modules

2014-08-08 Thread Collin Anderson
Create your own custom template filter for the markdown. Django's filter didn't do much besides import markdown and send the content through that. Comments now live here: https://github.com/django/django-contrib-comments -- You received this message because you are subscribed to the Google

Alternatives to markup and comments modules

2014-08-08 Thread Vibhu Rishi
I just picked up an old project i was working on ( wasn't working on it for a year almost), and now the comments and markup modules are not working. It seems that they have been depricated in 1.6 ( project was in 1.4 ). What are the current alternatives for these ? Vibhu -- Simplicity

Re: django 1.6.4 - markup / markdown (for django blog tutorial)

2014-05-05 Thread Alex Leonhardt
Thanks Brad - i had a look and didnt get it to work, but thanks to your hint I did get this to work : https://django-markup.readthedocs.org/en/latest/ with https://django-markup.readthedocs.org/en/latest/usage_templates.html Cheers! Alex On Monday, 5 May 2014 21:22:21 UTC+1, Brad Pitcher

Re: django 1.6.4 - markup / markdown (for django blog tutorial)

2014-05-05 Thread Brad Pitcher
django.contrib.markup has been deprecated. You could try using the standalone project that is a copy of the same code from django: pip install django_markup_deprecated Then add "markup_deprecated" to your INSTALLED_APPS instead of django.contrib.markup. - Brad Pitcher On Mon, May 5,

Re: django 1.6.4 - markup / markdown (for django blog tutorial)

2014-05-05 Thread Alex Leonhardt
fwiw - this is the tutorial I was trying : http://www.creativebloq.com/netmag/get-started-django-7132932 it mentions django.contrib.markup ... but that doesnt seem to work :\ On Monday, 5 May 2014 16:44:47 UTC+1, Alex Leonhardt wrote: > > Hi all, > > am new to django and followed a tiny

django 1.6.4 - markup / markdown (for django blog tutorial)

2014-05-05 Thread Alex Leonhardt
Hi all, am new to django and followed a tiny tutorial to start off - I wanted to add the ability to use Markdown syntax in the blog posts. It was suggested to use django.contrib.markup, but that wont work anymore ( i guess it's been removed ) - what do I need to use Markdown in my posts ?

markup doesn't render mardown text in the templates

2012-09-22 Thread Giorgos Tsiapaliokas
to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. {% extends "base.html" %} {% load markup %} {% block posts %} {% for post in posts %}

Re: markup

2011-05-29 Thread Praveen Krishna R
*I have used tiny_mce with django. * On Sat, May 28, 2011 at 3:34 PM, Vladimir wrote: > Has anyone any experience in CKeditor or tinymce using with django ? > > On 26 май, 20:25, Oscar Carballal wrote: > > 2011/5/26 Brett Parker

Re: markup

2011-05-28 Thread Vladimir
Has anyone any experience in CKeditor or tinymce using with django ? On 26 май, 20:25, Oscar Carballal wrote: > 2011/5/26 Brett Parker : > > > On 26 May 08:27, Vladimir wrote: > >> Is there a tool to transform MS WORD file into HTML ? I know there

Re: markup

2011-05-26 Thread Oscar Carballal
2011/5/26 Brett Parker : > On 26 May 08:27, Vladimir wrote: >> Is there a tool to transform MS WORD file into HTML ? I know there is >> markdown and textile, but I would prefer MS WORD. > > http://wvware.sourceforge.net/ > > -- > Brett Parker Also

Re: markup

2011-05-26 Thread Brett Parker
On 26 May 08:27, Vladimir wrote: > Is there a tool to transform MS WORD file into HTML ? I know there is > markdown and textile, but I would prefer MS WORD. http://wvware.sourceforge.net/ -- Brett Parker -- You received this message because you are subscribed to the Google Groups "Django

Re: markup

2011-05-26 Thread Maksymus007
yes,its called microsoft word:) it is possible to save file as html,but the quality and portability of this code is poor Pozdrawiam, Maksymilian Pawlak 26-05-2011 17:27 użytkownik "Vladimir" napisał: > Is there a tool to transform MS WORD file into HTML ? I know there is >

markup

2011-05-26 Thread Vladimir
Is there a tool to transform MS WORD file into HTML ? I know there is markdown and textile, but I would prefer MS WORD. Thank You -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: DRY up your Django templates with Showell Markup

2009-12-05 Thread David Martorana
ersion ofShowellMarkup.  It > allows you or your designer to create web pages without the visual > clutter of , , {% endfor %}, {% endwith %}, and friends. > > Unlike templating solutions that compete with Django, theShowell > Markup plays nice with Django and still delegates all the he

Re: DRY up your Django templates with Showell Markup

2009-12-04 Thread David Martorana
e: > I would like to announce an early version ofShowellMarkup.  It > allows you or your designer to create web pages without the visual > clutter of , , {% endfor %}, {% endwith %}, and friends. > > Unlike templating solutions that compete with Django, theShowell > Markup plays ni

URLs created by custom python-markup filter are incorrect

2009-11-19 Thread Stodge
I'm using a custom python-markup filter, which seems to be working well. However, my URLs aren't relative to my site. So if the rendered text before filtering contains: [/login Login] and the login page is at: http://localhost/test/login the filter produces an URL of: http://localhost/login

Re: Enable Image macro on tracwiki markup (djangosnippet 1047)

2009-04-23 Thread Matías Iturburu
Nevermind, I think I'll cut the problem down and use markdown instead of trac's mackup. I've found a way of handling images that seems more sane here http://www.omh.cc/2008/aug/18/django-inserting-and-positioning-images/ Although I find trac's markup easier 2009/4/23 Matías Iturburu <mat

Enable Image macro on tracwiki markup (djangosnippet 1047)

2009-04-23 Thread Matías Iturburu
Hi all I have been using this snippet http://www.djangosnippets.org/snippets/1047/to enable the trac's excelent wiki markup to my app, so far so well, the snippet works flawlessy rendering _text_ , however I would like to use the [Image()] macro as it enables me to do some cool stuff with images

Re: Markup languages vs HTML

2008-07-10 Thread Matic Žgur
Thanks for your opinions. I've just discovered this: http://wmd-editor.com . WYSIWYG Markdown editor. Quite an interesting thing. I think, I'll play around with this for a while and then decide for the appropriate markup language, whether Markdown or HTML. On Tue, Jul 8, 2008 at 10:23 PM, bruno

Re: Markup languages vs HTML

2008-07-08 Thread bruno desthuilliers
hat are pros and > cons of each method, ie. saving posts with some markup language vs. > html. Err... HTML actually *is* a markup language, you know ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: Markup languages vs HTML

2008-07-08 Thread Ned Batchelder
HTML (using TinyMCE in admin). I was > wondering, after reading some stuff about Markdown, what are pros and > cons of each method, ie. saving posts with some markup language vs. > html. I must admit, that I feel a bit uncomfortable saving html to the > database - it just doesn't seem right

Re: Markup languages vs HTML

2008-07-08 Thread Ned Batchelder
in admin). I was > wondering, after reading some stuff about Markdown, what are pros and > cons of each method, ie. saving posts with some markup language vs. > html. I must admit, that I feel a bit uncomfortable saving html to the > database - it just doesn't seem right to me. So, what is your

Re: Markup languages vs HTML

2008-07-08 Thread Norman Harman
Matic Žgur wrote: > Hi, > > I'm working on some project, a part of which is a small blog app. All > the blog posts are saved as HTML (using TinyMCE in admin). I was > wondering, after reading some stuff about Markdown, what are pros and > cons of each method, ie. saving post

Re: Markup languages vs HTML

2008-07-08 Thread rui
Hi Matic, I really think that html should not be saved on your database. Markup languages are more "human readable" and can be easily converted to HTML, if needed. And really, it just don´t look right :) Cheers and good luck. -- Rui --~--~-~--~~~---~--

Markup languages vs HTML

2008-07-08 Thread Matic Žgur
Hi, I'm working on some project, a part of which is a small blog app. All the blog posts are saved as HTML (using TinyMCE in admin). I was wondering, after reading some stuff about Markdown, what are pros and cons of each method, ie. saving posts with some markup language vs. html. I must admit

Re: Which markup language to choose?

2008-02-06 Thread Eric Abrahamsen
> For a) it's important for me to have the possibility to embed raw   > HTML. AFAIK markdown provides hat possiblity, is it also possible with   > textile and reST? I'm definitely a fan of markdown (I do most of my writing in it), and it's more than sufficient for any online needs. I tend to

Re: Which markup language to choose?

2008-02-06 Thread Nathaniel Whiteinge
here's a pretty slick GUI program [2] for composing it too. .. [1] http://www.rst2a.com/ .. [2] http://python.net/~gherman/ReSTedit.html (not sure if the above link is the latest version...) > For b) it's important the output is more or less pretty also if the > writer is not aware of us

Re: Which markup language to choose?

2008-02-06 Thread Petite Abeille
ortant the output is more or less pretty also if the > writer is not aware of using a markup language. Or should I just stick > with {{ comment.content | escape | urlizetrunc:40 | linebreaks }}? > > What are your experiences? Personally, I would favor Markdown as it would address (a) and

Re: Which markup language to choose?

2008-02-06 Thread Rajesh Dhawan
mportant the output is more or less pretty also if the > writer is not aware of using a markup language. Or should I just stick > with {{ comment.content | escape | urlizetrunc:40 | linebreaks }}? > > What are your experiences? I prefer Markdown for the following main reasons: - si

Which markup language to choose?

2008-02-06 Thread Florian Lindner
) comments For a) it's important for me to have the possibility to embed raw HTML. AFAIK markdown provides hat possiblity, is it also possible with textile and reST? For b) it's important the output is more or less pretty also if the writer is not aware of using a markup language. Or should I

Re: Markup Filters (restructuredtext)

2008-02-05 Thread Christian W. Koch
: > > > I've been looking for this like crazy, I started using the markup > > filters with great succes (love at first sight) but there's a little > > problem. I use special carachters, like and things like that > > to support different languages. So, if I store it jus

Re: Markup Filters (restructuredtext)

2008-02-05 Thread Christian W. Koch
Thanks Craig, will try it when I get home and report on success. =) On Feb 4, 10:52 pm, "Craig Ogg" <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 4:41 PM, Christian W. Koch <[EMAIL PROTECTED]> wrote: > > > I've been looking for this like crazy, I started using

Re: Markup Filters (restructuredtext)

2008-02-04 Thread Craig Ogg
On Feb 4, 2008 4:41 PM, Christian W. Koch <[EMAIL PROTECTED]> wrote: > I've been looking for this like crazy, I started using the markup > filters with great succes (love at first sight) but there's a little > problem. I use special carachters, like and things like that > to

Markup Filters (restructuredtext)

2008-02-04 Thread Christian W. Koch
Hey everybody, I've been looking for this like crazy, I started using the markup filters with great succes (love at first sight) but there's a little problem. I use special carachters, like and things like that to support different languages. So, if I store it just like that in the DB

Re: Simple markup language?

2008-01-21 Thread Derek Anderson
Jeff Anderson wrote: > And you just need minimal functionality, > You could probable write up a small hack to do it with some regular > expressions. You can find things that strip html, and then you could to > the simple markup fairly easily after that. It shouldn't take too long

Re: Simple markup language?

2008-01-21 Thread Derek Anderson
the lines of Textile or Markdown, but > with very minimal features. Does anyone know of other projects that > might fit these requirements? > > * Strip all HTML > * Only allow for simple markup (bold, italics, headers, lists, URLs or > auto-linking URLs) > * Do not allow things like ima

Simple markup language?

2008-01-21 Thread Rob Hudson
Hi, I'm looking for something along the lines of Textile or Markdown, but with very minimal features. Does anyone know of other projects that might fit these requirements? * Strip all HTML * Only allow for simple markup (bold, italics, headers, lists, URLs or auto-linking URLs) * Do not allow

Re: Simple markup language?

2008-01-21 Thread Oscar Carlsson
you just need minimal functionality, > You could probable write up a small hack to do it with some regular > expressions. You can find things that strip html, and then you could to the > simple markup fairly easily after that. It shouldn't take too long to write > something like that. &g

Re: Simple markup language?

2008-01-21 Thread Rob Hudson
te up a small hack to do it with some regular > expressions. You can find things that strip html, and then you could to > the simple markup fairly easily after that. It shouldn't take too long > to write something like that. > > It is also possible that some of the existing thing

Re: Simple markup language?

2008-01-21 Thread Jeff Anderson
If you've already looked at the regular bunch: textile, markdown, rst, etc... And you just need minimal functionality, You could probable write up a small hack to do it with some regular expressions. You can find things that strip html, and then you could to the simple markup fairly easily

Re: mark form field as required in markup

2007-12-07 Thread l5x
You also do this like that: class CommentForm(forms.Form): name = forms.CharField( widget=forms.TextInput(attrs={'class':'special'})) url = forms.URLField() comment = forms.CharField( widget=forms.TextInput(attrs={'size':'40'})) 'class':'special' --

Re: mark form field as required in markup

2007-12-07 Thread Empty
want. Michael Trier blog.michaeltrier.com On Dec 7, 2007 5:27 AM, Frank 7200 <[EMAIL PROTECTED]> wrote: > Hi group, > another question. Is there a way how to pass an information to markup that a > form field is required? > > I have this form with one field, which is required

mark form field as required in markup

2007-12-07 Thread Frank 7200
Hi group, another question. Is there a way how to pass an information to markup that a form field is required? I have this form with one field, which is required (default value). class CustomForm(forms.Form): age = forms.ChoiceField(label='Age', choices=AGE_CHOICES) {{ form.as_table

Re: full-text search and mediawiki markup apps

2007-09-08 Thread Useful Database
pressly. Before opening any attachments please check them for viruses and defects." On 9/8/07, David Cramer <[EMAIL PROTECTED]> wrote: > > > I've taken the time to upload both our SphinxSearch layer, and our > MediaWiki markup util to Google code today. For more info see my

Re: full-text search and mediawiki markup apps

2007-09-08 Thread ringemup
Just yesterday, I was thinking how useful it would be to be able to use mediawiki markup syntax for a new project... and voila -- my prayers are answered! Thank you for putting this together! One problem... I'm getting a syntax error on import (using python 2.5): >>> import w

full-text search and mediawiki markup apps

2007-09-07 Thread David Cramer
I've taken the time to upload both our SphinxSearch layer, and our MediaWiki markup util to Google code today. For more info see my blog post: http://www.davidcramer.net/code/54/mediawiki-markup-and-sphinxsearch-... I haven't used Google code before, so if theres any problems just let me know

Re: Markup as a function of User-Agent

2007-06-21 Thread [EMAIL PROTECTED]
Yup... first, don't do it based on user agent. Guaranteed you won't think of one, or the specs will change, or something will go belly up on you. Do it on capability. If it's a small screen, do x, otherwise, do y, whatever the UA is. What really matters to you is the size of the thing, right?

Markup as a function of User-Agent

2007-06-20 Thread EagerToUnderstand
I would like to change the information/size of the returned HTML page depending on the User-Agent accessing the content. (Typically rendering a smaller page for a PDA than for a PC browser.) I know how to get hold of the User-Agent. It feels to me like this must be a common requirement, yet I

Re: Contrib markup app not to be installed?

2005-12-03 Thread Robert Wittams
Ian Holsman wrote: > shouldn't a warning/informational message be generated in this case. > something like > > $ django-admin install markup > INFO: no models found to install.. skipping markup > > ? Given that the command acts on a model module, *not* on an ap

Re: Contrib markup app not to be installed?

2005-12-03 Thread Ian Holsman
shouldn't a warning/informational message be generated in this case. something like $ django-admin install markup INFO: no models found to install.. skipping markup ? On 12/3/05, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > On Dec 3, 2005, at 5:13 AM, James Bennett wrote: >

Re: Contrib markup app not to be installed?

2005-12-03 Thread Jacob Kaplan-Moss
On Dec 3, 2005, at 5:13 AM, James Bennett wrote: While setting up a new project tonight, I was running through and doing a 'django-admin.py install' for each of the apps from django.contrib I'll be using, and when I got to the markup app, I got the following error: Error: No module named

Re: Contrib markup app not to be installed?

2005-12-03 Thread James Bennett
On 12/3/05, Robert Wittams <[EMAIL PROTECTED]> wrote: > The install is for installing a model-module, not an app. As the markup > app has no model modules, and there is no model module named markup, > this is not going to work. OK, I'd figured as much from a little furthe

Contrib markup app not to be installed?

2005-12-03 Thread James Bennett
While setting up a new project tonight, I was running through and doing a 'django-admin.py install' for each of the apps from django.contrib I'll be using, and when I got to the markup app, I got the following error: Error: No module named markup. Are you sure your INSTALLED_APPS setting