Re: Error importing dbapi2 (SOLVED)...

2014-08-29 Thread Fred Stluka
python/virtualenvs/hhl/lib/python2.7/site-packages/sql_server instead of setting PYTHONPATH: % setenv PYTHONPATH ~/python/virtualenvs/hhl/lib/python2.7/site-packages/django/db/backends FYI, --Fred -------- Fred Stluka -- mailt

Re: How quickly do Django unit tests run?...

2014-08-27 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates. On 8/27/14 4:21 PM

Re: How quickly do Django unit tests run?...

2014-08-27 Thread Fred Stluka
Benjamin, OK, Thanks! So roughly how fast would you expect? Hundreds of trivial tests per minute? Thousands per minute? Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software

How quickly do Django unit tests run?...

2014-08-27 Thread Fred Stluka
How quickly do Django unit tests run? Mine are taking 7-9 seconds each, even for trivial tests like: self.assertEqual(1 + 1, 2) that are all in the same test class of the same app. Is this typical? Or do I have something misconfigured. Thanks! --Fred -- You received this message

Error importing dbapi2...

2014-08-25 Thread Fred Stluka
I'm getting error: django.core.exceptions.ImproperlyConfigured: Error loading either pysqlite2 or sqlite3 modules (tried in that order): cannot import name dbapi2 Any suggestions? Details: My settings.py contains: DATABASE = { 'default': { 'ENGINE': 'django.db.backends.sqlite3',

Re: Your further steps after tutorial?

2014-08-21 Thread Fred Stluka
I did the tutorial, then created this site for a local non-profit:   http://helphopelive.org --Fred Original message From: Jorge Andrés Vergara Ebratt Date:8/21/2014 9:55 PM (GMT-05:00) To: django-users@googlegroups.com Subject: Re: Your further steps

How to reverse both Django South migrations and source code?...

2014-04-18 Thread Fred Stluka
I have a few ideas about how to deal with this, but it must be a common problem. What do you folks do? Thanks! --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http:/

Re: Python / Django Web Applications Developer - Michigan $90-$100/hr

2014-02-10 Thread Fred Stluka
of the above before I agree to do a mailing to any of my lists of hundreds of local developers. This has kept my subscribers happy. HTH, --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle

Re: Problems Setting Up wsgi and Apache

2014-01-27 Thread Fred Stluka
ever use a full sentence when a simple phrase will do. Anyhow, good luck with your Django/WSGI setup! Any more problems, speak up. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fr

Re: Problems Setting Up wsgi and Apache

2014-01-26 Thread Fred Stluka
ps! --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Window

Re: Connecting to a MS SQL server from django

2014-01-19 Thread Fred Stluka
# Initialize your database $ python manage.py syncdb ## Fire it up! $ python manage.py runserver [Homebrew]: http://brew.sh/ Good luck! --Fred Fred Stluka -- mailto:f...@bristle.com -- http:

Re: Connecting to a MS SQL server from django

2014-01-19 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: Connecting to a MS SQL server from django

2014-01-19 Thread Fred Stluka
Larry, +1 for Pycharm (JetBrains). I use their DB tools to explore both MS SQL and MySQL DBs. If you like, I can dig up my notes on exactly how I made the connection from PyCharm to MS SQL Server. --Fred Fred Stluka

Re: Email Templates and the full website URL

2013-11-30 Thread Fred Stluka
s? --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Window

Re: How mature is Microsoft SQL Server support by the ORM?

2013-11-22 Thread Fred Stluka
Clifford, Yes, its because the legacy DB has Windows-1252 chars in it, but mis-informs Django that it is all UTF-8 chars. Not a problem with django-pyodbc, which seems to work perfectly. --Fred Fred Stluka -- mailto:f

Re: How mature is Microsoft SQL Server support by the ORM?

2013-11-21 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Looking for Django consultants near Philadelphia PA...

2013-11-17 Thread Fred Stluka
in western Philly suburbs - Full time (30+ hours/week) consultant - 6+ months Interested? --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad

Re: mod_wsgi setup

2013-11-15 Thread Fred Stluka
tino, Didn't need the WSGIPythonHome setting in Apache, eh? Interesting... --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service

Re: mod_wsgi setup

2013-11-15 Thread Fred Stluka
e.com/p/modwsgi/wiki/ConfigurationIssues - https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to

Re: Why is RequestContext used in this way?

2013-11-15 Thread Fred Stluka
passed the dictionary directly to render_to_response(). --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls

Re: implement gmail type address adding functionality in django

2013-08-05 Thread Fred Stluka
B. --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Window

Re: multiple templates fro single view

2013-08-01 Thread Fred Stluka
Can also use render_to_string(). --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we

Re: How to force modelForm.is_valid() to use a specific database?

2013-07-23 Thread Fred Stluka
;. --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Window

Re: CSRF in javascript

2013-07-20 Thread Fred Stluka
} return render_to_response('bookmark_list.html', variables, RequestContext(request)) --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc

Re: CSRF in javascript

2013-07-20 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: django dynamic template tag

2013-07-03 Thread Fred Stluka
Fadi, You need to {% load %} the file that defines the tags. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source

Re: ANNOUNCE: Django 1.5 released

2013-03-13 Thread Fred Stluka
Good idea! I donated $100. Excellent product. Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without

Re: MySQL Connector/Python Django 1.4

2012-11-22 Thread Fred Stluka
ve you instructions for those platforms. --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, w

Re: Incorrect Python Version Being Used

2012-11-15 Thread Fred Stluka
Tom, Excellent article! Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we

Re: initializing virtualenvwrapper on Mac (10.6.8) for Django

2012-11-06 Thread Fred Stluka
Nice! Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows

Re: Location of non-app-specific static files?

2012-11-04 Thread Fred Stluka
Yeah, I do the same with STATIC and COLLECTED_STATIC. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without

Re: Help me choose OS for django server

2012-10-30 Thread Fred Stluka
/Unix.htm#tripwire and 9 other security tips: http://bristle.com/Tips/Unix.htm#unix_security --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad

Re: Help me choose OS for django server

2012-10-30 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: Edit two related models on one form

2012-10-06 Thread Fred Stluka
ltiple answers. Also, to allow editing of existing questions and answers. I have code for that scenario too, if you can't figure it out, but this should get you started. Anyone else have improvements on this? --Fred -------- Fred Stl

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Fred Stluka
smtp.googlemail.com as you do with your Apple Mail client. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls

Re: Django Tutorial Equivalent to Ruby on Rails Tutorial by Michael Hartl

2012-09-27 Thread Fred Stluka
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
install --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
install Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we need no Windows or Gates

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Fred Stluka
setup.py build % sudo python setup.py install Success! Now I can access MySQL from my Python/Django apps. BTW, I also downloaded and installed PyCharm. Nice Python IDE! --Fred Fred Stluka -- mailto:f...@bristle.com

Easiest way to access MySQL from Django on Mac OS X?...

2012-09-22 Thread Fred Stluka
es there were a better way, but another reply says to just use MacPorts to install it. Any advice? Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Without walls and fences, we

<    1   2