Re: how to convert to Django 3 or 4

2023-06-02 Thread john fabiani
ation should be much the same. HTH, David On Sat, Jun 3, 2023 at 7:21 AM john fabiani wrote: Hi everyone, I am tasked with updating/upgrading a very old Django web site - I believe it is 1.7.  I need convert and need what is required. Thanks in advance. I need to co

how to convert to Django 3 or 4

2023-06-02 Thread john fabiani
Hi everyone, I am tasked with updating/upgrading a very old Django web site - I believe it is 1.7.  I need convert and need what is required. Thanks in advance. I need to convert the following: from django.conf.urls import patterns, include, url from django.contrib import admin from django.c

Re: Make outgoing call Twilio API

2023-05-02 Thread john fabiani
I believe you would need a internet phone account - like google voice, or grasshopper. Johnf On 5/2/23 3:01 PM, Lightning Bit wrote: Hi All, I have a Django app where I want to make a phone call (in-app) to another users phone number. However, Twilio seems to only allow verified phone number

calling the same app multiple times

2022-11-07 Thread john fabiani
Hi, Django newbie question. I have a desktop application that I would like to move to the web.  The CRUD desktop app is written in python using wxPython. On the desktop app the user can open the same form/window multiple times.  I would like to know if I can do the same thing with Django.  My

secret api keys

2022-10-26 Thread john fabiani
Hi, Maybe a dumb question but if I add secret keys in my settings.py file (or should it be placed) will they be protected from the front end side (the part that is displayed to the user of the website). For example I have a secret key to access Authorize Net.  Will it be protected from someo

Re: How to insert fullcalendar object in django admin?

2018-07-13 Thread john fabiani
I think this uses fullcalendar.io - could be wrong https://github.com/dakrauth/django-swingtime Johnf On 07/13/2018 01:37 AM, Jhon Carrillo wrote: Hi Folks, I would like to know if someone in this group has inserted fullcalendar (https://fullcalendar.io/) in django admin. Is this possible?

Re: How to auto fill latitude and longitude fields in Django2.0.6?

2018-06-18 Thread john fabiani`
I use pygeocoder.py and something like this! johnf class Getlatitudelongitude(dObject):     ###     #   gmaps.py     ###     import urllib     from time import sleep     import pygeocoder     key = "here_goes_your_key"     def location2

Re: Using other schema in PostgeSQL

2018-04-07 Thread john fabiani`
https://stackoverflow.com/questions/1160598/how-to-use-schemas-in-django?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa Johnf On 04/06/2018 05:28 PM, Michel Vega Fuenzalida wrote: Hello people, I'm using PostgeSQL not using the public schema but a different one named

Re: Convert Excel code to Python

2018-01-09 Thread John Fabiani
There are several libs available that deal with excel. I normally just use xlwt. But, if memory serves, xlwing does something with vba. I've never used xlwing so I might completely wrong. Either way check out all the python libs for excel. Johnf On Tue, Jan 9, 2018 at 4:27 PM, RM T wrote: >

Re: trouble with setting static for img and css

2017-05-11 Thread John Fabiani
First thanks for responding. Yes there is a website www.pesprograms.com but I'm using the code in the development and it is a virtualenv. The path I provided is in fact the real path (not my 'home'). When I run collectstatic I get none of my static files - actually I'm just looking for favicon.ic

Re: Phone number field in form/ model

2016-12-15 Thread John Fabiani
django-phonenumber-field is expecting a charfield and not a int. Johnf On Thu, Dec 15, 2016 at 5:12 AM, Deep Shah wrote: > I have not tried this out but you can check this- > > https://github.com/stefanfoulis/django-phonenumber-field/ > > > > On Thursday, December 15, 2016 at 1:07:02 AM UTC+5:30

Re: Trying to use Django 1.9.5, django_pyodbc, MS SQL Server 2012 on 64bit Windows 7

2016-08-11 Thread John Fabiani
Prove to yourself that the pyodbc connection is working correctly without django. On Wed, Aug 10, 2016 at 6:37 PM, Mike Dewhirst wrote: > On 11/08/2016 5:11 AM, Evan Roberts wrote: > >> I'm struggling to get a project going. I'm new to python and django. >> >> Is django_pyodbc supported on Pytho

