Inserting image alongwith text in django's TextField

2013-12-23 Thread vijay shanker
Hi I am trying to insert images in between of text (basically an article with images interspersed in between) with django's TextField so that i can add and position the image in the TextField box in admin.I tried tinymce's tinymce_models.HTMLField() for body field of my Article model but it did

Re: Inserting image alongwith text in django's TextField

2013-12-23 Thread Mrinmoy Das
Hi Vijay, Use something which allows you to do that. There are a bunch of tools available https://www.djangopackages.com/grids/g/wysiwyg/ Mrinmoy Das http://goromlagche.in/ On Mon, Dec 23, 2013 at 3:11 PM, vijay shanker wrote: > Hi > I am trying to insert images in between of text (basical

python_2_unicode_compatible error

2013-12-23 Thread Mario Hari
I've "models.py" as follows, #encoding: utf-8 from django.contrib.auth.models import User from django.db import models from django.utils.encoding import python_2_unicode_compatible from django.utils.timezone import now # Create your models here. @python_2_unicode_compatible class Tag(models.Model

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

2013-12-23 Thread tim
You may want to read our documentation which warns of the security risks in deploying sites on the public internet with DEBUG=True. https://docs.djangoproject.com/en/dev/ref/settings/#debug On Saturday, December 21, 2013 6:37:11 AM UTC-5, Mark Moss wrote: > > Hi Frank, > > Debug is enabled inten

Template Interactions & NoReverse Match Errors

2013-12-23 Thread Timothy W. Cook
(details below) I have a dashboard view and from there I want to perform various activities inside a portion of the page. So, I built a dashboard base template to reuse. From the main index.html I call a view with the ID of the user (it is actually an internal role ID not the user id) which calls

Re: python_2_unicode_compatible error

2013-12-23 Thread Mario Hari
I resolved it using the answer available @ http://stackoverflow.com/questions/20741754/python-2-unicode-compatible-error Happy hacking, mario23 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

How to give facility to user to add django model field dynamically?

2013-12-23 Thread navnath gadakh
-- 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. V

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

2013-12-23 Thread Mark Moss
Thanks Tim for pointing the risks. By the way, the production VMs that are activated for actual customers have Debug=Off. Moreover, the demo VM is rebuilt every few hours to avoid any negative tweaking. -- - Mark *Instantly deploy Django-Cms with built-in 5 themes

migrating DailyStockSelect.com to django

2013-12-23 Thread d ss
hey guys i am an experienced user of python, have heard a lot of Django and would like to migrate my website that is a combination of html+CSS - generated automatically via python to django. the URL is DailyStockSelect.com the home page consists of tables that are updated daily, the number of l

immigration to django

2013-12-23 Thread d ss
hey guys i am an experienced user of python, have heard a lot of Django and would like to migrate my website that is a combination of html+CSS - generated automatically via python to django. the URL is DailyStockSelect.com the home page consists of tables that are updated daily, the number of l

Re: migrating DailyStockSelect.com to django

2013-12-23 Thread Javier Guerra Giraldez
On Mon, Dec 23, 2013 at 6:02 AM, d ss wrote: > best would be to provide me directly with the recommended tools to perform > the following: honestly, no matter how experienced you are in Python, if you're new to Django, the best and fastest way to get you running is to do the tutorial. not only

Should exceptions in dev server appear as tracebacks in the console by default?

2013-12-23 Thread hjwp
The docs say: *"All messages reaching the django catch-all logger when DEBUG is True are sent to the console. They are simply discarded (sent to NullHandler) when DEBUG

Re: Django Site/Docs/Tutorials translation

2013-12-23 Thread Lucas Infante
Thanks, Fabio! On Wednesday, December 18, 2013 6:45:44 PM UTC-2, Fabio Caritas Barrionuevo da Luz wrote: > > The translation project is hosted in Transifex.com [1][2] > > [1] https://www.transifex.com/projects/p/django-docs/language/pt_BR/ > [2] https://www.transifex.com/projects/p/django/languag

Re: How to deploy a django project in the web?

2013-12-23 Thread C. Kirby
You can read up about deploying django in the deployment section of the docs: https://docs.djangoproject.com/en/1.6/howto/deployment/ On Friday, December 20, 2013 11:36:58 PM UTC-6, Pablo Diaz wrote: > > I've finished my django project but I'm only running it locally. I want to > put it on a we

Re: Template Interactions & NoReverse Match Errors

2013-12-23 Thread Timothy W. Cook
SOLVED: by adding the cur_mgr ID to the get() kwargs. On Mon, Dec 23, 2013 at 8:38 AM, Timothy W. Cook wrote: > > (details below) > I have a dashboard view and from there I want to perform various > activities inside a portion of the page. > So, I built a dashboard base template to reuse. From

I can't figure out the django qeryset for retriving a value from a field by a condition

2013-12-23 Thread Ali Hayder
HI, My model like this > *mobile_name = models.CharField("Mobile Name", max_length=50)* * opinion = models.CharField('Comments', max_length=2000)* * total = models.FloatField('Total Mark')* the sql qery should like this "SELECT total FROM tablexyz WHERE mobile_name=xyz" Thanks in ad

Re: ViewDoesNotExist at /admin/

2013-12-23 Thread Russell Keith-Magee
On Mon, Dec 23, 2013 at 10:53 AM, Gabriele Stoia wrote: > Hi Russel, > > thank you for your e-mail !!! > I thought that something was connected with MPTT or FeinCMS... I'll try to > work out ! > What I really don't understand why so many problem when you in deployment > ??? In local everything was

Re: Parsing json.dumps to HighCharts in Django

2013-12-23 Thread Russell Keith-Magee
On Mon, Dec 23, 2013 at 2:11 PM, Filipe Ferminiano Rodrigues < filipe.fermini...@gmail.com> wrote: > This is my views.py > > def piechart(request): > responses_pie = > AnswerRadio.objects.values("body").annotate(Count("id")) > res = [] > for cat in responses_pie: >

Re: I can't figure out the django qeryset for retriving a value from a field by a condition

2013-12-23 Thread Russell Keith-Magee
Hi Ali, The syntax you're looking for is: MyModel.objects.filter(mobile_name='xyz') The Django tutorial provides a good explanation of the sorts of features that are available in Django ORM queries. Yours, Russ Magee %-) On Tue, Dec 24, 2013 at 8:27 AM, Ali Hayder wrote: > HI, > My model l

Re: ViewDoesNotExist at /admin/

2013-12-23 Thread Gabriele Stoia
I think I found the problem...maybe... I running my app in the same hosting of another app ... (sorry for my english..is not my first language... I'm italian...) I have *-- first app-- feincms-- other module-- ...--second app-- -- feincms-- -- other module* Maybe my second-app is using

Fwd: Merry Christmas & a Happy New Year

2013-12-23 Thread Sijo James John
Wishing you and your family a Merry Christmas and a Happy New Year. -- Sijo James John -- 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+unsub

Re: Inserting image alongwith text in django's TextField

2013-12-23 Thread Vijay Shanker
Thanks Mrinmoy. using redactor instead. On Mon, Dec 23, 2013 at 3:17 PM, Mrinmoy Das wrote: > Hi Vijay, > > Use something which allows you to do that. > > There are a bunch of tools available > > https://www.djangopackages.com/grids/g/wysiwyg/ > > > Mrinmoy Das > http://goromlagche.in/ > > > On