Re: ImportError: No module named django.core.management

2013-07-28 Thread vinoth job
after cleared the above problem getting new error .when i run this command : python manage.py syncdb TypeError: __init__() got an unexpected keyword argument 'verify_exists' and this is the problem i got in my terminal and i installed all the packages needed to run the application in virtual

Re: html to pdf

2013-07-28 Thread Victor Rocha
Can you post the traceback? On Sunday, July 28, 2013 3:50:41 AM UTC-4, Harjot Mann wrote: > > Hello Everyone > > I am using Reportlaba nd pisa to convert the html template to pdf and > it is working but my question is that I want to convert the html > template directly to pdf. Right now it is r

Re: ImportError: No module named django.core.management

2013-07-28 Thread vinoth job
i installed inside lib/python2.7/site-packages/django .now it is running. -- 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.

Re: working with images in django

2013-07-28 Thread Roberto López López
I use https://pypi.python.org/pypi/django-ckeditor/4.0.2 and I'm quite happy. There's not too much else to code than what's explained there. On 07/28/2013 04:21 PM, Robert Brown wrote: > Hello, can anyone suggest where I might find some of example of > working with images in django. I want to

Re: ImportError: No module named django.core.management

2013-07-28 Thread donarb
On Sunday, July 28, 2013 7:31:39 AM UTC-7, vinoth job wrote: > > venv > /bin > /build > /django > /include > /lib > /local > > > here i installed django-1.4.5. and there is no error output coming when i > run this command . > pip freeze|grep -i django > > > On S

Re: ImportError: No module named django.core.management

2013-07-28 Thread vinoth job
venv /bin /build /django /include /lib /local here i installed django-1.4.5. and there is no error output coming when i run this command . pip freeze|grep -i django On Sun, Jul 28, 2013 at 5:42 AM, René Fleschenberg wrote: > Hi, > > vinoth job: > > python ma

Re: ImportError: No module named django.core.management

2013-07-28 Thread vinoth job
venv /bin /build /django /include /lib /local here i installed django-1.4.5. and there is no error output coming when i run this command . pip freeze|grep -i django -- You received this message because you are subscribed to the Google Groups "Django users" g

Re: Django count

2013-07-28 Thread Justin Michalicek
It looks like maybe a slight change to your models and schema would make this a bit cleaner if I'm understanding your overall schema correctly. I would split this up into two different models with a ManyToMany relationship in there. I am assuming you have students and then an Egitim instance

working with images in django

2013-07-28 Thread Robert Brown
Hello, can anyone suggest where I might find some of example of working with images in django. I want to store them and pull them into text documents, about one every couple of paragraphs. I am finding a lot of posts on this site about the img class but most of them seem to address very speci

Re: html to pdf

2013-07-28 Thread Harjot Mann
On Sun, Jul 28, 2013 at 6:46 PM, Victor Rocha wrote: > https://github.com/rochapps/django-pdf Tried to implement it as given in readme.txt Giving internal server error. -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ -- You received this message because you are subscribed to the

django count

2013-07-28 Thread Murat Bilal
Hi all, I have a model like this, class Egitim(models.Model): name = models.CharField(max_length=200) surname = models.CharField(max_length=20) email = models.EmailField(max_length=75) course_name = models.CharField(max_length=300) num_of_courses_taken = models.IntegerFi

Django count

2013-07-28 Thread Murat Bilal
Hi all, I have a model like this class Egitim(models.Model): name = models.CharField(max_length=200) surname = models.CharField(max_length=20) email = models.EmailField(max_length=75) course_name = models.CharField(max_length=300) num_of_courses_taken = models.IntegerField(max

Haytack Installation of search engines

2013-07-28 Thread Kamal Kaur
In the documentation, """ More Like This To enable the “More Like This” functionality in Haystack, you’ll need to enable the MoreLikeThisHandler. Add the following line to your solrconfig.xml file within the config

Re: flatpages-tinymce

2013-07-28 Thread Roberto López López
Your message is quite confusing and difficult to understand, I have to say. What are you asking for? To show tinymce within your change_form or within the admin app? What do you mean by "flat pages"? Which error are you getting? On 07/28/2013 08:35 AM, Karl Arunachal wrote: > Hello, > I am tryi

Re: html to pdf

2013-07-28 Thread Harjot Mann
On Sun, Jul 28, 2013 at 6:52 PM, Gladson Simplício Brito wrote: > use this: > http://weasyprint.org/ Tried it. Getting an error. Traceback (most recent call last): File "/usr/local/bin/weasyprint", line 5, in from pkg_resources import load_entry_point File "/usr/lib/python2.7/dist-pack

Re: html to pdf

2013-07-28 Thread Gladson Simplício Brito
use this: http://weasyprint.org/ 2013/7/28 Victor Rocha > Shameless plug but you could use this: > https://github.com/rochapps/django-pdf > > -victor > > On Sunday, July 28, 2013 3:50:41 AM UTC-4, Harjot Mann wrote: >> >> Hello Everyone >> >> I am using Reportlaba nd pisa to convert the html te

Re: flatpages-tinymce

2013-07-28 Thread Roberto López López
On 07/28/2013 08:35 AM, Karl Arunachal wrote: > || -- Roberto López López System Developer Parallab, Uni Computing +47 55584091 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: html to pdf

2013-07-28 Thread Victor Rocha
Shameless plug but you could use this: https://github.com/rochapps/django-pdf -victor On Sunday, July 28, 2013 3:50:41 AM UTC-4, Harjot Mann wrote: > > Hello Everyone > > I am using Reportlaba nd pisa to convert the html template to pdf and > it is working but my question is that I want to con

html to pdf

2013-07-28 Thread Harjot Mann
Hello Everyone I am using Reportlaba nd pisa to convert the html template to pdf and it is working but my question is that I want to convert the html template directly to pdf. Right now it is retrieving data from database but I dont want this thing. Cant we create it directly form the templates by

Re: .filter() and .exclude() don't add up

2013-07-28 Thread Daniele Procida
On Sat, Jul 27, 2013, Steve McConville wrote: >Perhaps I'm not sure exactly what you mean by "more general", but I >was recommending something like > >red_things = queryset.filter(Q(color="red")) >non_red_things = queryset.filter(~Q(color="red") | Q(color__isnull=True) > >This will produce SQL li