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

2012-09-22 Thread Fred Stluka
ructions by an author who wishes 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

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

2012-09-23 Thread Fred Stluka
2.3 % python 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

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

2012-09-23 Thread Fred Stluka
build % sudo python setup.py 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 fence

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

2012-09-23 Thread Fred Stluka
build % sudo python setup.py 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 fence

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

2012-09-27 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 Windows or

Re: send_mail on MAC OS X 10.7

2012-10-03 Thread Fred Stluka
like 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 wall

Re: Edit two related models on one form

2012-10-06 Thread Fred Stluka
ou'll have to enhance the above to support multiple 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 --

Re: Help me choose OS for django server

2012-10-30 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 Windows or

Re: Help me choose OS for django server

2012-10-30 Thread Fred Stluka
/Tips/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: 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: 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 or

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: MySQL Connector/Python Django 1.4

2012-11-22 Thread Fred Stluka
OS X. I can give 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 wall

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: 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: 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: CSRF in javascript

2013-07-20 Thread Fred Stluka
7;show_edit':True, 'show_tags':True } return render_to_response('bookmark_list.html', variables, RequestContext(request)) --Fred Fred Stlu

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: 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: 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: Why is RequestContext used in this way?

2013-11-15 Thread Fred Stluka
;ve always 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: Wit

Re: mod_wsgi setup

2013-11-15 Thread Fred Stluka
odwsgi/wiki/QuickConfigurationGuide - http://code.google.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/

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 se

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 to be of

Re: Downloading thumbnails and replacing them with full images

2015-01-24 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: Accessing Django test client in setUpClass

2015-01-29 Thread Fred Stluka
Nicole, If you can't access self.client of TestCase, you can always allocate one yourself as: c = Client() See details in: - http://www.dougalmatthews.com/2010/Jan/20/testing-your-first-django-app/ --Fred Fred S

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 after tutorial? After

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',

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 becau

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

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

2014-08-27 Thread Fred Stluka
ime is going. Thanks again! --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: 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-29 Thread Fred Stluka
Benjamin, I solved my problem. I switched to SQLite for testing and now run 500+ tests in 30 secs instead of 75 minutes. Much better! Thanks for your help! --Fred Fred Stluka -- mailto:f...@bristle.com -- http

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

2014-09-02 Thread Fred Stluka
s if over 100 concurrent users - Use db_routers.py to write primary DB, read replica DB Thanks again! --Fred -------- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad

Re: Django 1.5.1 - Mysql - Setting

2014-09-11 Thread Fred Stluka
.0.0.1', # Required for Windows; Harmless (same as default) for Linux 'PORT' : '3306', }, --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristl

Re: What't the best way to track created by and modified by in Django 1.7?

2014-09-17 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: Open Django template in dialog box (not in window)

2014-09-22 Thread Fred Stluka
g/ --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: Is there anything similar to phpmyadmin

2014-09-22 Thread Fred Stluka
e this helps! --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

Re: Open Django template in dialog box (not in window)

2014-09-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 Windows or

Re: Can not include jquery in django template

2014-09-23 Thread Fred Stluka
Change it to: </tt><tt> --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

Re: Lightening talk ideas for a (relative) beginner?

2014-09-24 Thread Fred Stluka
assertEqual(response.content, '0') # An invalid vote - poll doesn't exist response = c.post('/polls/2/vote/', {'choice': '1',}, **kwargs) self.assertEqual(response.status_code, 404) - Selenium te

Re: Open Django template in dialog box (not in window)

2014-09-24 Thread Fred Stluka
Excellent! Thanks! Now I can just point my team at it, instead of writing out the details myself. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com

Re: Upgrading Django (to 1.7)

2014-09-25 Thread Fred Stluka
Andrew, Good stuff! Thanks! We're still on 1.4, but planning a move soon to 1.7. Very helpful. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristl

Re: Upgrading Django (to 1.7)

2014-09-25 Thread Fred Stluka
es//table_name/.default.json - Add to forwards() method: call_command("loaddata", "/table_name/") --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, In

Re: Upgrading Django (to 1.7)

2014-09-26 Thread Fred Stluka
grations/#dependencies --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 fence

Fwd: Re: Upgrading Django (to 1.7)

2014-09-27 Thread Fred Stluka
and manipulate orm.ModelName instead of appname.models.ModelName, it should solve exactly the problem you are describing. Hope this helps, --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- htt

Re: templates: if and static tags incompatible?

2014-09-29 Thread Fred Stluka
The problem is that static is not being recognized as a valid Django tag. Add this line to the top of the template file to define it. {% load staticfiles %} --Fred Fred Stluka -- mailto:f...@bristle.com -- http

Re: Upgrading Django (to 1.7)