Re: Fwd: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
normal POST/GET from the browser? -Nick On Wednesday, April 9, 2014 5:59:37 PM UTC-7, John Fabiani wrote: I have created a csrf.js added the code. I added it to the html base I've added the {% csrf_token %} in the form. Where oh where do I use the code or is it magic! Doe

Re: Fwd: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
On 04/09/2014 04:25 PM, Nick Santos wrote: Hey John, Is this a server you could turn set DEBUG=True for and send this list the results of the error page that's produced? That could be super valuable in tracking down the error. -Nick On Wed, Apr 9, 2014 at 4:00 PM, John Fabiani <mail

Re: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
Do you guys think is possible the jQuery Form plugin is some how interfering with the token? Johnf On 04/09/2014 02:18 PM, John Fabiani wrote: The code looks great. I just do not know where the code goes and how it is to be called. For example: Should the code you provided be in .alaxSubmit

Re: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
probably gain a lot from upgrading, but I would be a bit worried about deprecated features. Try it out, if it works with no issues - great, if not then you can decide if you want to fix the errors or revert. Kirby On Wednesday, April 9, 2014 1:57:24 PM UTC-5, John Fabiani wrote: Also

Re: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
Also I was using jquery 1.4 with Django 1.2. Should I upgrade the jquery? Johnf On 04/09/2014 11:54 AM, John Fabiani wrote: I've read that paragraph 15 different ways (maybe even standing on my head). I still don't understand what I'm missing. Believe me I realize I might be

Re: Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
ere, but you are missing necessary headers on the ajax request. It isn't that much code. Just follow the couple of paragraphs of doc and examples here: https://docs.djangoproject.com/en/1.6/ref/contrib/csrf/#ajax Kirby On Wednesday, April 9, 2014 12:47:12 PM UTC-5, John Fabiani wrote:

Moving from 1.2 to 1.6

2014-04-09 Thread John Fabiani
Hi, I be honest this {% csrf_token %} has me completely baffled. I have read the doc's and I guess I have to admit I don't understand what I'm doing. I have action="/register/registeruser/" > {% csrf_token %} ... Which I think is the correct way to add the token. My form uses submitHandler

Re: need immediate help setting up Apache

2013-05-28 Thread John Fabiani
rdomain.com>> Options FollowSymLinks -Indexes AllowOverride None 2013/5/28 John Fabiani mailto:jo...@jfcomputer.com>> Yes I have complete control. But I don't know how to set it up. Johnf On 05/28/2013 07:39 AM, Rafael E. Ferrero wrote:

Re: need immediate help setting up Apache

2013-05-28 Thread John Fabiani
Yes I have complete control. But I don't know how to set it up. Johnf On 05/28/2013 07:39 AM, Rafael E. Ferrero wrote: you have access to config files of apache ?? like site-available/yoursite.com <http://yoursite.com> to set your virtuals hosts ?? 2013/5/28 John Fabiani

need immediate help setting up Apache

2013-05-28 Thread John Fabiani
Hi Folks, I need immediate help setting up Apache on an openSUSE 12.3. I'm willing to pay a little for the help. Currently I have my scripts working using manage.py runserver. But I don't understand what I need to do with Apache. I have to get website up today. I will also have to setup the

satchmo project down?

2011-08-30 Thread John Fabiani
Hi, I can't get one the website. Johnf -- 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.com.

Re: anybody using PhoneGap with Django

2011-07-08 Thread John Fabiani
On Friday, July 08, 2011 10:41:02 am br wrote: > I am currently in the middle of a project where we are planning on > using Django with PhoneGap . . . Haven't completed yet, or gotten to > the PhoneGap part of it, so can't report its success or not yet. > > Basically, we are using jQuery Mobile to

Re: anybody using PhoneGap with Django

2011-07-07 Thread John Fabiani
On Thursday, July 07, 2011 08:48:51 pm Andy McKay wrote: > On 2011-07-07, at 2:22 PM, John Fabiani wrote: > > I'm wondering if anyone has had any success with PhoneGap and Django? > > Yes. > -- > Andy McKay > a...@clearwind.ca > twitter: @andymckay LOL - I g

