Re: Best and affordable payment gateway for shopping carts

2021-03-23 Thread JC Briar
Stripe.com On Tuesday, March 23, 2021 at 6:00:58 AM UTC-7 ram.mu...@gmail.com wrote: > Hi, > > We are exploring best payment gateway for a Django based web and mobile > application. Our criteria for choosing this payment gateway is like this: > > 1. Looking for either affordable or free option

testing automl vision

2019-04-23 Thread jc jeth
im getting an error when running the python predict.py scripts. it returns "google.api_core.exceptions.ServiceUnavailable: 503 Deadline Exceeded" -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Updating Satchmo/Django store to SHA-256 and G5 Root Certificate

2016-08-10 Thread jc
I have a Satchmo/Django e-commerce store that I've sort of inherited. :/ The client got an email from PayPal recently stating that they will be updating fromm SHA-1 to SHA-256 and changing to a G5 Root Certificate as well. I will need to update the store (probably specifically the PayPal

Re: How to log a user in automatically after a password reset?

2012-11-28 Thread JC Briar
Ah, that's pretty slick! Thanks for the explanation. -- 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/-/oLoM0-qA1gkJ. To post to this group, send email to

Re: How to log a user in automatically after a password reset?

2012-11-28 Thread JC Briar
Option 1 doesn't hold much appeal, for all the reasons you mention. Option 2 is a possibility, I suppose. Checking to see if password_reset_confirm returns an HttpRedirect is a possibility I hadn't considered. Option 3 is intriguing. But this part has me scratching my head: > Then, write a

How to log a user in automatically after a password reset?

2012-11-27 Thread JC Briar
When a user has forgotten their password, I use django.contrib.auth.views.password_reset to send an email containing a temporary link. When the user follows that link, I use password_reset_confirm to let them set a new password. So far, so good. But password_reset_confirm doesn't automatically

Re: django.contrib.markup "Deprecated in Django 1.5"??

2012-10-02 Thread JC Briar
Thanks! -- 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/-/KpLI-foHRJoJ. To post to this group, send email to django-users@googlegroups.com. To unsubscribe

django.contrib.markup "Deprecated in Django 1.5"??

2012-10-02 Thread JC Briar
Can someone please explain to me why the dev version of the docs for django.contrib.markupbegins with the statement "Deprecated in Django 1.5: This module has been deprecated"? Deprecated why? Is something better coming in Django 1.5,

Re: What's the best way to save generated images?

2012-09-25 Thread JC Briar
Okay, this may not be the most efficient implementation, but it works: # create temporary file tmpfile = tempfile.TemporaryFile() *write to tmpfile* # wrap temporary file with django.core.files.File fileContents = django.core.files.File(tmpfile) fileContents.size = tmpfile.tell() #

What's the best way to save generated images?

2012-09-21 Thread JC Briar
I'm writing an app that will generate, store, and display chart images. The idea is this: When a site visitor requests a given chart image, the app will check to see if it already exists. If not, the app will generate and store the necessary image before displaying it. Towards that end, I have

Will Django run on z/linux?

2012-03-16 Thread jc
We have a number of z/linux (z/vm s390) Linux servers and would like to consider porting this application to one of the instances. Will it run on z? Thanks, JC -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: Logging from multiple processes

2012-02-16 Thread JC
On Feb 15, 7:57 am, bruno desthuilliers <bruno.desthuilli...@gmail.com> wrote: > On Feb 14, 6:23 pm, JC <catalanoj...@gmail.com> wrote: > > > Hey guys, > > > Does Django 1.3.1 handle logging from multiple processes or I have to > > have some special

Django runserver 504 on static assets with IE only

2012-02-14 Thread JC
Hello, I have a linux django 2.7 dev server using runserver 0.0.0.0:8080 serving webpages to a windows host on the same LAN. On all the other browsers (FF, Chrome, Safari), the pages load fine. On IE8 however, my fiddler trace shows that random static assets (css, js, img) aren't loading most

Logging from multiple processes

2012-02-14 Thread JC
Hey guys, Does Django 1.3.1 handle logging from multiple processes or I have to have some special consideration? This document may be related: https://code.djangoproject.com/wiki/LoggingProposal but its two years old so I was wondering maybe Django now supports this? Thanks! JC -- You

Re: Can you drop a Python script into a Django page?