2014-10-05 Thread Fred Stluka
- Differences from Django 1.7 migrations - How to get started with Django 1.7 migrations - Unicode vs ASCII issues - Use of objects.bulk_create() Thanks! --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.

Re: Upgrading Django (to 1.7)

2014-10-09 Thread Fred Stluka
APPS, plus a whole lot more, right? Otherwise, can you suggest where I can find an article similar to yours that gets me from 1.4 to 1.5 and on to 1.6 before I use yours to get me from 1.6 to 1.7? Thanks! --Fred -------- Fred Stluka

Re: Upgrading Django (to 1.7)

2014-10-09 Thread Fred Stluka
ever did before. Thanks again! --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 W

Re: Upgrading Django (to 1.7)

2014-10-17 Thread Fred Stluka
Sounds good! 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

Re: createsuperuser tells me its been skipped due to not running in a tty and then tells me i can do it manually by running createsuperuser. Very confused

2014-11-09 Thread Fred Stluka
e by using ssh -t as I've often had to do when running sudo via ssh. See: - http://bristle.com/Tips/Unix.htm#sudo_via_ssh --Fred -------- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Softwa

Re: Loading fixtures in Django 1.7

2014-11-09 Thread Fred Stluka
Leonard, In Django 1.4, you would add this code to the forwards() method of the migration: from django.core.management import call_command call_command("loaddata", "") --Fred ---- Fred Stluka -- mai

Re: how to test an application that's using a legacy database

2014-11-10 Thread Fred Stluka
ls.py:* class Meta: managed = True if settings.RUNNING_UNIT_TESTS else False --Fred -------- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service!

Re: HStoreField can't adapt type 'dict'

2014-11-13 Thread Fred Stluka
of us reading them as email, not at the Google Groups Web site. Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open S

Re: Deploying Django project

2014-11-20 Thread Fred Stluka
messages, prompts, confirmations, etc. Also, some of these steps are combined into a remote script that runs on the server to reduce the number of "ssh -t sudo" commands I would otherwise have to do. But, that's the gist of it. Hope this helps! --Fred ---

Re: Advice needed: Adaptive/Responsive Images in Django?

2014-11-20 Thread Fred Stluka
cking/un-stacking, hiding/showing, etc. Anything is possible. --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: Deploying Django project

2014-11-21 Thread Fred Stluka
a script of his own. I don't type all of those commands each time. I just type: *pub* --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to

Re: Web and mobile app with Django? Kivy? sth else?

2014-11-24 Thread Fred Stluka
://helphopelive.org --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: Image input missing from POST request

2014-11-26 Thread Fred Stluka
on IE? Have you tried specifying multiple forms? 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: Upgrading Django (to 1.7)

2014-11-26 Thread Fred Stluka
1.7 or 1.8. --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

Re: Upgrading Django (to 1.7)

2014-11-26 Thread Fred Stluka
ks! --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

Python/Django programmers needed (telecommute)...

2014-12-04 Thread Fred Stluka
about a month or so. Telecommute with weekly status meetings in Radnor PA, and ad-hoc local co-working sessions with the dev team. Interested in either one, please let me know. --Fred ---- Fred Stluka -- mailto:f...@bristle.com -

Re: I can't syncdb via django_pyodbc of Django.

