Folks,
I just checked and I'm running Postgres 9.1 and Postgis 2.0SVN with GeoDjango
(on Mac OSX 10.7.4) . I'm not doing anything very exciting with GeoDjango so
far, so perhaps there are problems I haven't encountered, but it does run, and
it is possible to encode locations using the GeoDjango
Answering my own question...
I debugged my brain a bit and got something working with branching. Here's
my interpretation of my brain bug.
First a "step" is not something attached to a particular form. Its the
index in a sequence. The same form might be step 2 with one branching
structure b
I think I must be missing something. To me a wizard should provide
questions and branch according to the answers (otherwise why not just put
it all in one form?). I've searched the docs and web and source, but I
don't find anything that lets me branch. I thought the "condition_dict" of
the wi
On Fri, Aug 3, 2012 at 11:12 AM, Anoop Thomas Mathew wrote:
> With my heartfelt condolence, I'd like to inform you all the unfortunate
> demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
> strong advocate of Python, Django and Free Software in India.
> He had served as the Pr
A suggestion: Rather than a mailing list thread, drop into djangopackages.com
It's a community site specifically aimed at cataloging Django apps
according to what they do, and how popular they are.
Yours,
Russ Magee %-)
On Sat, Aug 4, 2012 at 8:28 AM, jondykeman wrote:
> Hi Everyone,
>
> I have
Hi Everyone,
I have found when getting into Django that at least once a month I find
a reusable app that replaces the need for what I had spent the last ~2
weeks figuring out how to write myself.
As such, I thought it might be nice to start a thread of everyone's
favourite / most useful apps
I've written my own middleware class with a process_exception method to
capture the exception, and remedy the underlining condition which caused
the exception. The point is to transparently resubmit the request without
actually returning anything to the client. Basically to retry the entire
req
On Aug 3, 2012, at 3:55 PM, Thomas Lockhart wrote:
> Really? What is the use case requiring a version 2.0.0?
PostGIS 2.0 has a lot of stuff in it, including things like KNN indexes; those
alone are worth upgrading for.
> And typically folks don't jump on a x.0.0 of anything, expecting to see it
On 8/3/12 3:39 PM, Oleg Korsak wrote:
looks like GeoDjango is dead, it is not solved for almost half of the year
Really? What is the use case requiring a version 2.0.0? Seems that the
previous 1.x version works as advertised.
And typically folks don't jump on a x.0.0 of anything, expecting to
looks like GeoDjango is dead, it is not solved for almost half of the year
четверг, 19 июля 2012 г., 21:23:03 UTC+3 пользователь Dominique Guardiola
Falco написал:
>
>
> Is there a tutorial describing how to do this somewhere please ?
> Because right now, geodjango is unusable with PostGreSQL 9 +
Anyone knows of any trick that will let me show a second-level
indirection inline
via a one2one, so ModelA <-FK- ModelB <-one2one- ModelC, and show A,
B-C-B-C-B-C kind of thing?
Maybe I can override the get_formsets in the admin?
--
"The whole of Japan is pure invention. There is no such countr
On Friday, 3 August 2012 16:12:35 UTC+1, atm wrote:
>
> With my heartfelt condolence, I'd like to inform you all the unfortunate
> demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
> strong advocate of Python, Django and Free Software in India.
> He had served as the Preside
Let's write this in logical notation
models.ParentObj.objects.filter(Q(childobj__attr1="something",
> childobj__attr2__gte=100)).count()
A AND B
This query should give you all objects where both attr1="something" is true
AND attr2_gte=100 is true. Does this sound right from the data you have at
Hey Steve,
There's a number of ways you could go about tackling this task. I,
typically, would read the original's application code and first determine
how it worked. In some cases, I would write my code to subclass (or re-use)
theirs and just make the modifications required. Other times, dependin
you could return a HttpResponseRedirect and handle your error on a different
url or write your own error middleware...
for some ideas on error middleware see see:
https://bitbucket.org/ashcrow/django-error-capture-middleware/wiki/Home
regards
Henrik
>reply to message:
>date: 03.08.2012 14:59:19
If you plan to create a batch of objects, I wouldn't recommend going that
route. Instead, check this out:
https://docs.djangoproject.com/en/dev/howto/initial-data/
Has Django really such a bad performance for data insertion?
The Object Relational Mapper does quite a bit more than simply write S
Hello All,
Is it possible to have a process_exception on handling an exception resubmit
the request, instead of either returning a HttpResponse or None back to the
user? Is there a clean way to redirect the response back to the view?
Thanks,
Paul
--
You received this message because you are s
I am very new to Django but I like it a lot. I learned about the registration
plugin and I am trying to modify it such that only the individuals who have and
can validate an email with .org address can register. I was wondering if
someone could point me in the right direction in terms of how exa
Having trouble figuring this one out.
class ParentObj:
id = UUIDField(primary_key=True)
class ChildObj:
id = UUIDField(primary_key=True)
parent = models.ForeignKey(ParentObj)
attr1 = models.CharField(max_length=128)
attr2 = models.IntegerField()
If you filter one table based on it's children tab
Can you clarify by what you mean when you say "scroll through the table
back and forth"?
This is pretty easy to implement using CSS/HTML and isn't relevant to
Django in particular -- but maybe I'm simply misunderstanding your question
:)
On Fri, Aug 3, 2012 at 3:08 PM, Charles Norton wrote:
> I
I would like to create a simple table in a Django template that can scroll.
I am interested in finding a sample from which I can learn. If someone
would point me to a sample, I would appreciate it.
The application would be having a 10 line table, 55 water meter information
rows, and being able
On Thu, Aug 2, 2012 at 8:15 PM, Melvyn Sopacua wrote:
> On 1-8-2012 21:52, Larry Martell wrote:
>> On Wed, Aug 1, 2012 at 1:38 PM, Kurtis Mullins
>> wrote:
>>> Sorry for the double-message. Anyways, if you do want to do what that other
>>> person recommended, simply find the View that the user i
More on KG :
-- Forwarded message --
From: JAGANADH G
Date: Fri, Aug 3, 2012 at 10:45 PM
Subject: [BangPypers] Kenneth Gonsalvas a short bio
To: ILUG-C , chenna...@googlegroups.com,
ilug...@googlegroups.com, Indian Python Software Society ,
Bangalore Python Users Group - India , M
On Fri, Aug 3, 2012 at 10:12 AM, Anoop Thomas Mathew wrote:
> With my heartfelt condolence, I'd like to inform you all the unfortunate
> demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
> strong advocate of Python, Django and Free Software in India.
certainly sad news.
Ah jeez... he was a good guy too, always keen to help others - really sorry
to hear this news.
Another harsh reminder on just how short and precious our time in this life
really is :/
Cal
On Fri, Aug 3, 2012 at 4:12 PM, Anoop Thomas Mathew wrote:
> With my heartfelt condolence, I'd like to info
Someone please give some solution to this stack overflow question-
http://stackoverflow.com/questions/11706721/updating-a-button-value-database-and-call-a-view-function-without-refreshing-th
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To vi
On Aug 3, 2012, at 9:01 AM, Melvyn Sopacua wrote:
> On 3-8-2012 17:37, Lee Hinde wrote:
>
>> self.fields['photo_response'].widget.attrs["class"] = 'date-field
>> input-small'
>> self.fields['photo_response'].widget.format = '%m-%d-%Y'
>>
>>
>> is there a way to consolidate this sort of thing
Success! Thanks for all the help. After integrating your app with the
FlatPage app I was able to integrate it with FlatBlock as well.
If you're up for it, I'd love to help update the documentation to save
future users (and yourself) some time with the issues I ran in to.
JDB
On Fri, Aug 3, 2012
Hi I am new to Django.
I worked through the tutorial.
I created a small test app on:
- Win7 64bit
- python 2.7.3 (32bit)
- Django 1.4.1
- using the development server
Now I wanted to populate the (sqlite backend) database
with a python script.
My Problem:
I Insert 3 Object (like MyModel.
On 3-8-2012 17:37, Lee Hinde wrote:
> self.fields['photo_response'].widget.attrs["class"] = 'date-field input-small'
> self.fields['photo_response'].widget.format = '%m-%d-%Y'
>
>
> is there a way to consolidate this sort of thing, such that if a field
> is a date field, it always gets these set
I have a lot of this throughout my forms.py files:
self.fields['verification_date'].widget.attrs["class"] = 'date-field
input-small'
self.fields['verification_date'].widget.format = '%m-%d-%Y'
self.fields['mail_response'].widget.attrs["class"] = 'date-field input-small'
self.fields['mail_respons
RIP, Kenneth.
He was one of the primary contributors to this list and his
contributions will be missed.
Condolences go out to all of his friends and family.
On Fri, Aug 3, 2012 at 11:20 AM, Anoop Thomas Mathew wrote:
> Chronic Asthma. He was hospitalized yesterday, and passed away today.
>
>
>
Chronic Asthma. He was hospitalized yesterday, and passed away today.
On 3 August 2012 20:45, Marcin Tustin wrote:
> What happened to him? He was posting on this list in the last week?
>
> On Fri, Aug 3, 2012 at 11:12 AM, Anoop Thomas Mathew wrote:
>
>> With my heartfelt condolence, I'd like
What happened to him? He was posting on this list in the last week?
On Fri, Aug 3, 2012 at 11:12 AM, Anoop Thomas Mathew wrote:
> With my heartfelt condolence, I'd like to inform you all the unfortunate
> demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
> strong advocate of
With Cloud Servers, yes -- you do get Root access. It's basically the
equivelant of a VPS that you can easily spawn, scale, and replicate as
needed.
Without root access on servers, virtual environments only get you so far.
What happens when you need to install Python imaging library but they don't
With my heartfelt condolence, I'd like to inform you all the unfortunate
demise of Mr.Kenneth Gonsalves (KG - law...@thenilgiris.com), who was a
strong advocate of Python, Django and Free Software in India.
He had served as the President of IPSS(Indian Python Software Society),
which initiated the
what exactly is your "error"?
Is your matplotlibrc correct?
If you will be using matplotlib maybe this example from an data
application i wrote may help you:
def calculate_myPic(my_args):
fig = figure(figsize=parameter.figsize)
plotarea = fig.add_subplot(111) # for my thing
# calculat
>Agreed that virtualenv will allow you to install python packages - however
not any linux/unix packages. I have no problems using >Django on
Dreamhost. http://dashdrum.com/blog/2011/08/django-on-dreamhost/
Thanks for the advice I will look into dreamhost too!
On Fri, Aug 3, 2012 at 8:24 AM, Dan
Yes when I saw no root privleges I realized very soon that I either have to
get a new host that has what I need installed or get my own box and full
control.
With virtualenv I can install the packages on bluehost?
On Thu, Aug 2, 2012 at 10:34 PM, Trevor Joynson wrote:
> You are trying to install
Yeah I've been looking into webfaction. Any information would be great
thanks William!
Only issues I would forsee is the root control. That is unless they have
all that I need but at the same time I think I would lean to having root
over not. Also I'm on a shared hosting right now and it's pretty
Hi,
thanks for the links, I have look at these docs but I can't figure out how
to mix actions with a spreadsheet like presentation :-/
Is it possible to create admin forms like we can standards forms?
Another way I could try is to use filter_horizontal (I like this
presentation), but for a m2m re
Agreed that virtualenv will allow you to install python packages - however
not any linux/unix packages. I have no problems using Django on Dreamhost.
http://dashdrum.com/blog/2011/08/django-on-dreamhost/
On Thursday, August 2, 2012 10:34:35 PM UTC-4, trevorj wrote:
>
> You are trying to instal
On Wed, Aug 1, 2012 at 1:03 PM, Naoko wrote:
> QuerySet API - istartswith - use UPPER instead of ILIKE with PostgreSQL
> backend
> which conflict with Documentation (
> https://docs.djangoproject.com/en/dev/ref/models/querysets/)
> as documentation's example shows SQL equivalent as " ILIKE "
>
>
documentation is not completely updated so steps in previous emails are correct.
i won't be available until next week but check second snippet under:
http://django-tinymce.readthedocs.org/en/latest/usage.html#the-flatpages-link-list-view
and be sure that you have something like:
"""
admin.site.unr
Hi all,
I am converting a site from PHP to Python and pulling stuff from the Google
Analytics API using their new Python client library and oauth2. I'm having
an issue with oauth2 authentication where the redirect URI specified in my
client_secrets.json file is not recognised. The API seems to be
45 matches
Mail list logo