2011-11-12 Thread jc
Oh, this does help...tremendously. Thanks for taking the time out and explaining. I think that's enough for me to start learning via the docs/experimenting and hopefully get something implemented. If I can't implement this, do you know anyone that could do this for a fee? thanks, jimmy --

Re: Can you drop a Python script into a Django page?

2011-11-12 Thread jc
Oh, that would *totally* be fine. I have no idea how to do that, do you know of any docs that might show me how to execute this code on the server-side and print out via AJAX? thanks! jimmy -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Can you drop a Python script into a Django page?

2011-11-12 Thread jc
Hi, Is it possible to drop a Python script (around 50 lines) into one of your django pages? Would this be embedding into the template code? I am experimenting with doing this but I haven't had any luck in finding out how. An example of what I am trying to do is to place a script like this

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
I ran the Django develplment server and everything runs fine. It's only when I go back to the other web server that things start to break on me. On Dec 11, 8:06 pm, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 12/12/2010 10:56am, jc wrote: > > > > > > > >

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
what I'm doing but that is *not* the reason my django app is not running, correct? thanks again, j. On Dec 11, 7:09 pm, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 12/12/2010 10:35am, jc wrote: > > > You definitely lost me in some places but you've also cleared some > >

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
ime to "change plans" at this moment. thanks again for the help! j. On Dec 11, 6:35 pm, jc <jimmy.case...@gmail.com> wrote: > You definitely lost me in some places but you've also cleared some > things up in the process. I also noticed that I had " www/wsgi-scripts>&qu

Re: Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
configs. :/ thanks for the reply back, I do appreciate it... j. On Dec 11, 5:29 pm, Mike Dewhirst <mi...@dewhirst.com.au> wrote: > On 12/12/2010 7:14am, jc wrote: > > > Apache&  mod_wsgi are configured correctly (I've created a hello > > world .html ap

Apache & mod_wsgi are configured correctly. Need Django to recognize my django.wsgi file.

2010-12-11 Thread jc
Apache & mod_wsgi are configured correctly (I've created a hello world .html apache file and a hello world mod_wsgi application with no problems). I know need my Django app to recognize my django.wsgi file. What makes me think that it's not recognizing my wsgi file is that I went into my

Error when running python manage.py loaddata datadump.json

2010-12-06 Thread jc
I'm migrating my Django database from sqlite to mysql. I've done the following with no problems: python manage.py dumpdata > datadump.json Changed my settings.py to the mysql database. But when I issue the following command python manage.py loaddata datadump.json I get this error: IntegrityError:

I'm trying to get this code http://paste.pocoo.org/show/300846/ to print a newline *before* each heading, what's the best way to do this?

2010-12-05 Thread jc
I need this code http://paste.pocoo.org/show/300846/ to print a newline *before* each heading (essentially, wrapping it to the next line). Create another loop to do this or is there an easier way? Thanks, J. -- You received this message because you are subscribed to the Google Groups "Django

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread jc
Hmm, well that's no good! ;) On Fri, Oct 16, 2009 at 10:21 AM, Ramdas S <ram...@gmail.com> wrote: > > > On Fri, Oct 16, 2009 at 10:48 PM, jc <glib...@gmail.com> wrote: >> >> Finally.  I wonder if th

Re: Good News !! A mate found for your dog ...

2009-10-16 Thread jc
Finally. I wonder if their site uses django? On Fri, Oct 16, 2009 at 7:36 AM, turk970 wrote: > > You love your dog and your dog love’s you! > > > Give your dog the opportunity to find a soul mate, enjoy life to the > full and who knows maybe end up with little puppies.

Re: Converting namespaces to dictionaries for use in template context processors ...

2009-10-15 Thread jc
dispatch: print str( config(None) ) ### ... seems to do the trick. -John On Thu, Oct 15, 2009 at 8:55 PM, jc <glib...@gmail.com> wrote: > > Hey Django users, > > So I've got a python file in my django app that I'm using to sto

Converting namespaces to dictionaries for use in template context processors ...

2009-10-15 Thread jc
Hey Django users, So I've got a python file in my django app that I'm using to store some configs in (to be global across several django apps), it's basically looks something like this: [ -- Contents of Config.py -- ] VERSION = '0.1' MEDIA_PREFIX = '/usr/local/dev-www/m/' [ .. etc ...] class u: