Hello !!
I am using mysql as the backend and trying to use insert delayed of a
query (http://dev.mysql.com/doc/refman/5.0/en/insert-delayed.html), to
do this I have to change a bit the insert statement, and I want to
know if is possible to know before executing the sql what is the sql
INSERT stat
the user, rather than a query:
>
> myUser = User.objects.get(username='thisUsername')
> classes = myUser.class_set.all()
>
> Todd
>
> On Sun, Aug 17, 2008 at 8:11 PM, Robert <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
> > I'm trying to query a M
push 'submit', it just
reloads a new version of itself.
Do I need to change any of the code in the view method (other than
obviously passing the parameter in to the form) to reflect the
parameter change?
Thanks so much!
-Robert
--~--~-~--~~~---~--~~
You
Sure, my form class is as follows:
from django import newforms as forms
from quizmodo.core.models import Class, Event
from django.contrib.auth.models import User
class ClassEventForm(forms.Form):
c = forms.ModelChoiceField(queryset=Class.objects.all(),
label='Class'
Hello all,
I have a custom form class that's called from a separate view file.
That form class has an init method, and it works perfectly when I
don't have to pass any parameters to that method. However, when I pass
in ANY parameter (so it's not a namespace issue) the form simply won't
submit. It'
Sure, it's:
[code
from quizmodo.base.forms import ClassEventForm
class StackForm(ClassEventForm):
name = forms.CharField(max_length=100)
description = forms.CharField(widget=forms.Textarea)
anonymous = forms.BooleanField(required=False)
private = forms.BooleanField(required=False)
@log
Any Thoughts
On Aug 21, 10:51 pm, Robert <[EMAIL PROTECTED]> wrote:
> Sure, it's:
>
> [code
>
> from quizmodo.base.forms import ClassEventForm
>
> class StackForm(ClassEventForm):
> name = forms.CharField(max_length=100)
> description = forms.CharFiel
Hi,
I just got done reading through the 4 django tutorials and they were
very helpful. However, I did not find out through the tutorials alone
how to serve CSS files along with my HTML. I was told in IRC that
these are not directly handled by django.
Basically, my main concern is keeping my webs
500 .. 1000 offers when querying the table.
Using Django 1.0 with PostgreSQL.
How would you solve this design problem?
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
good at learning stuff on my own, so if anyone could even
point me in the right direction, I would appreciate it. Maybe this is
a common problem, I don't now, but I'm stumped.
Thanks in advance.
Robert
--~--~-~--~~~---~--~~
You received this message becaus
I freely admit my biggest problem is that I am quite used to thinking
in terms of classes, and almost not at all in terms of database
schema. I'll check into that reading you recommended.
Kind regards,
Robert
On Sep 26, 12:42 pm, Rock <[EMAIL PROTECTED]> wrote:
> Oops. I mean
.documents.select_related().all()
>>> d[0].agency_docs.study_level
but I get the 'has no attribute 'agency_docs' error. I believe I've
tried every conceivable combination, I've stuck _set onto the ends of
things, I'm completely frustrated.
Any help would be grea
dge a fair bit today, and for that I am
appreciative.
Kind regards,
Robert
On Oct 4, 12:06 am, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On Sat, Oct 4, 2008 at 5:34 AM, Robert
>
> <[EMAIL PROTECTED]> wrote:
>
> > I've been banging my head
s and forward slashes.
I'll mention this because it may be important, but I'm also getting a
"TemplateSyntaxError: Caught an exception while rendering: nothing to
repeat" whenever I save a file and then reload a page. Everything
works correctly, however, when I reload again.
Any an
tic.serve',
> { 'document_root': settings.MEDIA_URL, 'show_indexes':
> True, }),
>
> remember, MEDIA_URL, is a URL, not a filesystem path.
>
> keith
>
> On Thu, Oct 9, 2008 at 3:34 PM, Robert
> <[EMAIL PROTECTED]>wrote:
>
>
How is the MEDIA_URL reflected in my settings? If MEDIA_URL is '/
site_media/', should my urls.py then be r'^site_media/$'? I fail to
understand the role it plays in all this.
Thanks again for your replies.
Kind regards,
Robert
On Oct 9, 3:35 pm, "Keith Eberle&q
I have set up apache with mod_python and I am able to get django
working.
I am trying to reach the simple poll application that is in the
djangoproject tutorial.
I have to add "mysite" in the url when I work with apache. This wasn't
the case with the django server.
http://localhost/mysite/polls
h a Profil-
Model nor extending with inheritance). I hope that there is a way...
Greetz Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send e
Dear Community,
I have a ZIP-File which contains five .lst-Files. I want to fill with
these five files a mysql-database. Is there a possibility to handle
this via the admin interface? I tried the following but it doesn't
work:
from django import forms
from django.contrib import admin
from cStrin
l django to expand these
files, read them one by one and fill my database with the values?
On Feb 8, 3:34 pm, Karen Tracey wrote:
> On Sun, Feb 8, 2009 at 7:24 AM, Robert wrote:
>
> > Dear Community,
>
> > I have a ZIP-File which contains five .lst-Files. I want to fill wit
Hi Folks,
I have two app in a django project. Both app contains a model-file. In
this model-files are the models (tables) for my application. I
imported one of the model in the other application because I created
there a foreign key for that. When I now try to import one of the
other model in tha
T':
# handle the file
Am I missing something fundamental? If I change the extension of
the .txt file, it still works fine. If I change the extension of a
non-text file to .txt, it will not work.
Any help is greatly appreciated.
Kind regards,
Robert
--~--~-~--~~
Thank you, Karen. That has solved my problem completely. I
appreciate the complete explanation as well.
Kind regards,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
out of a mysql db) and display it.
It's no problem to register a new model for the admin interface. But I
don't know how I can add things like Charts or PDFs, ...
I hope anybody can give me a help in this case!
Nice regards
Robert
--~--~-~--~~~---~--~~
Yo
ut that doesn't satisfy me because neither the
one nor the other point above is done...
Best would be if there were a possiblity to register them like models
(admin.site.register(View, ViewAdmin)...
Greetz Robert
--~--~-~--~~~---~--~~
You received this message becaus
Well, I read that short paragraph but I don't understand how this
should work...
Is it possible that you post some code how you solved that problem?
Thanks a lot
Robert
On 15 Feb., 21:13, Brian Neal wrote:
> On Feb 15, 1:06 pm, Robert wrote:
>
> > Hi,
>
> > how ca
I think this is frustrating for users. If I don't want that
I will have to define a lot of 'if user has permission then he can see
a link, else not' statements.
I hope you understand what's my problem
Greetz Robert
On 16 Feb., 00:09, Malcolm Tredinnick
wrote:
> On Sun, 2
ns, I hope somebody can help me...
Thanks and greetz Robert
On 16 Feb., 10:45, Ales Zoulek wrote:
> > Once you have added a new HTML link to the template that will trigger
> > your view, you have to write a view for it. You add something to one of
> > your URL Conf files to catch t
terrific idea because it would mean having
like... 20 decision structures, and whatnot.
Any ideas are greatly appreciated!
Thanks
-Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group
Looks great!
Stupid question... it's been a while since i've worked in django.
Where's a good place to physically store that document on the server?
sorry!
On Mar 22, 8:16 pm, Alex Gaynor wrote:
> On Sun, Mar 22, 2009 at 8:15 PM, Robert wrote:
>
> > Hey,
> > I
nd connect python to django by
including django in the python path?
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroup
I ran into a similar problem. It was solved when I corrected the
indentation of "class admin" in models.py of the app.
Cheers.
Robert
On 18 Jun, 18:49, Francis wrote:
> Hi,
>
> In my project, theadmininterface is not able to display tables
> content of one application.
Question: A web hosting company doesn't necessarily offer a command
line tool to create folders and execute scripts on a shared web
server.
Is it possible to make your way without it to install django on a
public server?
Cheers.
Robert
--~--~-~--~~~---~--~
x27;t been able to
find anything useful.
Initially I thought it could be a case of a missing bracket or
something, but the code seems fine.
Would you please look through my code and give me your opinion?
Thanks. Appreciate it.
Robert
--~--~-~--~~~---~--~~
You receiv
I am having a problem with cache_page and url resolver, my problem is
that django doesn't resolve correctly my url to the correct url when
the view is cached with cache_page decorator.
In fact this is in the context of sitemaps contrib, what I am doing is
the following:
(r'^sitemap.xml$', in
have as well another question, what are the reasons to select
signals or simply use the direct ? I have a problem with a post_save,
which can be easily solved overriding the save method. Any way to
decide which to use depending on the situation ?
thanks in advance, robert
Sorry, but I really am relatively new to Django, and although I've
been poking around for quite a while, I still just can't get that
package to work.
When I tried to install it inside of the contrib folder, and then add
it to the 'installed applications' in the settings.py file, i kept on
getting
,},
),mimetype='text/plain')
tup = self.login_url, self.redirect_field_name, path
return HttpResponseRedirect('%s?%s=%s' % tup)
Any suggestion will be welcomed !
thanks in advance, robert
--~--~-~--~~~---~--~~
You received this mes
time.now():
return
I have looked through an article about porting on djangoproject.com
but I didn't see anything there that could give me a clue.
Are you able to spot the error?
Thanks
Robert
--
You received this message because you are subscribed to the Google Groups
"Djang
will break the lines according to the width of the document window.
Cheers.
Robert
On 5 Des, 21:13, Daniel Roseman wrote:
> On Dec 5, 4:14 pm, Robert wrote:
>
>
>
> > Hi,
>
> > I try to run an app that ran successfully on 0.96 but doesn't run on
> > version
greSQL can't do the UPPER()
properly.
Is there any chance I can get that working ?
Thanks,
Robert
--
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
="es_ES"
LC_PAPER="es_ES"
LC_NAME="es_ES"
LC_ADDRESS="es_ES"
LC_TELEPHONE="es_ES"
LC_MEASUREMENT="es_ES"
LC_IDENTIFICATION="es_ES"
LC_ALL=es_ES
I just don't get how can I know or change the default charset so
mod_wsgi knows that th
;)), in your URLConf.
"
This shortcut contains this line of code that seems to be on the right
track:
(r'^(?P\d+)/(?P\d+)/$',
'defaults.shortcut'),
However django is not able to match this url.
Is this supposed to work?
Please advise.
Thanks.
Robert
--
You received t
. Here I had to put a .
+.
In urls.py:
(r'^users/(?P.+)/$', 'some.view'),
Logically, this should have been mentioned in the Url dispatcher
document in the documentation.
On Mar 12, 12:21 pm, rebus_ wrote:
> On 12 March 2010 01:04, Robert wrote:
>
>
>
> >
mport this module in a python shell, so I
don't know why django is complaining all of a sudden. To my knowledge
I haven't altered any code that should affect the functioning of this
view.
Please find enclosed the traceback below.
Any ideas on how I can sort this out would be apprecia
e patterns and now it works.
Cheers.
Robert
On Apr 1, 5:29 pm, Robert wrote:
> I run a rss feed app on my computer with django 0.96.
>
> This has worked out well for several months. Now I get an error when I
> try to call the update view function. This function is supposed to
> ta
ment "Making
queries" at
http://docs.djangoproject.com/en/1.0/topics/db/queries
only that I change the authors-field with a users field pointing to
the auth.model User.
class Entry(models.Model):
[..]
users = models.ManyToManyField(User)
(KT's post below)
Please advis
other tables are present.
Thanks DR
Robert
On 4 apr, 14:10, Daniel Roseman wrote:
> On Apr 4, 11:56 am, Robert wrote:
>
>
>
>
>
> > I wonder whether you have to save a record to the database BEFORE you
> > can update a ManyToMany field?
>
> > I came acr
That's a spot on, DR.
I'll try that and I'm sure it will work out.
Have an excellent day.
R
On 4 apr, 15:03, Daniel Roseman wrote:
> On Apr 4, 1:44 pm, Robert wrote:
>
> > Hi,
>
> > I get OperationalError: (1364, "Field, 'user_id' doesn'
l the time (if not
using cache).
Example:
nr of posts posts in forum thread, scores.. etc.
When should I use post_save() and when should I use save() ?
Thanks,
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google G
uestion is whether it should override rendering the response (imho,
not).
The function would be used for simple actions, like sending emails
f.e.
What do you think about it ?
Thanks,
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscri
n _get_reverse_dict
212. for key, value in pattern.reverse_dict.iteritems():
File "c:\django_src\django\core\urlresolvers.py" in _get_reverse_dict
209. if not self._reverse_dict and hasattr(self.urlconf_module,
'urlpatterns'):
File "c:\django_src\django\core\urlresolv
ouldn't
resolve it).
All fixed, and working.
Will look into the manage.py shell next time before posting :-)
Thanks again for help, and for unicode branch.
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
Hello,
Has anybody been using the django-discussion at:
http://code.google.com/p/django-discussion/ ?
Any thoughts ?
Thanks,
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users"
which doesn't exist
> :)
>
> [1] darcs gethttp://www.jonathanbuchanan.plus.com/repos/devdocs/
Will take a look!
Thanks for great django-* apps published so far.
Regards,
--
Robert
--~--~-~--~~~---~--~~
You received this message because you a
d. Does
anyone know how to fix this? I'm just having a ton of trouble with it,
despite a lot of looking around. Thanks so much for any input! I hope
I was able to express the problem, and if not, please let me know.
Thanks again
-Robert
--~--~-~--~~~---~--~--
Awesome, sorry about the duplicate reply! Thanks so much, though
-Robert
On Jul 27, 11:11 pm, "Russell Keith-Magee" <[EMAIL PROTECTED]>
wrote:
> On 7/28/07, Robert <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi all-
> > I'm very new to django, so pard
it in my view via
form.cleaned_data['somegroup'] as well.) Also I don't want to
display the "somegroup" selector in form (I know how to work out this
problem).
Can anyone please help?
Thanks,
Robert
--~--~-~--~~~---~--~~
You received
end" the variable twice, when sending the POST dict.
to the form,
and when initiating it.
NewForm = forms.form_for_model(Model, form=SomeBaseForm)
if request.method == "POST":
form = NewForm(request.POST, somegroup=somegroup)
do_some_stuff()
else:
x27;ve tried very hard to search through the docs etc. to find something
related to this, but have simply failed. Any help is greatly
appreciated
Thanks so much
-Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
Shouldn't that automatically be "Turned on"? How can I check to see if
it is, and if it's not, how can I install it? Thanks, sorry for such a
dumb question
-Robert
On Sep 3, 2:20 pm, Alex Koshelev <[EMAIL PROTECTED]> wrote:
> Check your TEMPLATE_CONTEXT_PROCES
7;s not working for me? Sorry, and thanks so much
-Robert
On Sep 3, 4:13 pm, eXt <[EMAIL PROTECTED]> wrote:
> On 3 Wrz, 21:50, Robert <[EMAIL PROTECTED]> wrote:> Shouldn't that
> automatically be "Turned on"?
>
> You're right here., it's turned on
e no idea on
how to do this with ModelForm.
If anyone could share the example.
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
Free Ebooks on Cooking, Hacking, IT, Sex etc.. Website Submission,
Forum, Visit http://www.aonearticles.com. No membership required.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
On 28 Lut, 16:18, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
>
> Change your DATABASE_ENGINE to "postgresql_psycopg2".
>
> (Perhaps the docs and default settings file should be updated to reflect
> this.)
It is :-)
http://www.djangoproj
, while we are at it.. is there a way to place a prototype class
table in models.py that does NOT run as sql at syncdb? This would
simply be a class for forming part of a set of other classes.
Thanks very much
Robert
--~--~-~--~~~---~--~~
You received this message
n, however.. nothing that is going to
serve a web site, but something I am just doing to verify something
else. Call it an off-label use of a db.
Thanks again..
Robert
On Apr 1, 8:24 pm, Ned Batchelder <[EMAIL PROTECTED]> wrote:
> To expand on what true.chesire is saying: There
sues.
Also, the service will be internationalized in the future.
Adrian has created a new unicode branch recently, that's really a
great news (Thanks!).
What's your opinion ?
Which way should I go? ... or maybe I should wait ?
Thanks,
Robert
--~--~-~--~~~
t; in
render
171. output.append(u'%s' %
(escape(option_value), selected_html,
escape(smart_unicode(option_label
UnicodeDecodeError at /prod/add/
'ascii' codec can't decode byte 0xc5 in position 6: ordinal not in
range(128)
Tried with both Django 0.96 & SVN (as of
ble only have two unit's
> records. after some minutes, may be the unit's records grows, but the
> CancelForm only have two choices. I must restart apache server to
> renew the CancelForm.
>
> thanks for your patience.
You may want to look at ModelChoiceField(), look at:
ject.com/browser/django/trunk/django/newforms/models.py
how it's done in forms_for_model/instance, save_instance,
save_instance, model_save or wait for complete documentation :)
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are sub
listing:
OK.. so... is WSGIServer missing... related to Django, python or
apache?
and
typecast_... are these normal..?
Thanks very much for any assistance
Robert
# ./mysite.fcgi
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME
Dunno who's seen this, but fyi: MS IIS now has official FastCGI
support. I look forward to seeing how this'll work with Django
installs under IIS.
http://www.iis.net/php
--rbt
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
rope/Warsaw' and 'America/Chicago'.
It's not regular, and does not depend on how many times I refresh the
page.
There are many DateTime fields in my models which makes the TZ problem
very confusing.
Using Apache 2.0.59 & mod_pyth
Hi,
I wanted to expand the Poll example in the first tutorial by
organizing polls in groups. I thought this could be done by simply
adding a Foreign key to the Poll class.
from django.db import models
class Pollgroup(models.Model):
name = models.CharField(maxlength=200)
class Poll(models.M
Hi, Sorry about the misunderstanding.
I am supposed to get this message when I try to add a new object:
However, after having added a foreign key in the poll class I receive
this error instead:
"Poll has no attribute choice"
Why?
On Dec 27, 11:14 pm, [EMAIL PROTECTED] wrote:
> > Why do I get
forum.
If anyone can confirm that it is in fact possible or not, it would be
helpful.
Thanks.
On Dec 28, 7:50 am, Empty <[EMAIL PROTECTED]> wrote:
> On Dec 27, 2007 5:22 PM, Robert <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi, Sorry about the misunderstanding.
>
> >
hoice.display|escape}}
{% endfor %}
Please help,
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroup
moved/changed.., -
http://code.djangoproject.com/ticket/1563 - )
What is the best way to get this thing done ?
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
complicated for me at this point
of my python
knowledge.
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroup
.Model):
author = models.ForeignKey(Author)
when = models.DateField(blank=False)
title = models.CharField(blank=False, maxlength="10")
content = models.TextField(blank=True, null=True)
class Admin:
pass
def __str__(self):
return self.title
I'm getting:
jango itself ?
Any example of low-level api cache usage ?
I've searched google for 'query cache' PostgreSQL and it seems there is
no such thing.
I don't want to start a war - both DBs are great IMHO.
Thanks,
Robert
--~--~-~--~~~---~--~~
You re
ion
has been made less then 60minutes ago.
I can't get both at once.
Can I use Q() or other filterings to get all (not yet reserved &
recently reserved) offers ?
DB: Sqlite3 (winxp).
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message be
Did you specify the timeout ? in your cache_page decorator ?
--
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-users@googlegro
hey are not
in this form. That's just a thought.
I've considered the example from:
http://groups.google.com/group/django-users/browse_frm/thread/d9e03cf29739869f/71c60c65387802bc?lnk=gst&q=newforms&rnum=8#71c60c65387802bc
but I'd rather avoid using hiddenfields. Also I need to use
elect only from ext_ips not used by
another computer.
What is the best way to accomplish this ?
Do I need to play with raw sql or I missed anything when played with an
API ?
Maybe this/my models should be done a different way ?
Thanks,
Robert
--~--~-~--~~~---
ther thatn dict)
example?
I don't know how to put a subselect or other comparison to check
whether the specified ext_ip (Ext_ip model)
has been already "attached" to the computer (Computer model).
Please shed some light on this.
Thanks for y
ext_ip = models.IPAddressField(choices = getFreeEXTIP(), ...)
Thanks,
Robert
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr135641cwa;
Mon, 22 May 2006 13:51:37 -0700 (PDT)
X-Google-Token: 02n0kQwtP9jERTIXFOCceFcAbmNz
Received: from 81.190.91.213 by j73g2000cwa.google
quot;, " }}{%
endif %}
Phone nr: {{ form.nr }}
{% if form.nr.errors %}*** {{ form.nr.errors|join:", " }}{% endif
%}
Mobile nr: {{ form.nr_mobile }}
{% if form.nr_mobile.errors %}*** {{ form.nr_mobile.errors|join:",
" }}{% endif %}
Thanks,
Robert
--~--~-~--~~
ation methods defined in
my model,
and validator_list= for specified field in my model definition), but
I've decided to play (and learn the) with
manipulators.
Thanks!
Robert
Jorge Gajon napisal(a):
> Hi,
> You need to implement the save() method in your custom manipulator.
>
> C
Hello,
Using version 0.95.
I am designing a new truck transport database data service.
There will be 2 kinds of offers:
import & export
Let's name seaport 'X'.
Trucks:
1. Deliver package from Y to X (on the road from X to Y it's empty)
2. Deliver package from X to Y (on the road from Y to X it
Hello Julio and thank you for your helpful response.
I think you got the main idea, but I'm not sure
Here's a quick spec. I got from the guy.
"Export market" (which shows the table after carrier logs in with
columns below)
| date_load | container_type | shipowner | container_type | place_load
hen going to next page.
Seems like templatetag is the best solution. Anyone doing sort with
templatetag ?
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
Hello Aidas,
I will try to implement
your view :)
As for pagination, I've found
a great templatetag at:
http://code.djangoproject.com/wiki/CookBookTemplateTags
Thanks,
Robert
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
Hi all, I´ve developed that model, but i´m quite confused about the sintax,
looks a bit freaky... Hers my code:
from django.db import models
##
PROJETOS
##
class Projetos(models.Mod
I have inherited the support of a Django application and am new to the
language so I would appreciate some advice. The application requires
getting data from different databases depending on the client.
The existing code uses the syntax: .objects.using(self.CLIENT_DB).get to connect to the corr
cuting-custom...
>
> Cheers,
> AT
>
>
>
> On Tue, Sep 13, 2011 at 5:51 PM, Robert wrote:
>
> > I have inherited the support of a Django application and am new to the
> > language so I would appreciate some advice. The application requires
> > getting data
I apologize for using AT rather than your name, Andre.
On Sep 13, 6:42 pm, Robert wrote:
> Thanks, AT. Actually this is the article where I learned how to do
> raw SQL in Django. It made life easy for complex queries.
> Unfortunately it does not specify how to dynamically set the
I got the same problem. I solved it just now.
http://stackoverflow.com/questions/18150858/operationalerror-2002-cant-connect-to-local-mysql-server-through-socket-v
On Thursday, February 5, 2009 1:41:21 AM UTC+8, Kevin Audleman wrote:
>
> Hello everyone,
>
> I am running through the tutorial and s
What about django-datatrans ?
Had no problems with that.
RM.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/-wSxOnaLg2gJ.
To post to this group, send ema
1 - 100 of 452 matches
Mail list logo