First I'm new 2 django and have made rapid progress building my app
based on the tutorial. As soon as I get it a little better, I'll clean
it up and remove the "mysite/polls" references.
I have a series of url's like this
/mysite/myapp/datagrid/clients?letter=A
/mysite/myapp/datagrid/reports
/my
I had no problem configuring it under CentOs, have not tried Windows (yet) but
here's my settings file
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'mds30',
'USER': '', # Not used
'PASSWORD'
I receive the normal django email, but have never received a reply to
any of my questions. I apologize for clutting the mailing list we
"test" but need to know If my company server is blocking my outgoing or
what.
If you wouldn't mind replying to this and cc'ing bu4f...@yahoo.com I
promise to nev
I need to override the setter behavior of all the fields in all my
models. They all subclass from the same abstract model.
Specifically if the fields already contains a special character (used to
indicate "Not Applicable") I don' want to allow it to be changed. The
same field will be applicable
, Sells, Fred wrote:
> I need to override the setter behavior of all the fields in all my
> models. They all subclass from the same abstract model.
>
> Specifically if the fields already contains a special character (used
> to indicate "Not Applicable") I don'
I know how to do this in raw MySQLdb and have been trying to find a way
to do it with the Django models but with no success.
Can it be done and if so, can someone point me to a link in the docs
please?
Everything looks so elegant with the models, I hate to drop into SQL if
I don't have to.
--
Y
:django-us...@googlegroups.com] On Behalf Of Kenneth Gonsalves
Sent: Thursday, July 08, 2010 8:46 PM
To: django-users@googlegroups.com
Subject: Re: How can I Insert multiple records in one statement
On Friday 09 July 2010 06:03:09 Sells, Fred wrote:
> I know how to do this in raw MySQLdb and have been try
I've got a model as illustrated below. Is there any way I can define my
own attributes that are not columns like the "fredsstuff" below?
class A(MDSSection):
A0100A= models.CharField(max_length=10, help_text='''Text :
Facility National Provider Identifier (NPI)''')
A0100B=
I would like to access the help_text attribute of my model fields when
responding with XML like this
class A(MDSSection):
A0100A= models.CharField(max_length=10, help_text='''National
Provider Identifier (NPI)''')
A0100B= models.CharField(max_length=12, help_text='''CMS
Certi
> I would like to access the help_text attribute of my model fields when
> responding with XML like this
>
> I'm nut using Django forms but responding to Flex with XML. There must
> be some way to access this information, but I've been through the docus
> and google with no luck.
>
> Does anyone
I've got a logical record 0f 500 columns that is broken up into about 20
tables based on an implicit logical grouping of the data. Most of the
time this works well and the code is clean; but there are a few use
cases where I need to get all the equivalent fields for a single record
from all the ta
at use OneToOne relationship
On 7/16/2010 7:28 PM, Sells, Fred wrote:
> I've got a logical record 0f 500 columns that is broken up into about
20
> tables based on an implicit logical grouping of the data. Most of the
> time this works well and the code is clean; but there are a few use
> c
FWIW I'm an old time Pythonista who was also forced into a Java world,
but the pendulum has now swung back to Python. I would agree with the
advice of others, but also offer the following:
It is very hard to debug program logic in a web environment. I have my
Django view convert anything I need
My queries return XML similar 2 this
. . .
I would like to return name="Jones, Mary" instead.
The template that I use to convert the list of dictionaries to xml is
used for many different "datagrid" types of queries so I don't really
want to change it.
I suppose I could use list comprehensi
I would like to prevent saving a new value if the database contains a
specific value. This is on a per field, per record basis.
If I override the save() method; is there a way to find the existing (in
the DB) values and the new (to be stored) values?
--
You received this message because you are
lto:django-us...@googlegroups.com] On
Behalf Of Sam Lai
Sent: Thursday, August 05, 2010 7:58 AM
To: django-users@googlegroups.com
Subject: Re: overriding model.save()
On 5 August 2010 03:05, Sells, Fred wrote:
> I would like to prevent saving a new value if the database contains a
> specific
Does anyone have experience doing this and can share a link or a snippet.
I've got a multi page PDF with editable fields, but I want to fill the whole
thing in from my DB and then print it.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Django users" gro
I'm trying to use the Django template system to render PDF's from .fdf's. The
PDF's are provided by client and I can generate a dummy .fdf from them and edit
that. I can use pdftk to merge the two, but it seems like the template system
does something similar.
My first problem is that the .fd
During development phase, I actually drop and recreate my database, then
run syncdb etc to make sure I've got a clean start. Probably not
practical once I get into production.
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of Nick Arnett
Sent: Tuesday, Aug
I've looked at http://www.djangobook.com/en/beta/chapter12/ and the
section on Using sessions outside of views which shows:
>>> from django.contrib.sessions.models import Session
>>> s =
Session.objects.get_object(pk='2b1189a188b44ad18c35e113ac6ceead')
But where does that pk come from?
I'm down
I've got several tables like the one below, where I initialize it with
"template" values that I copy when I create a new record.
INSERT INTO A VALUES
(19, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ., 0, 0, 0, 0, 0, 0,
0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, '&', '&'),
(20, 0, 0, 0,
I've had success using sql to define views to other databases and then linking
an "unmanaged" model to the view. This is with MySQL where different
"databases" are really on the same db server.
-Original Message-
From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com]
Perhaps I'm fighting the trend, but I like Flex -- XML ---DJango best.
-Original Message-
From: django-users@googlegroups.com
[mailto:django-us...@googlegroups.com] On Behalf Of bruno desthuilliers
Sent: Tuesday, September 14, 2010 4:20 PM
To: Django users
Subject: Re: Tools to ease templa
Thanks to Daniel and Bruno, will try your suggestions soonest.
--
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+unsu
Agree. We do the same. It's much easier if you have a dual monitor
setup and flex on one and django on the other. I use XML rather than
pyAMF because it was easier to debug. Just create an xml file and set
your HttpService.url to that in Flex; then later make Django generate
the same thing. I
I’m using django 1.2.1, Python 2.4 and MySQL 5.0 and south 0.7.2
I’ve got an existing app, aptly named “app” which I’m am trying to convert to
south so I can make some DB changes. It seemed to install OK and I get to
here. At which point I’m lost. Could it be that Python 2.4 logging is not
I have played with VirtualEnv, but not really applied it. My biggest
concern would be automating a
Restart if the server reboots. Also since I'm "old school" and using
Apache with mod_python for
Django, I'm not if that's a problem. To be honest, I have not
researched VirtualEnv much because my
M
I noticed that easy_install left south as an egg. Can I just unzip that or is
there some ezsetup I have to use to expose the files so I can edit that line.
I have not needed to "look under the hood" of easy_install's before, so this is
probably a RTFM question, but...
Sorry to be so "needy" b
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
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'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
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 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():
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-
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
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
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
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've got a java webstart app that I would like to rebuild in django. It is
basicly a simple structured text editor where the user can select employees
and update goals/scheduled tasks/accomplishments with some industry specific
details that are not too important for this discussion.
So I need so
I'm a Pythonista, but new to django. I am building my first Flex app.
Using Flex 3.0Beta. This is a rewrite of an Ajax prototype built with
dojotoolkit. I have completed the flex side, using static url's that point
to xml files with expected responses.
When I google 'flex python' I get alot of
r Django web framework written
> in Python.
> > It enables Flash/Flex applications to invoke Django's view functions
> > using AMF(Action Message Format).
> >
> > A MiddleWare is a piece of code that is hooked in an HTTP request.
> >
> > The answer is you n
I'm trying to port my django demo to Apache/mod_python on a CENTOS 5 linux
32bit machine.
I'm getting an error message that I need MySQLdb 1.2.1p2 or newer and have
only 1.2.1
I've tried googling for an rpm with no success, anyone no where I can find
one.
My sysadmin dude is out this week, so I
I'm using Eclipse 3.2 and latest PyDev.
I'm a django newbie, just finished the tutorial. I would like to do my
development under Eclipse. PyDev want to have a "src" folder under the
project, which does not really fit the django default directory structure.
mysite (an Elcipse project)
poll
I'm a django newbie and only a little further along with flex but an old
time Pythonista, plus tomcat servlets. I'm very impressed with django;
great work.
I'm evaluating flex for my presentation layer because of the way it
separates view and logic on the client side and it's robust widget set.
I'm a django newbie. I worked through the 4 part tutorial, and then got the
mysite demo working under Apache. I went through a lot of trial and error
to get it working under Apache, and am concerned that even though it works,
I'm missing the big picture. I have to admit that I'm a little confuse
I suggest you contact webfaction or others and ask them to give you 1 month
of free hosting of a developed site, with the plan that your client would
then pay to have his stuff hosted there if he liked it. After a few
successes, you might get them to give you a generic beta site.
> -Original
I thought I saw something like this on sourceforge
-Original Message-
From: django-users@googlegroups.com
[mailto:[EMAIL PROTECTED] Behalf Of Ian Holsman
Sent: Tuesday, June 27, 2006 6:26 AM
To: django-users@googlegroups.com
Subject: Re: Time Tracking Tool
Importance: Low
On 27/06/200
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
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 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
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
"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
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
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
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
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
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
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 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
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 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
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
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 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
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:
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
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.
--
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):
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'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 = ''
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
, 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
> 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
>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
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
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'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
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'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):
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 }}"
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'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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 137 matches
Mail list logo