Yo-Yo Ma,
You must be reading a different thread to me... Or rather I don't see
it in quite as negative terms as you do and I'm a bit baffled as to
how you've interpreted it quite so strongly!
Richard's OP was indeed not saying that we should go out and advertise
that it's a great CMS but he did
Richard,
Glad I managed to get across where I'm coming from - I was struggling
a bit with coming up with how to express it :). Great to hear you're
going to contact Tom and Venkatraman about helping. I hope you didn't
take anything I said as wanting to pour cold water on where you're
coming from -
Andrew Godwin from the South user group replied: "It looks like this
is a bug in the permissions-creating code, however, and not in South
itself (although it might be triggered by the way South fiddles with
the ORM)."
Ideas, anyone?
--
You received this message because you are subscribed to the
On Friday 18 June 2010 07:27:10 Shawn Milochik wrote:
> Use South data migrations.
>
I do not understand what data migration has to do with this.
--
Regards
Kenneth Gonsalves
Senior Associate
NRC-FOSS at AU-KBC
--
You received this message because you are subscribed to the Google Groups
"Dja
On Fri, Jun 18, 2010 at 9:03 AM, Kenneth Gonsalves wrote:
> On Friday 18 June 2010 07:27:10 Shawn Milochik wrote:
>> Use South data migrations.
>>
>
> I do not understand what data migration has to do with this.
Data fixups are one sort of migration - its not a schema migration,
but a data migrat
I'm assuming there's no fields on the duplicate player instances that
need merging - from your mention of "shift all records of the
duplicate" I'm reading that as "shift all records that relate to the
player" - otherwise it will need human intervention. Having stated
that assumption, while it's pos
On Friday 18 June 2010 14:07:53 Tom Evans wrote:
> On Fri, Jun 18, 2010 at 9:03 AM, Kenneth Gonsalves
wrote:
> > On Friday 18 June 2010 07:27:10 Shawn Milochik wrote:
> >> Use South data migrations.
> >
> > I do not understand what data migration has to do with this.
>
> Data fixups are one sort
On Jun 16, 2010, at 10:45 PM, Venkatraman S wrote:
> At the same time, look at Pinax - its almost dead since 0.7 and #pinax is
> mostly silent; whereas this is a kickass mashup which needs more innovation.
Let me make this clear: Pinax is *not* almost dead. Like every project there
are drops i
Hi,
I'm trying to run dumpdata on an application which use severals non-
managed models. For example:
class testModel(models.Model):
class Meta:
managed = False
Unfortunately, when I run ./manage.py dumpdata myapp ; the following
happens :
Traceback (most recent call last):
File "
Django version 1.1.2 and yes the columns in questions are nclob and
nvarchar
The form i was using was to add the data was generated using model
formset factory
Are there characters django just can't cope with? Do i need to clean
them out before saving the data?
Cheers for any help
On Jun 18, 7
Thanks for all the comments so far. I seem to have started a debate,
and that was exactly the purpose!
First, let me try to clarify something: I would never try to sell
Django as a CMS because it obviously isn't a CMS. But that doesn't
mean that comparisons with CMS's does not serve a purpose. The
Finn,
My idea for a "Pet" project is not to promote a particular project.
We simply need a project with a relatively large number of "re-usable"
apps that can be brought into compliance with the "Best Practices"
guidelines. While I do see this as a separate effort and needing a
separate site, I d
On Fri, Jun 18, 2010 at 8:16 PM, Richard Shebora wrote:
> Finn,
>
> My idea for a "Pet" project is not to promote a particular project.
> We simply need a project with a relatively large number of "re-usable"
> apps that can be brought into compliance with the "Best Practices"
> guidelines. While
I have been trying unsuccessfully to select the initial value of a
multi select drop down.
I was wondering what I am missing as to why this does not seem to be
working.
Here is a snippet of my code
self.fields[config.ConfigurationName] = forms.MultipleChoiceField(
On 18 juin, 15:03, Jeff Green wrote:
> I have been trying unsuccessfully to select the initial value of a
> multi select drop down.
>
> I was wondering what I am missing as to why this does not seem to be
> working.
>
> Here is a snippet of my code
>
> self.fields[config.ConfigurationName] = for
Hi Ben,
I'm trying to do the same thing, I thought perhaps list_display_links
would automagically link to related objects, but unfortunately not.
did you manage to find a solution?
Regards,
Steve
On May 21, 3:12 pm, Ben wrote:
> Is it possible to mess with the __unicode__ method of amodelto
> e
Can you clarify what you mean by sequence. It would be appreciated if you
can provide me of an example which might help me to understand how to
implement it.
Thanks,
Jeff
On Fri, Jun 18, 2010 at 8:44 AM, bruno desthuilliers <
bruno.desthuilli...@gmail.com> wrote:
>
>
> On 18 juin, 15:03, Jeff Gr
Another example, on top of the example he put in his original post?
A sequence is a generic python term for a collection of objects that
can be iterated through. So a list (or array, if you don't grok the
lingo) is a sequence, so is a tuple, so is a string - its a sequence
of characters.
All thes
I'd like to use the values of a ManyToManyField in a model's overriden
save() method when I save an instance in admin.
It turns out that by design, django does not update the M2M field
before calling save(), but only after the save() is complete as part
of the *form* save...
How can I access the n
Hallöchen!
Jonathan writes:
> I'd like to use the values of a ManyToManyField in a model's
> overriden save() method when I save an instance in admin. It
> turns out that by design, django does not update the M2M field
> before calling save(), but only after the save() is complete as
> part of t
I'm trying to use a FormPreview as described in the Django documentation and
am getting this error:
Template error:
In template
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/contrib/formtools/templates/formtools/form.html,
error at line 1
Caught
Nevermind. I guess that should have been obvious.
Jacob
On Fri, Jun 18, 2010 at 12:27 PM, Jacob Fenwick wrote:
> I'm trying to use a FormPreview as described in the Django documentation
> and am getting this error:
>
> Template error:
> In template
> /opt/local/Library/Frameworks/Python.framewor
any thoughts/ideas at all?
On Wed, Jun 16, 2010 at 11:08 AM, Dmitry Beransky
wrote:
> Hi,
>
> Is there a way to enumerate view functions that are currently
> associated with a url patern? In the end, I'd like to get a list of
> triples: pattern name, pattern, callback function.
>
>
> Thanks
> Dm
Hi Folks,
I have code that does this:
lCommand = ["hg","history", "-r", "%s:%s" % (pFrom, pTo)]
lProcess = subprocess.Popen(lCommand, stdin=subprocess.PIPE,
stdout=subprocess.PIPE)
in a view. When using the dev server, I'm quite often getting a blank
page instead of my HTML, and for each pa
This probably isnt the *best* place to post this, but I figured a lot
of folks here have had experience with this.
I am switching off lighty to nginx for static file serving as it
handles memcached (as far as i know, lighty does not). Anyhow, I have
it up and running ok, but im not sure what the
Does FormPreview support uploading files?
I imagine I would need to override the templates to change the form enctype
and override the validation view so that it will check for request.FILES,
but is there a way to do this easily? Or will it just be an ugly, hacky mess
that's not worth embarking on
On Fri, Jun 18, 2010 at 12:22 PM, TheIvIaxx wrote:
> My thoughts right now are for it to check memcached for the key, if
> not found, then serve up the file from disk. Everything else goes to
> apache. I will just have a cron job populate memcached separately.
>
> Is this a common practice or is
Hi Bobby,
You might be interested in a django clone of the sample shopping cart
chase paymentech provided (http://store.e-xact.com/).
You can get the code and setup instructions here :
http://github.com/gitaaron/E-xact-django-clone
Rgds/
Aaron
On Apr 20, 10:34 am, Bobby Roberts wrote:
> Hey Bi
you may try subprocess.check_call instead of Popen
regards
henrik
>reply to message:
>date: 18.06.2010 19:05:21
>from: "Tim Sawyer"
>to: django-users@googlegroups.com
>subject: subprocess.Popen breaks dev server
>
>Hi Folks,
>
>I have code that does this:
>
>lCommand = ["hg","history", "-r", "%s
In my django application I have a global variable 'gv' which is
accessed by different requests coming from the end users.
Now 'gv' holds a data of 2 MB size which needs to be update at regular
interval, pulling 2 MB data from the database for every request
doesn't make sense.
For this I have plan
Hi,
does someone know a simple way or app for a better search like google does it?
Not in the meaning of: did you mean, but ignore chars like ",.-#+? and convert
special chars like ä to ae, ü to ue and so on...
regards
Henrik
--
You received this message because you are subscribed to the Goog
On Jun 17, 4:13 pm, derek wrote:
> On Jun 17, 5:44 am, rahul jain wrote:
>
> > Hi there,
>
> > I have some filters set-up on admin page. As soon as I perform admin
> > action. All filters are getting reset.
>
> > Is this is a bug from framework ?
>
> No. There are work-arounds to get back to t
On Jun 18, 3:42 am, "c.poll...@bangor.ac.uk"
wrote:
> Django version 1.1.2 and yes the columns in questions are nclob and
> nvarchar
>
> The form i was using was to add the data was generated using model
> formset factory
>
> Are there characters django just can't cope with? Do i need to clean
> t
On Jun 18, 8:18 pm, swinton wrote:
> On Jun 17, 4:13 pm, derek wrote:
>
> > On Jun 17, 5:44 am, rahul jain wrote:
>
> > > Hi there,
>
> > > I have some filters set-up on admin page. As soon as I perform admin
> > > action. All filters are getting reset.
>
> > > Is this is a bug from framework
I want users of my app to be able to define their own fields in
addition to the already existing fields.
These fields will be displayed on webpage, in form and saved in
database.
Fields can be of any of the standard types.
Any way to do it in django?
--
You received this message because you ar
I thought Chase Paymentech uses authorize.net. Please correct me...
so any sample code to integrate django based web app to authorize.net
without going to chase or authorize.net hosted pages?
On Jun 18, 11:09 am, surtyaar wrote:
> Hi Bobby,
>
> You might be interested in a django clone of the
This project seems like what you want, but i am not sure if it is
still maintained or stable. It is at least a very interesting piece
of code.
http://freshmeat.net/projects/wikidbase/
Thanks,
Richard Shebora
On Fri, Jun 18, 2010 at 4:32 PM, zweb wrote:
> I want users of my app to be able to de
How would I write this conditional statement in a view?
if not candidate.office_type == "USREP" or "USSEN" or "DJ" or
"ASSOCDJ":
office = '%s' % (candidate.office_type_description)
else:
office = []
As is stands, it doesn't seem to be running through all of the OR
operato
On vr, 2010-06-18 at 14:04 -0700, Nick wrote:
> How would I write this conditional statement in a view?
>
> if not candidate.office_type == "USREP" or "USSEN" or "DJ" or
> "ASSOCDJ":
> office = '%s' % (candidate.office_type_description)
> else:
> office = []
>
>
> As is s
So, here is the solution that can help u. I will explain it using
these models:
class Model1(models.Model):
text_field =
model_2 = models.ForeignKey('Model2')
class Model2(models.Model):
model_3 = models.ForeignKey('Model3')
class Model3(models.Model):
Goal
Brilliant, thanks
On Jun 18, 4:08 pm, Dennis Kaarsemaker wrote:
> On vr, 2010-06-18 at 14:04 -0700, Nick wrote:
>
> > How would I write this conditional statement in a view?
>
> > if not candidate.office_type == "USREP" or "USSEN" or "DJ" or
> > "ASSOCDJ":
> > office = '%s' % (candida
On Jun 18, 7:17 pm, aurphir wrote:
> In my django application I have a global variable 'gv' which is
> accessed by different requests coming from the end users.
>
> Now 'gv' holds a data of 2 MB size which needs to be update at regular
> interval, pulling 2 MB data from the database for every requ
Its a lot of little files and from what i've seen, the stat call is a
bottleneck. If they are all in memcache, then it should scream.
Which "hints" would you be referring?
On Jun 18, 10:56 am, Javier Guerra Giraldez
wrote:
> On Fri, Jun 18, 2010 at 12:22 PM, TheIvIaxx wrote:
> > My thoughts ri
I'm putting together a system to track scientific samples of various
types. The "various types" is what's making me scratch my head at the
moment.
Each sample type has a particular set of attributes, some of which are
unique, others are shared with other sample types.
For example, a fluid sample
So, here is the solution that can help u. I will explain it using
these models:
class Model1(models.Model):
text_field =
model_2 = models.ForeignKey('Model2')
class Model2(models.Model):
model_3 = models.ForeignKey('Model3')
class Model3(models.Model):
Goa
Please rethink your design! There is certainly no need for a global
variable. There is may be a way to implement your requirement as a
singleton that is being able to deliver the huge bag of data in a much
more smarter way.
Am 18.06.2010 um 20:17 schrieb aurphir :
In my django application
> Ages ago I wrote asnippetwith a model field and form field to deal
> with this. It should still work. See:http://djangosnippets.org/snippets/1200/
> --
> DR.
I'm using this snippet like so:
MONTHS = [
(1, "January"),
(2, "February"),
(3, "March"),
On Sat, Jun 19, 2010 at 4:28 AM, llanitedave wrote:
> I'm putting together a system to track scientific samples of various
> types. The "various types" is what's making me scratch my head at the
> moment.
>
Prefer a table like follows (tblname:samples): sampleid, samplename ,
sampledesc etc e
On Sat, Jun 19, 2010 at 10:12 AM, Venkatraman S wrote:
> Prefer a table like follows (tblname:samples): sampleid, samplename ,
> sampledesc etc etc
>
Ok - i missed explaining why i would recommend this:
In most of the applications, maintainence is a bigger pain than development.
In your case,
On Jun 17, 5:03 pm, Graham Dumpleton
wrote:
i copy the media directory in my "/home/yourname/mysite"
directory.
>
> Thus, run Python and go:
>
> >>> import django
> >>> import os
> >>> os.path.dirname(django.__file__)
import django
import os
os./usr/local/lib/python2.6/dist-packeages/
django
Oops. Didn't see you reply. Thanks, I'll take a look at the command
extension.
BTW, the second link you provided is my own snippet :) I want to
improve it with auto documentation extracted from the actual view
functions.
On Jun 16, 11:40 am, Alexis Roda
wrote:
> En/na Dmitry Beransky ha escri
Thanks for the response, Venkatraman. You're right that I don't
anticipate a huge number of records here -- a few hundred thousand at
the extreme high end. Sharding isn't something I considered, and I
don't think it would be necessary.
I guess it's mostly a normalization question.
And while I w
52 matches
Mail list logo