Re: ImportError on apache server

2012-10-23 Thread Dae_James
I have solved this problem. Just visit http://www.lfd.uci.edu/~gohlke/pythonlibs/ and find a proper PIL library. Then reinstall PIL. Even though the library version which I find on http://www.lfd.uci.edu/~gohlke/pythonlibs/ and makes my program work normally is the same as the version I former

Import data from csv file to database from django admin side

2012-10-23 Thread Madhu
Hi! I tried to import the data from csv file to database. I refer below link https://groups.google.com/forum/#!msg/django-users/usjC-X9-p5E/94bf4tw3Ni8J I have create the models and view same like above link. I have create the "import" buttom on admin side by changing "app/change_list" html. On

xml dom (minidom) and python

2012-10-23 Thread MikeKJ
I cant see the wood for the trees here. help I got this big string of xml from a url which is of data associated to a boat and many boats the tags are 'VehicleRemarketingBoatLineItem' which is the overall tag for a boat set of data whcih contains various tags and tag groups, so dom = mi

xml dom (minidom) and python UPDATE

2012-10-23 Thread MikeKJ
Ok so I have realised that what I think I need is a dict of dicts so far I have a dict, stuff which will be populated by boat and engine BUT it doesnt seem to work using for z in [boat, engine]: stuff.update(z) to populate stuff but still seem to be getting a single boat result

django-ratings

2012-10-23 Thread rosy
Hi, I have installed django-ratings application in my project. But i am not able to understand about its proper usage. I have searched on web to find any documentation about it but couldn't get anything. Can anyone help me ? Regards, Rosy -- You received this message because you are subscribe

Re: Import csv file in admin

2012-10-23 Thread Meenakshi Ithape
On Wednesday, 3 November 2010 09:34:38 UTC+5:30, Jorge wrote: > > Jirka & Everybody > > Back to basics is always a good advice. With your help and this guy: > http://www.beardygeek.com/2010/03/adding-views-to-the-django-admin/ > I can create a form to upload csv files and input their records int

Re: strange problem with dajaxice and javascript