anybody using PhoneGap with Django

2011-07-07 Thread John Fabiani
Hi guys, I'm wondering if anyone has had any success with PhoneGap and Django? Johnf -- 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

Re: tutor -request

2010-12-23 Thread John Fabiani
On Thursday, December 23, 2010 10:18:16 am John Fabiani wrote: > Hi, > I have been looking for a kind soul to help me learn Django. I am self > taught and most of my work has been done using "try it and see if it > works". I am willing to pay for an hours time because I

tutor -request

2010-12-23 Thread John Fabiani
Hi, I have been looking for a kind soul to help me learn Django. I am self taught and most of my work has been done using "try it and see if it works". I am willing to pay for an hours time because I will have to deploy very soon and will need assistance with installing on a Apache server. I'

Re: django/contrib/auth/models.py goes nuts

2010-12-23 Thread John Fabiani
On Thursday, December 23, 2010 09:05:21 am Steve Holden wrote: > On 12/23/2010 11:54 AM, John Fabiani wrote: > > On Thursday, December 23, 2010 12:39:44 am bruno desthuilliers wrote: > >> On 23 déc, 06:33, John Fabiani wrote: > >> > >> (snip) > >> &g

Re: django/contrib/auth/models.py goes nuts

2010-12-23 Thread John Fabiani
On Thursday, December 23, 2010 12:39:44 am bruno desthuilliers wrote: > On 23 déc, 06:33, John Fabiani wrote: > > (snip) > > John, may I suggest that instead of trying whatever comes to mind and > wonder what happens, you spend some times learning Python, specially > t

Re: django/contrib/auth/models.py goes nuts

2010-12-22 Thread John Fabiani
On Wednesday, December 22, 2010 07:18:15 pm John Fabiani wrote: > On Wednesday, December 22, 2010 06:44:47 pm John Fabiani wrote: > > Hi, > > I had a working website for about the last 2 weeks. I was using a test > > database (Postgres). I am also using SVN for my c

Re: django/contrib/auth/models.py goes nuts

2010-12-22 Thread John Fabiani
On Wednesday, December 22, 2010 06:44:47 pm John Fabiani wrote: > Hi, > I had a working website for about the last 2 weeks. I was using a test > database (Postgres). I am also using SVN for my code and have tried to > revert back many versions and I still get these new errors. &g

django/contrib/auth/models.py goes nuts

2010-12-22 Thread John Fabiani
Hi, I had a working website for about the last 2 weeks. I was using a test database (Postgres). I am also using SVN for my code and have tried to revert back many versions and I still get these new errors. The error first appeared as datetime has no Attribute 'None' for a line in my views.py

Re: OT: getting strange attempted gets

2010-11-14 Thread John Fabiani
On Sunday, November 14, 2010 09:19:01 am Shawn Milochik wrote: > It's definitely possible. I've seen that myself before. > > Shawn While in this runserver mode is my database password exposed? Johnf -- You received this message because you are subscribed to the Google Groups "Django users" gr

OT: getting strange attempted gets

2010-11-14 Thread John Fabiani
Hi, I'm a newbie to not only django but web programming in general. I have noticed that when I run my "python mange.py runserver" command I see strange entries that have nothing to do with my programming efforts. GET some URL (not mine) returns 404 or CONNECTION some IP address (not on my netw

change the color of messages fr .validate

2010-11-09 Thread John Fabiani
Hi, Newbie here! Therefore I'll need a little detail (like show the code). How in the heck can I change the color of the messages from jquery.validate.js Here's my code: $("#registration_form").validate({ rules: { first_name : "required", last_name :

schema support

2010-08-11 Thread John Fabiani
Hi, I think support for postgres schema's is coming in 1.3 but I wonder is it possible to support schema in 1.2.1? If it can - could someone provide the how? or maybe a link. Thanks in advance, Johnf -- You received this message because you are subscribed to the Google Groups "Django users"

I did something wrong while registered

2010-08-09 Thread John Fabiani
Hi, I recently registered for the group and I must have done something wrong because I am receiving every posting twice (duplicates). Can someone fix the problem or direct me to where I can fix it. Thanks in advance Johnf -- You received this message because you are subscribed to the Google