Although I have not tried it, the docs are pretty clear about how to sync a
django model to an existing legacy DB (sqlserver08 in this case).
But is there a way to sync to a select statement with multi-table joins without
first creating a View?
I know that creating a view would be easiest, but
Downloaded the gz file, unzipped and ran python setup.py install
Note, due to network security settings, I cannot use pip or any similar tool
that needs external web access
I get the following errors, any advice on how to fix?
…snip….
creating /usr/lib/python2.6/site-packages/Django-1.7-py
The latest “Two Scoops of Django” book claims to have good info on deploying;
I’ve not read it yet.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Walter Wang
Sent: Tuesday, March 04, 2014 11:54 AM
To: django-users@googlegroups.com
Subject: Re: [ELI5] how
database with complex many to many relationships
On Mon, Feb 24, 2014 at 2:54 PM, Sells, Fred
wrote:
> I have to integrate to a large read only legacy mssql database .
while certainly it's possible to configure this as a second database and use
the ORM, I've found that it's more
I have to integrate to a large read only legacy mssql database .
The many-to-many tables have a lot of additional fields like start/end dates of
the relationship and their own naming conventions
Can anyone point me to some links that treat this topic in depth. I've looked
at the django book an
bject: Re: need django.cache advice
On Thu, Jan 9, 2014 at 4:43 PM, Sells, Fred
wrote:
>
> Fred: I was unclear. The initial join is 1 x 1000 x 20 x 100 ... which
> gets reduced to about 1000 records. A few records are changed every second.
are the 'interesting' 1000 out-re
Thanks Erick, I was not aware of Varnish.
Erik wrote:
1000 records from 6 tables shouldn't be a problem if your database is properly
indexed. Databases are good at caching query results and not doing excess work
when the data hasn't changed. Maybe the first request from a terminal will be
slow
I've got a queryset that is ~ a 6 table join of a lot of data that generates
about 1000 records with about 25 fields each
I've got ~100 terminals hitting this query every 1 minute looking for a subset
of 25 records
~20 records change every minute
I was thinking about updating the data (queryse
We deploy with Apache and it serves both django and generic html. We are a
small shop with internal applications and minimal server load and we are not
ready to have a django server and an html server.
I use the /wsgi prefix in my url's to identify what goes to django (via the
httpd wsgi.conf
I'm using Django 1.5 and Mysql 5.1 and am in the early stages of a multiple app
development and the schema is changing frequently as "hidden" requirements
emerge. I cannot get syncdb to sync anything other than my default db, and
when I change my default, it still seems to see the old one. He
I can syncdb OK if I don't add allow_syncdb to my router, but if I add the
allow_syncdb to the router, only my default db is synced. Any idea what I'm
doing wrong, code is:
def allow_syncdb(self, db, model):
print 'allow syncdb for* Inserv Router', db,
model._meta.a
Creating django management commands is easy and then all works nicely.
Assuming you're at 1.5, not sure about older ones. Just google it.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of DJ-Tom
Sent: Monday, September 16, 2013 10:26 AM
To: django-users@go
Yes, the files exist and they have read access and are owned by apache. I do
use a symlink of "current" to point to my actual project directory to
facilitate testing. I ported this from 1.3 by creating a new 1.5 project and
then moving the contents of the old to the new. The error looks like
Thanks Bill, I've tried all but the __future__ option. I'll give it a try.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Bill Freeman
Sent: Wednesday, June 19, 2013 3:03 PM
To: django-users
Subject: Re: Cannot import mypackage with code in the __init__.p
Once you get the configuration kinks worked out, using a script to copy a
directory is brute force but easy. You can always download XAMP to get the
apache/mysql stuff in windows. Also it's hard to argue the cost of a discount
service like Webfaction against the labor to "roll your own" but
We're a small organization with limited sysadmin support and a low thruput
requirement.
I've got some common features that are evolving that are used in all projects,
even though the projects themselves are unrelated and on different servers.
I have a very specific logging function to a mysql
We use django for intranet applications. There is minimal coupling between
applications and we generally dedicate a virtual server for each application.
Perhaps not the most efficient, but it works for our environment.
In django 1.3 I just copied the "site" directory to the deploy location and
3/13 05:28, Sells, Fred wrote:
I'm converting a Java jnlp app with a tomcat backend to an HTML5/jQuery/AJAX UI
with a Django/Apache backend.
This is an intranet application with <50 users and a very light workload. Idle
90% of the time and ~5 users active at a time. There are only 2
I'm converting a Java jnlp app with a tomcat backend to an HTML5/jQuery/AJAX UI
with a Django/Apache backend.
This is an intranet application with <50 users and a very light workload. Idle
90% of the time and ~5 users active at a time. There are only 2 or 3 pages in
the entire project. I don
Thanks, that last post was the clue I needed. I have 2 independent, active
django projects and was erroneously editing the settings.py in the wrong
project. Just plain old stupid error, but I may have not seen it for days
without all your help. Thanks and apologies for taking up your time.
--
Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Amyth Arora
Sent: Thursday, August 16, 2012 11:10 AM
To: django-users@googlegroups.com
Subject: Re: installing django extensions
As Alexis said,
Try importing it in a shell and se
I'm running python2.6 and django 1.3
I've installed django_extensions using easy_install and verified it as shown.
Directory of C:\alltools\python26\Lib\site-packages
08/16/2012 07:59 AM .
08/16/2012 07:59 AM ..
03/12/2012 11:19 AM django
05/28/2011 10:
You probably want __gte in your filter, if your timestamp field is a
datetime field, otherwise plain old = should work.
When in doubt, you can always print (result.timestamp, date.today() ) or
even use the type() function to make sure you're comparing apples to
apples.
-Original Message-
F
My application is VERY low volume, so I just do this to KISS
(resident, created) =
models.Resident.objects.get_or_create(pk=resid, defaults=r)
resident.__dict__.update(r)
resident.save()
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com]
You may need to "view source" in your browser; also attached is a
snippet I used to test mod_wsgi but does not really use django.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Jose
Sent: Thursday, June 07, 2012 4:35 PM
To: Django
I just use MySQL. Better the devil you know ...
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Aaron C. de Bruyn
Sent: Monday, June 04, 2012 3:41 PM
To: django-users@googlegroups.com
Subject: Re: PyPm / Django 1.4?
On Sun, Jun 3
That's a nice clean solution requiring only a minimal edit on a redeploy(server
move).
I had previously tried to semi-automate this using the javascript code below;
but that did not provide a host or hostname; however I'm not really a
javascript guru and may have missed something.
I use Flex for the client side and XML between client and server. I am
a "one man team" and so elegance sometimes gets sacrifices for "it
works". My typical deploy has been
/var/www/html/my flex swf and html code
And
/home/projectname/current/djangositename
This works well, except that I
Here's how I merge .fdf with pdf
def getPDFContent(assessment):
completedfdf = getCompletedForm(assessment)
pdffilename = getFilename(assessment, 'forms') +".pdf"
pdftk = ["/usr/bin/pdftk" ,'pdftk'][os.name=='nt']
cmd = '%s %s fill_form - output - flatten' % (pdftk
I'm using Django 1.3 but plan toupgrade to 1.4 later this month. I
generally return XML which is consumed by a Flex HttpService in the
client so I only use the django template to convert a dictionary to
XML. My application is strictly intranet with limited data and users so
efficiency considerat
Up to now, I've been using Flex for my client side and having Django
return xml for the last 2 years. With Adobe's policy changes regarding
Flex support, I need to shift future efforts to HTML5. I'm seeking some
general advice from the group on basic technology/techniques. My
specific question i
Finding a "good consultant" is non-trivial. The A and B+ consultants
are generally expensive and in high demand. It is very hard to identify
a good consultant if you are not one already. Most people will no
longer provide a recommendation of substance because of the potential
backlash of a bad r
Baby sitters in Manhattan get that much and lawn care workers in FL with no
teeth and a leaf blower get $15. You get what you pay for.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Cal Leeming [Simplicity Media Ltd]
Sent: Thursday, April 12, 2012 3:2
I think he meant "persecute"
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Mark Phillips
Sent: Thursday, April 12, 2012 11:44 PM
To: django-users@googlegroups.com
Subject: Re: [JOB] Django Programmers
That's not very nice to prosecute potential empl
"management" that they should get out of
> your way and let you do your job.
>
>
> On 2/4/2012 7:17 πμ, Sells, Fred wrote:
>>
>> Is there a Django 1.4.1 in the works that would solve this problem?
>> I also use Eclipse+PyDev and am planning to upgrade
Is there a Django 1.4.1 in the works that would solve this problem? I
also use Eclipse+PyDev and am planning to upgrade to Django 1.4 shortly.
However my management is not going to allow using a nightly build in a
production system regardless of the justification. I guess my options
are to stick
I paid my dues, here are a few working files from my system that may
help you.
Note that I use flex for my frontend and thus don't use all the django
features as intended.
Some of these files may be out of date with latest practice and current
docs. So use them as you will.
--
You received th
Here's some snippets from my code that work. I had to remove a lot that
is specific to my organization, so no guarantees...
-from
xmitzipfile.py--
def processZipfileBuffer(user, buffer):
email = create_mail_object()
I've got a use case where I need to find the fields that are different
between two querysets in the same model and then use those fields to
modify another queryset in that model. The first two represent "masks"
of allowed fields for a specific version while the third is the actual
data. Assessmen
You referenced Graham's "The Perfect Config". I've been googling
without success to find that. Do you have a link?
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Stuart Laughlin
Sent: Friday, January 13, 2012 12:52 PM
To: django-users@googlegroups.com
Thanks, that's the hack I was trying to remember.
-Original Message-
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of akaariai
Sent: Friday, December 30, 2011 1:06 PM
To: Django users
Subject: Re: model for legacy table without primary key
On De
I thought I had read somewhere that it was possible to have a model for
a legacy table without a primary key as long as the useage was read only
and that the method was "filter" and not "get". I've been searching for
quite a while now and all I can find indicates a primary key is
mandatory for any
While I realize that release schedules are flexible until near then
actual release date, I would appreciate a "best guess" on 1.4 beta.
I have to complete a major upgrade of a mission critical app by 1 april.
Since I use flex for my client side and have django just return XML,
It's not like I n
ql = 'ALTER TABLE %s ENGINE=INNODB' % t
print Cursor.execute(sql)
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Ian Clelland
Sent: Thursday, December 15, 2011 1:02 PM
To: django-users@googlegroups.com
Subject: Re: Django 1.2.1 strange problem
I've got an older app that's been running in production for about 2
years on RedHat 4, MySQL 5.0.77 with MyISAM tables, Django 1.2.1 and
Python 2.4.
This app is used heavily by internal users, which is a relatively light
load compared to public sites. I actually use Flex for the client side
an
er 09, 2011 11:18 AM
To: django-users@googlegroups.com
Subject: Re: rendering CSV in response; need a little help
On Fri, Dec 9, 2011 at 4:12 PM, Sells, Fred
wrote:
> I'm getting an http request from another server in our system and I need
> to respond using a csv format. I've seen th
I'm getting an http request from another server in our system and I need
to respond using a csv format. I've seen the example in the docs where
the template looks like this:
{% for row in data %}"{{ row.0|addslashes }}", "{{ row.1|addslashes }}",
"{{ row.2|addslashes }}", "{{ row.3|addslashes }}"
I've got a model structure like this
class Order(models.Model):
id = models.CharField(max_length=10, primary_key=True) # like
OT-6212345
facility = models.ForeignKey(Facility)
therapy = models.CharField(max_length=2, blank=True)
. . .
class Schedule(models.Model):
There's a free access to mysql converter; try google; I forgot the name
and have it on a different computer than this one. Contact list again
if you cannot find it and I'll look harder.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf
I'm setting up a standard deploy on a CentOS 6 system that I hope will
be the template for all applications for my small company. We tend to
put only 1 or 2 applications on a VMware image more for administrative
purposes and to avoid a problem/debugging on one system from impacting
other unrelated
Please accept my apologies for "hijacking" a previous thread. Offense
was unintentional. My original question is:
I build healthcare applications and the gov't regs require we log most
user access to patient info.
Since I've only built one (rather large) Django app, my logging is in
I build healthcare applications and the gov't regs require we log most
user access to patient info.
Since I've only built one (rather large) Django app, my logging is in
the same DB as my data and I use decorators in views.py to log all
access. There is only one table in it's own schema that is u
>From command line, launch python then try
Import MySQLdb
If that fails, you've not installed MySQLdb module. Check docs or
google; it's a separate install since django is db agnostic.
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Kurtis Mullins
S
> On Wed, Oct 12, 2011 at 9:17 AM, lankesh87 wrote:
> > I am developing a web application where i need ajax like features.
> > But I don't want to use ajax, so my question is- "is there any way to
> > perform ajax like functions in django?"
>
Use Flex, it's easier.
--
You received this message
, Oct 11, 2011 at 3:47 PM, Sells, Fred
wrote:
> I'm using a MySQL database and one table resides in a separate database
> than all the others. It's a generic logging table.
>
> I understand the use of the .using() method, but I wonder if there is a
> way to specify the alter
I'm using a MySQL database and one table resides in a separate database
than all the others. It's a generic logging table.
I understand the use of the .using() method, but I wonder if there is a
way to specify the alternative model in the model definition so I don't
have to depend on remembering
I'm no expert but this is what I built to log all user actions -- warts
and all
def decorate(func):
##print 'Decorating %s...' % func.__name__
def wrapped( *args, **kwargs):
request = args[0]
if len(args)>1: command=str(args[1])
else: command = ''
ry problem.
What your looking for is here in the documentation:
https://docs.djangoproject.com/en/1.3/topics/db/queries/#related-objects
records = models.Facility.objects.get(pk=62).schedule_set.all()
On Oct 10, 8:19 pm, "Sells, Fred"
wrote:
> I've got these two tables define
I've got these two tables defined where a Facility can have multiple
schedules but a schedule can have only one facility.
class Facility(models.Model):
id = models.CharField(max_length=2, primary_key=True)
name = models.CharField(max_length=30)
class Schedule(models.Model):
I think many of the members of this group have a pro-python bias for a
good reason. Most of us have had to work with many other frameworks and
languages and Python is the only one I would use to "unwind".
Sometimes it's worth "paying your dues"
--
You received this message because you are subsc
You can run a django module directly if you do something like:
if __name__ == '__main__':
sys.path.append( '/all/projects/one-up-from-site directory) #may not
be needed in all cases.
os.environ['DJANGO_SETTINGS_MODULE'] = 'mds30.settings'
The problem I just encountered using
I had to learn basic Php for a class. It's worth it to subscribe to
Lynda.com for a few months to get their online training videos. Removes
much pain. Like all training, it covers the basics and you really don't
know what you don't know until you try to do something.
-Original Message-
FWIW I use flex for the rich client and get xml out of django which
flex handles nicely.
I use Ldap for Authorization (had to use legacy junk for authentication
to be compliant) and I have a cron job that loads the ldap groups I need
and there members into my db. Solves speed and reliability pro
I'm using AJAX, jquery and JSON for the first time, having used
templates to render XML for Flex/Flash in all my previous Django work.
My code looks like this
records = models.Residents.objects.extra( where=[], params=[...])
data = serializers.serialize('json', records, ensure_ascii=False,
fie
Since Excel will import a csv file, why not just write a csv file. In mysql,
while ugly, you could shell down and use the mysql command line options to
export a query to csv.
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Od-Erdene Ch
Sent: Thursday,
I received this helpful hint from Shawn M. when faced with the same issue:
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings' #whereever your
settings.py is located.
>From the docs:
http://docs.djangoproject.com/en/dev/topics/settings/
-Original Message-
From: django
om
Subject: Re: Best Practice for Raw SQL
On Wed, Apr 13, 2011 at 1:38 PM, Sells, Fred
wrote:
In my case I had to read some legacy data from a different schema on the
same MySQL server and it was easy (but perhaps not elegant) to just
establish a separate connection using MySQLdb modul
In my case I had to read some legacy data from a different schema on the
same MySQL server and it was easy (but perhaps not elegant) to just
establish a separate connection using MySQLdb module.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] O
That's essentially what google does.
I would suggest dealing with the Python~C integration/test as a command
line execution and when that works, learn to call the python wrapper
from django.
It's been 15 years since I actually did any of this, but it is pretty
straight forward with SWIG. There a
Try mysql from the command line, make sure the service is running.
Sometimes the install does not set it up to start on a reboot.
Make sure you did not specify the port (socket) either when you
installed or in django -- usually it's 3306 on a pc, don't know about
mac.
-Original Message-
F
Because our active directory contains many more users than are allowed
to use my django app, I have a cron job that runs every 5 minutes and
updates a mysql database with the subset I care about. That way if AD
is offline at the time, I'm not hosed.
From: django-users@googlegroups.com
[mailto:
There are guys in this group who are much more sophisticated meta
programmers than I. But here's a very simple method:
It is easiest if each unique module has the same class name, such as
"class Controller:"
Then define and import all your plugins (does not allow uploading
plugin, but that's ris
I've seen a lot of chatter about Eclipse mylyn which can be integrated
with trak. Not used it however.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Javier Guerra
Giraldez
Sent: Monday, April 04, 2011 10:21 AM
To: django-users@g
This may be using a canon to swat a fly, but...
I had a project some time ago where I needed a very repetitive
java/swing UI. I ended up creating python classes that had a __repr__
method that generated the java source code. Then I was able to have
very concise python files that instantiated the
Using eclipse you can create a run configuration that starts the
dbserver and it will auto-reload whenever you change a file. Of course
since the dbserver auto restarts when it detects a file change, the
command line is not all that bad.
-Original Message-
From: django-users@googlegroups.
I've been googling and trying this for 2 days now, I'm sure I'm just
confused about something basic because it cannot be that hard. I've
tried all the hints I found via google and they made sense but no
success.
I'm running RHEL 6 Python 2.6.5, django 1.2.4 and mod_wsgi 3.2. I'm
trying to config
I'm just converting from mod_python to mod_wsgi and making progress. I
would like to be able to deploy multiple independent webapps without
having to edit the apache configs each time. I'm thinking of something
like
/var/www/wsgi-scripts
App1.wsgi
App2.wsgi
It was explained very clearly to me, I believe by shawn, but I've lost the
original reference. If the file you want to run is in your django app
directory you just need
import datetime, sys, os, logging
os.environ['DJANGO_SETTINGS_MODULE'] =
'YourDirectoryThatContainsTheSettingsModule.settings
I also have made the conversion from Java/Swing/Webapp(jnlp) to Django,
but I used Flex (a.k.a. Flash) for my UI because I've got a rich client
background and did not want to deal with Browser inconsistencies. I'm
happy with that choice. I use a very simple django template to render a
very consi
I'm using my own auth and ldap via python-ldap as a query only; others maintain
it. My only issue is that of response. I query all the groups I care about
and get all their members and keep that in a MySQL db that I refresh every 5
minutes of an unrelated cron job.
From: django-users@googl
It's painless. I'm no sysadmin but I just followed the instructions and
everything worked. I'm even using python 2.4 due to some outside
issues.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Vladimir
Sent: Tuesday, March 22, 20
I'm using a redhat enterprise 6 and all these are standard or available
as standard installs.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-users@googlegroups.com] On Behalf Of Eric Chamberlain
Sent: Tuesday, March 22, 2011 12:31 PM
To: django-users@googlegroups.com
I would appreciate some guidelines on a better way to deploy a
flex/flash frontend with a django backend.
I've got flex and django working nicely using the Flex HTTPService and
XML and the message content. Probably not as efficient as other methods
but this is an intratnet and performance is not
I'm using python 2.4 and django 1.2.4 with MySQL 5.0 FWIW
I have the following models (code deleted to simplify)
class Message(models.Model):
facility= models.CharField(max_length=2, null=True, blank=True)
msgtype = models.CharField(max_length=3)
class Pv(models.Model):
mess
Thanks to all who responded and especially Shawn who said much the same
thing in a way I could grasp.
...
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'mysite.settings'
>From the docs:
http://docs.djangoproject.com/en/dev/topics/settings/
Shawn
--
You received this message because you
I'm sure the solution is out there somewhere, but my google search is
giving me too many false positives.
I have a stand along python program that will be run as a cron job and I
don't know how to launch it so it picks up the django settings, etc.
I can run it like this
>python manage.py shell
>
Depending on what you need to do
You could shell down and run FOP from Apache foundation which is xml,
xslt to pdf
Or if you are filling in a form, you can use Adobe LiveCycle to define a
form and use code like below to fill in the form
def getPDFContent(id):
values = getAllValues(id)
I've seen similar errors if I left in print >>sys.stderr statements,
although that was using mod_python.
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of Graham Dumpleton
Sent: Thursday, January 06, 2011 2:23 AM
To: django-users@googlegroups.com
Subject:
Thanks.
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of Jonas Obrist
Sent: Sunday, December 26, 2010 5:29 AM
To: django-users@googlegroups.com
Subject: Re: RE: The Django-CMS 2.1 Release Candidate 1 has been
released!
Hi fred
There's a lot of site
Are there any example sites running this?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.co
lto:django-us...@googlegroups.com] On
Behalf Of ashdesigner
Sent: Monday, December 06, 2010 2:43 AM
To: Django users
Subject: Re: Django in production on Windows
Thanks Fred, we'll try it.
Anthony
On Dec 5, 7:16 pm, "Sells, Fred" wrote:
> I don't know about IIS, but u
I don't know about IIS, but use django and windows with Apache. See
"LAMP" for windows or just install pieces which is easy too.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of ashdesigner
Sent: Wednesday, December 01, 2010 6:44 A
Is there an easy way to get django to email error tracebacks in the
pretty html format that it uses when Debug=True?
I've got it emailing plain text, but that requires I "reconstruct" the
url from the query string while the html version had it nicely presented
-- not the end of the world, but woul
Check amazon.com
I like the definitive guide to Django, but it's pretty much what you
find online. Pro Django was not very useful to me. There are others
now listed and I just ordered 2 of them, based on reader's comments.
I'm using django with flex, so I don't get into the template stuff much
F
Please ignore previous, it was working but getting lost in my spam
filter.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-
I'm trying to get django to email exceptions to me, now that my app is
in production. I'm testing under Windows7 but will deploy under Linux
CENTOS
The following code works as a test (server names changed to protect the
innocent:
from django.core.mail import EmailMessage
import os
def run():
I find that flushing stdout sometimes crashes the dev server -- weird. Anyway,
if you make a minor mod to any file and save changes it flushes stdout.
But the guys who suggested python logging are right on for doing it the "right
way"
-Original Message-
From: django-users@googlegroups.
I'm running on Windows 7, Python 2.4 and Django 1.2.1
I'm trying to change one table "facility" by dropping it and then
letting syncdb recreate it. I thought syncdb was supposed to ignore
already created tables, but that does not appear to be the case.
What am I doing wrong?
>python manage.p
nd/or models.
--
Michael
On Tue, 2010-11-02 at 15:27 -0400, Sells, Fred wrote:
> I've got my first major django production app deployed and have to
> upgrade my DB to meet some new requirements. I've tried South, but
got
> into a death spiral and my changes are not so significant
I've got my first major django production app deployed and have to
upgrade my DB to meet some new requirements. I've tried South, but got
into a death spiral and my changes are not so significant that I can't
do it by brute force.
In researching brute force, it seems like syncdb loads my initial
1 - 100 of 137 matches
Mail list logo