It won't be in 1.0. It's only really been kicked off recently, so you'll
have to wait a while :-)
2008/7/21 CPF_ <[EMAIL PROTECTED]>:
>
> Ben Ford wrote:
> > Hi There,
> >
> > It has been possible in the past to use multiple databases with
> > django. There
ginning Python" and the
> Django book.
> Do you suggest a must have book or reference for a serious Python
> programmer?
> Thanks.
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~--~~~---~--~~
You received this message
ou're implying some other technique, I have no idea what you are
> > talking about - could you please explain, or redirect to a page
> > explaining it?
> >
> > Thanks.
> Sorry for kicking this subject, but I'd really like to have an answer to
> that...
>
> Thanks in advance.
>
&g
ume I could, I haven't checked it in any detail!), but
> > wouldn't that be hugely processor intensive?
> >
> > >
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~--~~~---~--~~
You received this message
!
Ben
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~--~~~---~--~~
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@googlegroups.com
To
nittest.defaultTestLoader.loadTestsFromModule(m))
>try:
> s.addTest(doctest.DocTestSuite(m,
>checker=doctestOutputChecker,
>runner=DocTestRunner))
>except ValueError:
> # No doc tests in tests.py
> pass
> return s
>
> # End tes
give me a call on +61 400 639008.
>
> Thanks very much - if you aren't from Australia - sorry for clogging
> up your email with another job! I'm sure you must get sick of it :)
>
> Glen McGrath.
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-
code uses threadlocal in some places - I'm not sure
how similar threadlocal is to 'threading' (if anyone can enlighten me I'd
appreciate it!), but I think it might be causing a few of our problems.
Cheers,
Ben
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447
Andre,
You also need blank=True here:
pn = models.CharField('Publication number', max_length=20, null=True)
That will fix you :-)
Ben
Andre Meyer wrote:
> hi all
>
> now, this is driving me crazy. this problem persists even after
> switching from 0.96.1 to the newforms-admin branch.
>
>
eliminate the staging environ and speed up your end-to-end process I
> would think.
>
> Any thoughts or experiences you all would care to share?
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~--~~~---~--~~
You received thi
base
> backend, which might result in some better doc, but for right now the
> recommendation is to look at the code under django/db/backends for guidance
> on what you need to do.
>
> Karen
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~
That's the one!! :-)
Ben
On 31/03/2008, Brot <[EMAIL PROTECTED]> wrote:
>
>
> this could be useful:
> http://code.google.com/p/django-mobileadmin/
>
> Bernd
>
>
> On 31 Mrz., 10:40, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > I'm pretty sur
I can use the django admin on my cel phone ( N73 ) It has a nice
> > browser based
> > but I tested on another cel phone and it only knows WAP not full
> > html /
> > css / javascript
> >
> > Leonel
> >
> >
> > >
>
>
> >
>
5.000 rows.
>
> What you can recomend in my case?
>
> Thanks!
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447792598685
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To pos
mentation on it? I have my app
> that mainly interacts with mysql but I need to pull some data from a
> mssql database for specific reasons, is this possible or should i just
> use ado-mssql or pyodbc by itself?
> >
>
--
Regards
I can't find much of anything newer than March 2007 for the
> SqlAlchemy branch.
>
> Anyone know what's going on? I've been messing with TurboGears for a
> couple of weeks, but their SqlAlchemy implementation doesn't seem to
> play nice with MS SQL Server.
>
> Thanks,
&g
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I've had pretty good results with SQLAlchemy on large datasets, that
might be a painless way to solve the problem..
Ben
Jarek Zgoda wrote:
> Jacob Kaplan-Moss napisał(a):
>
Can you share any hints on how to reduce the memory usage in such
ave to give that a go, but was hoping to stick to stable
> releases if possible.
>
> Thanks!
> Tim
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+447503145951
--~--~-~--~~~---~--~~
You received this message because you are subscribed to th
gt; Jeff Anderson
> >>
> >> Papalagi Pakeha wrote:
> >>
> >>> hi there!
> >>>
> >>> i wonder if there is any way to have Macros in django templates
> >>> similar to what Jinja has (http://jinja.pocoo.org/)?
> >
applications.
> I've seen it done where I work-- we use django for our print accounting
> scripts.
>
> Does anyone else use django for a framework?
>
> Jeff Anderson
>
>
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862
--~--~-~--~~~--
s when I have some time and get it
> > caught up with the latest trunk.
>
> If multi-db support is important to you, then this is the most helpful
> thing you can do.
>
> Yours,
> Russ Magee %-)
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862
--~--~-
ny great difference between
> >>> several distributions regarding these aspects. Any comment is welcome.
> >>>
> >>> Regards,
> >>> Andreas
> >>>
> >>>
> >
> >
> >
> >
> I second the Arch suggestio
ing fine.....
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862
--~--~-~--~~~---~--~~
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@g
missing?
>
> Ideally, it would return something like: ..."user":
> {"username":"bfordham", "pk":1}...
>
> I'm using the django-rest-interface, if that makes a difference one way
> or the other.
>
> Thanks
> --B
>
> >
>
--
despite any warnings to "Click DOIT only once!"
> they're going to go back and click DOIT again
>
> Karen
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862
--~--~-~--~~~---~--~~
You received this message because you
here.
> >
> > Carlos
>
> I put the following line in the wrong place:
>
> connection = self.model._default_manager.db.connection
>
> It needs to go in two places in the OracleQuerySet: first, in the
> iterator() method; second, in the _get_sql_clause() method. T
t; 2 ['uname', 'umobile', 'uroom']
> 3 {'name':'uname', 'mobile':'umobile', 'room':'uroom'}
>
> Address's attributes are unfixed.
>
> "Class Amdin" let those come ture, but I am blind to see the English.
>
&g
s min_rent, max_rent, is_room_available
> are not fields in the database, I looked at the custom model managers
> and they seems to work but just for one custom criteria at a time.
>
> Could someone please recommend a good way to solve
; perhaps there was an easier way.
>
> Thoughts?
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+6281317958862
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
mary and foreign keys as shown in my image table?
>
> Coule it be done after the feed of the database or could i integrate
> my python scripts into my django application structure?
>
> i hope my explanations and questions will be understood...
>
> Thanks
>
> Greg
>
k at the sites framework, and consider the ways that you
> could deploy multiple instances of your Django application, with a
> common login interface that redirects to the appropriate site after
> login.
>
> Yours,
> Russ Magee %-)
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECT
gt; > If I were you, I would design the model and try to run the most
> > complicated queries with django's ORM.
> > If you reach django's limitations, or feel you're on the edge, it's
> > probably just one hour of find/replace in your favori
t; the latest development version?
>
> It is possible to update (the SVN terminology is merge) multi-db with
> the changes from trunk; however, the process won't be a simple one, as
> conflicts between changes in multi-db and changes in the trunk will
> need to be resolved manually.
>
send
you the patch if you want it. Note that I haven't used the patch yet.
Ben
On 18/09/2007, msoulier <[EMAIL PROTECTED]> wrote:
>
>
> On Sep 17, 11:00 pm, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > Hi Mike,
> > There is a branch that supports multiple databa
ecommended way to do this?
>
> Thank you for any help that you can offer.
>
> Mike
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gro
= models.TextField()
>
> I want to have a non database item in this model class, which I can
> populate in the views. What is the recommended way to do this.
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---
d, but if you're feeling adventurous, it might be worth looking
> at.
>
> Yours,
> Russ Magee %-)
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&q
It worked? Sweet ;-)
On 23/08/07, Amirouche <[EMAIL PROTECTED]> wrote:
>
>
>
>
> On 22 août, 09:51, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > A quick hack that should work would be to create a DictReader object to
> read
> > the cs
create for each line a Model Instance with the data extracted from
> the file
>
> I prefer, because I had to change some values, and I prefer to do
> this in python :)
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~--
u gave, Django's query set notation doesn't
> > help you. So don't use it. Pick a replacement persistence layer.
> >
> > Trying to replace just the ORM portion (the "mapper" between Python
> > objects and database relations) is almost certainly the wrong level to
&
> --
>
> regards
> kg
> http://lawgon.livejournal.com
> http://nrcfosshelpline.in/web/
>
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message because you are subscrib
>
> We'll most likely continue to use ReportLab for our project, as we are
> using the graphs in some reports we are going to export to PDF... but
> looks like an interesting read :)
>
> I'll also add the other two samples to the wiki this week...
> Carole
>
> On Jul 3
s or svn+ssh
>
> Thanks
>
> On Aug 6, 6:47 am, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > Hi guys,
> > Thanks for the interest! I'll split it up from my main app and put it
> into
> > SVN on my server. I'd really like comments on some of the design
> On Aug 3, 11:51 am, "Matt Davies" <[EMAIL PROTECTED]> wrote:
> > > > Ben, I'd be interested in looking at that application.
> >
> > > > Need someone to help with testing?
> >
> > > > On 03/08/07, Ben Ford <[EMAIL PROTECTED]&g
ating a report based of model items
> > > > selected in a WYSIWYG(ok this is not important) fashion. And
> > > > generating a HTML tables based report with defined calculations etc.
> >
> > > > I understand that
> using the admin capabilities in my custom view and template?
>
> All feedback highly appreciated!
>
> Johan
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message because you are s
do it like this:
> User.add_to_class('parent', models.ForeignKey('User', blank = True,
> default = 0))
>
> Anybody experienced something similar?
>
> Thanks for every thought,
> Dan
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-
ttp://code.djangoproject.com/wiki/Charts
> >
> > If anyone is interested in a sample for a Pie or Scatter chart, let me
> > know, and I can add samples of these as well.
>
> I would say, go ahead and add them, as I'm sure many people will find
> them useful at some point.
>
&g
model documentation for "related_name" for more
> details.
>
>
>
> --
> "Bureaucrat Conrad, you are technically correct -- the best kind of
> correct."
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~
lable as a zip (tar, gz, etc)?
>
> Failing that, when can I expect the next official release?
>
> Thanks
> Karl
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message becaus
cause there were errors in one or more
> > > models:
> > > mysite.traveler: invalid syntax (models.py, line 8)
> >
> > If you did a copy of your actual code, line #8 ("def
> > _first_date(self):") seems to have an extra space worth of
> > i
AIL PROTECTED]> wrote:
>
>
> On Jul 18, 4:47 am, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > > I haven't looked at the code, but I wonder about the dependency on
> > > multiple ORMs; the Django ORM cannot expose its own functionality on
> > > multiple
re's also a similar module (on
djangosnippets I think) which enables extraction/insertion of a database
into/from a list of python files. It's pretty good!!
Cheers
Ben
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this messag
demo bike app (django.contrib.dataplot.bike) to
> work? If you are able to get those simple examples working, it should be
> straightforward to translate the design paradigm to your problems.
>
> Sincerely,
> Toby Dylan Hocking
> http://www.ocf.berkeley.edu/~tdhock
>
> On T
as mine is? I'm using RPy 0.4.6-3ubuntu2 Python 2.4.2-0ubuntu3
> and R 2.2.1-2 on ubuntu dapper. What are your versions?
>
> Sincerely,
> Toby Dylan Hocking
> http://www.ocf.berkeley.edu/~tdhock<http://www.ocf.berkeley.edu/%7Etdhock>
>
> On Wed, 11 Jul 2007, Ben Ford wrote:
INSTALL.txt in the archive.
> Documentation is mostly present in docstrings at the moment -- I'm working
> on more tutorials, but the .txt files and the example app should be enough
> to get you started.
>
> Sincerely,
> Toby Dylan Hocking
> http://www.ocf.berkeley.ed
> > is on your Python path. The only real constraints are that template tags
> > are loaded from a directory called templatetags/ that must live in an
> > application directory and models must live in a module called "models".
> > Everything else is free-form and enti
r code reuse is significantly worse, than, say, in Plone/
> Zope 3. Though it might be because of my relative inexpirience in
> Django.
>
> I would be very grateful if someone will point me to pages/blog
> entries about how to write Django apps with reusability in
-class of Manager (and
perhaps a mixin for my models)
I'll have to write some code and see how I go!
Thanks for the help (and the write up on Model Creation and
Initialization!!)
Ben
On 03/07/07, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote:
>
>
> On Tue, 2007-07-03 at 11:51 +0700,
fairly interesting problem here, and I recognize that it's WAY out
of spec for what django was designed for!!! If anyone's got any ideas, I'm
all ears!!
TIA,
Ben
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+628111880346
--~--~-~--~~~---~--~~
You received this message be
glad to help, since I really need
> this module for my project.
> Ana
>
> On Jun 28, 10:21 am, "Ben Ford" <[EMAIL PROTECTED]> wrote:
> > Hi
> > There is a branch that supports multiple databases and I'm working on
> > getting the merges I've made from tr
erent database.
> I'm kind of lost and a bit stuck here because I have no idea how to
> deal with these two problems.
> I read several other posts about this matter but none of them seemed
> to help me.
>
>
> >
>
--
Regards,
Ben Ford
[EMAIL PROTECTED]
+62811188034
62 matches
Mail list logo