Session resets - help me find the bug.

2012-03-21 Thread Daniel Sokolowski
Hi All, I have the following code: http://dpaste.com/719654/ for a session based cart implementation I've created. I run into an odd bug/issue that I can't figure out, when I create or retrieve the Cart instance from session by hooking into __new__ class method my session gets wiped or corruped I

Re: Is it secure to have IDs show up in URLs?

2012-03-23 Thread Daniel Sokolowski
Rather then obscuring the urls, in my mind per object level permission, or even a simple status fields with a live(...) objects manager would do the trick better. One can attempt guess and access the next sequence but it won't show. I personally use status field on almost all my models and pe

Re: where do you host your django app and how to you deploy it?!

2012-04-04 Thread Daniel Sokolowski
er of copying the site to live server and switching to live mode; also all of the projects are as self contained as possible with PIP, keeping settings files and raw media files with project folder. Sample apache conf and wsgi files - http://dpaste.com/726790/, http://dpaste.com/726792/. Daniel Sokol

Re: Django deployment practices -- do people use setup.py?

2012-04-18 Thread Daniel Sokolowski
oup. 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. Daniel Sokolowski Web Engineer Danols Web Engineerin

Re: apache2 privileges

2012-04-18 Thread Daniel Sokolowski
ango-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. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ Office:

Re: Logging works from 'manage.py shell', not from app

2012-04-18 Thread Daniel Sokolowski
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/-/TKIfqpwWZcUJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-u

Re: [Question] Filter Queryset in a Template

2012-04-18 Thread Daniel Sokolowski
ups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ Office: 613-817-6833 Fax: 613-817-4553 Toll Free: 1-855-5DANOLS Kingston, ON K7L 1H3, Canada Notice of Confide

Re: Is there such a open source django project?

2012-04-18 Thread Daniel Sokolowski
group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ Office: 613-817-6833 Fax: 613-817-4553 Toll Free: 1-855-5DANOLS Kingston, ON K7L 1H3, Canada Notice of Confidentiality: The information transmitted is int

Re: apache2 privileges

2012-04-18 Thread Daniel Sokolowski
Hi Bruno, Can you expand on that, each of your sites has a user account created? Yes? -Original Message- From: bruno desthuilliers Sent: Wednesday, April 18, 2012 10:21 AM To: Django users Subject: Re: apache2 privileges On Mar 9, 6:43 pm, "j...@jsdey.com" wrote: My apache2 server o

Re: Force the user to add an instance of some InlineModelAdmin when adding a model

2012-04-19 Thread Daniel Sokolowski
oogle 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. Da

Re: UrlConf problem when capture value from url

2012-04-20 Thread Daniel Sokolowski
mail to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer KL Insight http://klinsight.com/ Tel: 613-344-2116 | Fax: 613.634.7029 993 Princess Street, Suite 212 Kingston, ON K7L 1H3, Canada

Re: Developing first Django Site -- any advice on co-developing effectively with a professional?

2012-04-20 Thread Daniel Sokolowski
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. Daniel Sokolowski Web Engineer KL Insight http://klinsight.com/ Tel: 613-344-2116 | Fax: 613.634.7029 993 Princess Street, Suite

Re: python list in javascript

2012-04-20 Thread Daniel Sokolowski
see http://docs.python.org/library/json.html So you output it in JSON format into a JS variable and then you can use it that way. From: dummyman dummyman Sent: Friday, April 20, 2012 12:38 PM To: django-users@googlegroups.com Cc: Philip Mountifield Subject: Re: python list in javascript no

Re: keep models simple ? where to put the business logic ?

2012-04-23 Thread Daniel Sokolowski
" 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. Daniel Sokolowski Web Engineer KL In

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Daniel Sokolowski
s group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ Office: 613-817-6833 Fax: 613-817-4553 Toll Free: 1-855-5DANOLS Kingston, ON K7L 1H3, Canada -- You received this message because you are subscri

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Daniel Sokolowski
To add: install the Eclipse "Marketplace Client" plugin and use that to locate your plugins. -Original Message----- From: Daniel Sokolowski Sent: Monday, April 23, 2012 11:44 AM To: Django users Subject: Re: New to Jdango - What IDE to use? Eclipse + PyDev + whatever else yo

Re: 'too many SQL variables' error with ModelMultipleChoiceField

2012-04-23 Thread Daniel Sokolowski
hort: this idea is definitely worth more investigation. - Anssi -- 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-u

Re: Django deployment practices -- do people use setup.py?

2012-04-23 Thread Daniel Sokolowski
deployment practices -- do people use setup.py? On 18 April 2012 23:21, Daniel Sokolowski wrote: Can you clarify if you approach can handle things that are not installable through pip? For example I run into an issue with geodjango requirements - I was not able to get everything installed

Canadian Django Meetings?

2012-04-25 Thread Daniel Sokolowski
Does anyone know of any upcoming Django meet ups in Canada? Has there been any? Would you come? I am living in Ontario, so Toronto being the venue would seem like a logical choice. Thoughts? -- You received this message because you are subscribed to the Google Groups "Django users" group. To p