2014-12-11 Thread Fred Stluka
gt;> conn = pyodbc.connect('DRIVER=SQL Server;' 'SERVER=my_db_server_name' 'PORT=my_db_server_port_number;' 'DATABASE=my_db_name;' 'UID=my_usern

Re: Can anyone give me a suggestion or a recommendation as to how I can access the current user's username in the models.py?

2014-12-14 Thread Fred Stluka
if handled by separate threads that share the same memory, and presumably the same signals and callbacks. Thoughts? --Fred ---- Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://b

Re: ANN: Django website redesign launched

2014-12-16 Thread Fred Stluka
styles, colors, fonts, presentation of info? Or is there a change to the content or the navigation, as well? Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http

Re: Content using {% include %} not appearing on detailed page Django

2014-12-16 Thread Fred Stluka
off to what the real problem is. --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: Recommendations for hosting service?

2015-01-06 Thread Fred Stluka
+1 for AWS. Been using it for years. Keeps getting cheaper and better. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open

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

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: Email Templates and the full website URL

2013-11-30 Thread Fred Stluka
fferent servers. Thoughts? --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

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: 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
x27;SERVER=_your_db_host_name_or_ip_;' 'PORT=_your_db_port_number_;' 'DATABASE=_your_db_name_;' 'UID=_your_db_username_;' &

Re: Problems Setting Up wsgi and Apache

2014-01-26 Thread Fred Stluka
s helps! --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 W

Re: Problems Setting Up wsgi and Apache

2014-01-27 Thread Fred Stluka
s ago to never 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://brist

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

2014-02-10 Thread Fred Stluka
ers to all 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/~fre

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

2014-04-18 Thread Fred Stluka
ions. 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: Is it good idea to transition from MS Access to a webapp? And if so, is Django a good tool to do it?

2016-04-29 Thread Fred Stluka
Feel free to reply with more questions.  Also, you'll quickly get a feel for Django's power if you go through the on-line tutorial at: - https://docs.djangoproject.com/en/dev/intro/ Enjoy! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bri

Re: Moving django app(nginx server) from iMac to Linux environment

2016-05-20 Thread Fred Stluka
pip freeze on one and a pip install -r on the other? Nothing left to do. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service

Re: Reportlab no module named pdfgen

2016-05-26 Thread Fred Stluka
David, It works fine for me.  Must be something about your environment. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service

Recommended courses/materials for Python/Django course...

2016-06-15 Thread Fred Stluka
- Udacity   - edX   - Alison   - Lynda   - NewCircle.com Any advice?  Thanks! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of

Re: Recommended courses/materials for Python/Django course...

2016-06-17 Thread Fred Stluka
Ludovic, Thanks for the tip!  I'll check them out. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open S

Re: Recommended courses/materials for Python/Django course...

2016-06-19 Thread Fred Stluka
Thanks for the feedback! --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

Re: Slow Django dev server reload

2016-07-03 Thread Fred Stluka
Krishna, How long is "a long time"?  I have a project of ~200K lines of python/django code.  The dev server reloads in a second or so. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, I

Re: Slow Django dev server reload

2016-07-04 Thread Fred Stluka
Hildeberto, No, the number of migrations does affect how long it takes to run automated tests, but should not affect how long it takes the dev server to start. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred

Re: Slow Django dev server reload

2016-07-04 Thread Fred Stluka
at slow on your Mac. To narrow down the problem, I suggest you use the -v option:     % python -v manage.py runserver and watch to see what seems to be taking so long. Any other suggestions, anyone? --Fred Fred Stluka -- mailto:f...@bristle.co

Re: How can i add my django project to Bitbucket ?

2016-07-05 Thread Fred Stluka
Deepak, Bitbucket has pretty good documentation, including a Getting Started section.  Should tell you all you need to know.  See: - https://www.google.com/search?q=bitbucket+getting+started --Fred Fred Stluka -- mailto:f...@bristle.com

Re: unindent does not match any outer indentation level

2016-07-05 Thread Fred Stluka
x27;s this line:             def __unicode__(self): which should be indented exactly as much as the line:     def get_absolute_url(self): --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Softwa

Re: Slow Django dev server reload

2016-07-05 Thread Fred Stluka
te and could be deleted?  We tend to get rid of our dead ones pretty quickly because PyCharm shows them as grey when they're not needed. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- htt

Re: Email List

2016-07-18 Thread Fred Stluka
27; + unicode(email_message.to)     exception = e     except BaseException as e:     msg = u'An unexpected error occurred '     msg += u' when sending e-mail to ' + unicode(email_message.to)     msg += u' during step: "'

Re: Is it possible to share a DB between Django and another application

2016-07-21 Thread Fred Stluka
use. --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: Testing if a view have an html element with at least one attribute

2016-08-03 Thread Fred Stluka
ot sure if there any pros/cons vs lxml, but it works great for us! --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open Source: Wit

Re: Forcing Localization

2016-08-16 Thread Fred Stluka
Oct 2006'     '%d %b, %Y',  # '25 Oct, 2006'     '%B %d %Y',   # 'October 25 2006'     '%B %d, %Y',  # 'October 25, 2006'     '%d %B %Y',   # '25 October 2006'     '%d %B, %Y

Database data caching in Django?...

2016-08-17 Thread Fred Stluka
g. Any suggestions?  I feel like I may be missing something obvious. --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service! Open S

Re: How to save one field value from a model to another field of a linked model.

2016-08-17 Thread Fred Stluka
Md. Ohiduzzaman, Looks good so far.  What happens when you try it? --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to be of service

Re: Unable to get tests to work

2016-08-17 Thread Fred Stluka
Matt, Drop the "s" from "tests": ./manage.py test backups --Fred Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/ Bristle Software, Inc -- http://bristle.com -- Glad to

Re: Unable to get tests to work

2016-08-17 Thread Fred Stluka
something to do with "refreshes"?  The test trace shows it trying to run testcase "refreshes.backups.tests", but in the manual import you did from the python shell, you only import "backups.tests" --Fred Fred Stluka -- mailto:

Re: Unable to get tests to work

2016-08-19 Thread Fred Stluka
for tests that don't exist? --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 Wi

Re: Help with django form an ajax, error 500

2016-08-21 Thread Fred Stluka
anything else. --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

  1   2   >