2012-10-23 Thread Michael J Kaye
Hi, On 23/10/12 01:24, cingusoft wrote: > i have a javascript callback function that return a data json string > from a dajaxice view > > this is the callback function > > function message_callback(data){ > alert(data.id); > var id_book = data.id; > var uploader = $('#uploader').plup

Import data from csv file to database from django admin

2012-10-23 Thread Meenakshi Ithape
Hi! I tried to import the data from csv file to database. I refer below link https://groups.google.com/forum/#!msg/django-users/usjC-X9-p5E/94bf4tw3Ni8J I have create the models and view same like above link. I have create the "import" buttom on admin side by changing "app/change_list" html. On

IntegrityError registration_registrationprofile when deleting user from admin

2012-10-23 Thread pietro conconi
Hi i've included django-registration in my project's apps. I've included in my project's settings AUTH_PROFILE_MODULE = "people.Profile" Trying to delete an User from admin interface, I'm still getting this frustrating error message *IntegrityError at /admin/auth/user/X/delete/* *update or delet

Re: Gunicorn vs Chaussette vs Meinheld

2012-10-23 Thread Santiago Basulto
Wow, thank you very much Tarek for your explanation. I'm willing to try Circus, seems pretty awesome indeed. There's just one thing 1 need to ask. As a summary... Are Chaussette and Meinheld WSGI servers just like Gunicorn, can those be used with Nginx as a reverse proxy? On Mon, Oct 22, 2012 at

Re: Gunicorn vs Chaussette vs Meinheld

2012-10-23 Thread Tarek Ziadé
On Tuesday, October 23, 2012 1:49:20 PM UTC+2, Santiago Basulto wrote: > > Wow, thank you very much Tarek for your explanation. I'm willing to > try Circus, seems pretty awesome indeed. You are welcome. If you need more help we're hanging in #mozilla-circus on Freenode > There's just one

Re: Gunicorn vs Chaussette vs Meinheld

2012-10-23 Thread mmrs151
Hi Tarek, is it not same as Supervisor or upstart, as you are saying they all are process manager. On Tuesday, 23 October 2012 12:56:26 UTC+1, Tarek Ziadé wrote: > > > > On Tuesday, October 23, 2012 1:49:20 PM UTC+2, Santiago Basulto wrote: >> >> Wow, thank you very much Tarek for your explanatio

csrf protection question

2012-10-23 Thread Àlex Pérez
I have override the CsrfViewMiddleware middleware by: class CustomCsrfViewMiddleware(CsrfViewMiddleware): def process_response(self, request, response): if getattr(response, 'csrf_processing_done', False): return response # If CSRF_COOKIE is unset, then CsrfViewM

Re: Gunicorn vs Chaussette vs Meinheld

2012-10-23 Thread Tarek Ziadé
On Tuesday, October 23, 2012 3:47:43 PM UTC+2, mmrs151 wrote: > > Hi Tarek, is it not same as Supervisor or upstart, as you are saying they > all are process manager. > - Circus is a process manager like Supervisord or upstart - Circus also binds sockets, like Gunicorn or Apache or Nginx - C

Re: Stop executing template tag

2012-10-23 Thread Nikhil Verma
Thanks to all . But Tome and Russel answers were absolutely correct.Worked like a charm. {% templatetag openvariable %} hello {% templatetag closevariable On Fri, Oct 19, 2012 at 4:16 PM, Russell Keith-Magee < russ...@keith-magee.com> wrote: > On Fri, Oct 19, 2012 at 6:21 PM, Nikhil Verma >

resolve() sample code in the Django docs

2012-10-23 Thread confused fellow
Hi With regard to the code example at the end of the resolve() documentation("test whether a view would raise a Http404 error before redirecting to it"), could anyone explain why the referer header is bei

Django Hello

2012-10-23 Thread Alex Clark
Hi: Not sure if my planet feed request will get approved, but I just wrote my first Django post :-) - http://blog.aclark.net/2012/10/23/django-hello/ Cheers -- Alex Clark · https://www.gittip.com/aclark4life/ -- You received this message because you are subscribed to the Google Groups "

Re: Combinable generic CBVs

2012-10-23 Thread Kudlaty
Hi, i just starting to use CBVs in django and i try to implement something like that: from django.views.generic import DetailView from .models import Product, ProductOpinion from .forms import OpinionForm class OpinionListMixin(object): queryset = ProductOpinion.objects.all().order_by('-da

Re: xml dom (minidom) and python UPDATE

2012-10-23 Thread Bill Freeman
Have you tried simplified code on a simplified XML file, playing with it in the shell to get a feel for what you can and can't do? And built up from there. I'm sorry that I can't be more direct. I always reach for lxml and its elementTree emulation when I have XML to parse. Bill On Tue, Oct 23

Re: Django setup with elsatic beanstalk

2012-10-23 Thread Andrzej Winnicki
Try with python.config instead of simple .config file (this is just an file extension, not file name). Requirements.txt should be at 'top-level directory of your source bundle'. More info here: http://docs.amazonwebservices.com/elasticbeanstalk/latest/dg/create_deploy_Python_custom_container.htm

Re: Displaying a custom field (PickledObjectField) in the admin

2012-10-23 Thread Alphydan
I have the same problem (on ubuntu, python 2.7, django 1.4, django-picklefield 0.2.1) ... does anybody have any insight? John, did you find a solution? Thank you. On Thursday, 8 April 2010 19:30:20 UTC+1, John DeRosa wrote: > > Hello Djangonauts, > > I'm doing something wrong, but I just can't

Re: Django setup with elsatic beanstalk

2012-10-23 Thread Andrzej Winnicki
Try also to change settings in .elasticbeanstalk/optionsettings. [aws:elasticbeanstalk:application:environment] DJANGO_SETTINGS_MODULE = PARAM1 = PARAM2 = PARAM4 = PARAM3 = PARAM5 = [aws:elasticbeanstalk:container:python] WSGIPath = application.py NumProcesses = 1 StaticFiles = /static=

Re: django formwizard NoFileStorageConfigured

2012-10-23 Thread Kenneth Love
I've just been hit by this too, exactly the same set up and problem. I'd love a fix/solution. On Sunday, March 11, 2012 5:27:33 AM UTC-7, danoro wrote: > > [ACTION] > > Subclass NamedUrlSessionWizardView and instantiate it with a set of > forms one of them containing a FileField > > class Comm

Re: csrf protection question

2012-10-23 Thread Russell Keith-Magee
Hi Àlex Django-developers is a mailing list for discussing the development of Django itself. If you have a general usage question, please direct it to django-users. Alternatively, if this was intended as a suggestion for something we should do to Django's CSRF middleware -- you'll need to explain

Re: csrf protection question

2012-10-23 Thread Russell Keith-Magee
… and, I've just noticed that you cross posted this to django-users *and* django-developers, which is also a no-no. Please choose the single appropriate mailing list and post your message once. In this case it sounds like django-users was the right place. Yours, Russ Magee %-) On Wed, Oct 24, 201

Re: django formwizard NoFileStorageConfigured

2012-10-23 Thread Russell Keith-Magee
Have either of you done a search of Trac to see if this issue has been reported previously? If there isn't, could you please open a ticket so that the problem isn't forgotten. Yours, Russ Magee %-) On Wed, Oct 24, 2012 at 6:47 AM, Kenneth Love wrote: > I've just been hit by this too, exactly th

Billing and invoicing app?

2012-10-23 Thread Jesramz
Quick question, is there a good billing and invoicing app, that anyone can point me to? Thanks all! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/cg8sQs

Re: Billing and invoicing app?

2012-10-23 Thread Mike Dewhirst
On 24/10/2012 1:08pm, Jesramz wrote: Quick question, is there a good billing and invoicing app, that anyone can point me to? http://www.djangopackages.com/ Thanks all! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion

Re: Billing and invoicing app?

2012-10-23 Thread Jesse Ramirez
Thanks Mike! I tried djangopackages and didn't find anything. I was wondering if anyone had a package that they found useful that might be of some help in this area. On Tue, Oct 23, 2012 at 9:18 PM, Mike Dewhirst wrote: > On 24/10/2012 1:08pm, Jesramz wrote: > >> Quick question, is there a good

Re: Billing and invoicing app?

2012-10-23 Thread Mac
I'm not sure if there's anything that is django-specific. There are a lot of payment processing apps out there, including stripe . I hear they provide a very good api libraries (including python), which would allow your to hook it up with Django. I don't know if this is what

[ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-23 Thread Surya Mukherjee
Django's standard User class isn't sufficient for my needs so I am making my own User class. As per the User Authentication doc page, I am subclassing AbstractUser (not AbstractBaseUser) to add some new stuff. from django.contrib.auth.models import AbstractUser class MyUser(AbstractUser):

Re: [ver. 1.5] Specifying custom User model (extends AbstractUser) doesn't work

2012-10-23 Thread Russell Keith-Magee
On Wed, Oct 24, 2012 at 12:02 PM, Surya Mukherjee wrote: > Django's standard User class isn't sufficient for my needs so I am making > my own User class. As per the User Authentication doc page, I am > subclassing AbstractUser (not AbstractBaseUser) to add some new stuff. > > > from django.co

Re: Billing and invoicing app?

2012-10-23 Thread Ali Nikneshan
Check this one, http://eldarion.com/blog/2012/10/23/easily-add-stripe-payments-your-django-site/ Just published :) Ali On Wednesday, October 24, 2012 6:56:42 AM UTC+3:30, Mac wrote: > > I'm not sure if there's anything that is django-specific. There are a lot > of payment processing apps out ther

Send data back to a table from template or send back to a view

2012-10-23 Thread Coulson Thabo Kgathi
Please help i have send a dictionary to a template now i want to send the processed data back to the database how do i do that in template language or javascript -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the we

Re: Billing and invoicing app?

2012-10-23 Thread Jesse Ramirez
Thanks! I really appreciate the help guys! -- 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.c