Re: Just sharing my Skype username

2012-04-25 Thread Daniel Sokolowski
visit https://groups.google.com/d/msg/django-users/-/cxb1CEkgcMUJ. 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/dja

Re: Django deployment practices -- do people use setup.py?

2012-04-25 Thread Daniel Sokolowski
practices -- do people use setup.py? On 24 April 2012 02:21, Daniel Sokolowski wrote: Both, system libraries and not python files --- anything outside of Python land that PIP can’t handle. How do you handle that if you want a self contained easy to deploy project? Well then it's safe to ass

Re: deploying django - including third party apps

2012-04-25 Thread Daniel Sokolowski
/django-users/-/ebNCfRv5ozYJ. 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. Daniel

Re: How to serve files to client?

2012-04-27 Thread Daniel Sokolowski
o 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. Da

Re: Django deployment practices -- do people use setup.py?

2012-04-27 Thread Daniel Sokolowski
s+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ -- You received this message because you are subscribed to the Google Groups "Django users&

Re: keep models simple ? where to put the business logic ?

2012-04-27 Thread Daniel Sokolowski
sit https://groups.google.com/d/msg/django-users/-/xIv_DaMs02gJ. 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 Database

2012-04-27 Thread Daniel Sokolowski
(Your site's contact us emails don't seem to work, hence below is a copy of my response to you) Mr Everett, It's unfortunate about your past developer but their loss could be an opportunity for the KL Insight that I work for. My name is Daniel Sokolowski and I can proudly tel

Re: html5 + Django

2012-05-01 Thread Daniel Sokolowski
@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group

GET parameters and custom admin query filters

2012-05-02 Thread Daniel Sokolowski
As per 'https://docs.djangoproject.com/en/1.3/releases/1.2.4/ #restricted-filters-in-admin-interface' to be able to create GET parameters on the fly one has to add it to the `ModelAdmin.list_filter` setting. That's what I have been doing however on my latest project I am using a custom admin filt

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-03 Thread Daniel Sokolowski
s are not that great I recon - I would guess target being business making $20 an hour I doubt that happens often though. Final food for thought - a plumber service here starts at $60-100 / hour. -- Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ Office: 613-8

Re: Satchmo product model ER graph?

2012-05-03 Thread Daniel Sokolowski
x27;d like to save time. Thanks to all Kooliah -- Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ -- 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@g

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-03 Thread Daniel Sokolowski
come - location and project duration specific On Thu, May 3, 2012 at 2:47 PM, Daniel Sokolowski wrote: Did the math here and that works out to about $2700/month. I would say that would be the bare minimum considering my NOT lavish life style - family, house, car etc. It completely depe

Re: Min requirements for running django?

2012-05-07 Thread Daniel Sokolowski
mail to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ or http://klinsight.com -- You received this message because you ar

Re: Generic Views with flair?

2012-05-07 Thread Daniel Sokolowski
cr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en. Daniel Sokolowski Web Engineer KL Insight http://klinsight.com/ or http://webdesign.danols.com -- You received this message because you are subscribed to the Google Groups "Djan

Re: Django - Worldwide Developer Rates - Hourly Income - location and project duration specific

2012-05-07 Thread Daniel Sokolowski
roup/django-users?hl=en. Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ -- 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 uns

Re: Need local engineering support

2012-05-07 Thread Daniel Sokolowski
Mr. Snee, My name is Daniel Sokolowski and I can proudly tell you that I am great at what I do, and the company I work for - KL Insight - stands behind their work. Yes we are not local to you however keep in mind that web engineering has no borders. KL Insight is definitely worth your

Re: Implementing Django Search

2012-06-18 Thread Daniel Sokolowski
eceived 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/-/6jWgePRRzQYJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send ema

Re: Wsgi path problem: deploying on a production server

2012-06-18 Thread Daniel Sokolowski
on the web visit https://groups.google.com/d/msg/django-users/-/vmcXzx9B3I8J. 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

Re: Our thanks/acknowledgments for Django

2012-06-20 Thread Daniel Sokolowski
s group at http://groups.google.com/group/django-users?hl=en. -- Daniel Sokolowski Web Engineer Danols Web Engineering http://webdesign.danols.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Our thanks/acknowledgments for Django

2012-06-20 Thread Daniel Sokolowski
satisfies curiosity! Cal On Thu, Jun 21, 2012 at 12:20 AM, Daniel Sokolowski <mailto:elg...@danols.com>> wrote: Hi Cal, thank you for sharing and congratulations, I do something very similar on my sites but call it a credits page - it is a great place to be putting SEO back

Re: Need Django experts to explain some of my questions in bay Area, CA

2012-08-20 Thread Daniel Sokolowski
Feel free to call our office and ask for me - (613) 817-5159 On Monday, 20 August 2012 00:05:01 UTC-4, Nirmal Sharma wrote: > > Hi, > I am building a website for non-profit work using Django but i got stuck > at one place. > It would be great if somebody help me in resolving some of my question.