I am going to delete row from csv but I got this error
KeyError at /tools/universe/delete_instrument/
"['3'] not found in axis"
views.py
instrument = request.POST.get("symbol")
universe_id = request.POST.get("id")
universe = get_object_or_404(Universe_Universe, id=universe_id)
The proposal looks great, thanks for putting it together and pushing async
in Django forward.
I'm not sure the best approach to take here, but I've just started
experimenting on a fork:
https://github.com/erm/django/tree/async-experiment-2. I am unsure how much
of the more complex items I may
, Daniel Sokolowski wrote:
> >>>>
> >>>> I’ve done the below in the past, the only issue with that is if you
> have
> >>>> side effects in parent’s dispatch you don’t want executed but you
> would also
> >>>> run that risk if you had an initialize
ef get(self, request, *args, **kwargs):
# behave normally
The example is a bit crude as I just whipped it up, but it gets the point
across I think.
Sorry for dragging this out, I did attempt to explain this earlier however
perhaps I didn't do the best job.
Cheers,
Jordan
On Fri, Nov
give you a good reason for it, it just feels bad every
time I do it. The only way to work around this is to override dispatch
without calling the original, and essentially duplicate the original
dispatch method with an init call added in.
Cheers,
Jordan
On Fri, Nov 9, 2012 at 6:25 PM, Russell K
er means.
>
That's fine, I was simply trying to get a discussion going and perhaps a
decision from someone who is capable of making one, as that hadn't been
done up until now. I'll do my best to try and convey what I'm trying to
accomplish better in the future, as it see
it does seem to me like something that anyone who is
making extensive use of class based views will eventually come up against.
Cheers,
Jordan
On Tuesday, 6 November 2012 12:07:19 UTC+13, Russell Keith-Magee wrote:
>
>
> On Tue, Nov 6, 2012 at 2:20 AM, Jordan Hagan
> > wrote:
>
>&g
ok at this this week, I'll post a
link to the trac ticket here once I've opened it.
Cheers,
Jordan
On Friday, 2 November 2012 04:00:07 UTC+13, Andre Terra wrote:
>
> At first I wasn't sure about this hook, but after working with permissions
> in CBVs I can see how this
do any
other grunt work required to make this happen.
Cheers,
Jordan
On Wednesday, 31 October 2012 22:57:28 UTC+13, Meshy wrote:
>
> Marc and I have been using a mixin to override `dispatch()` with this
> functionality. He has an ongoing pull request on
> django-braces<https://github.c
ould do just that. Without this hook I'm forced to add code like the
following to each of my projects as a workaround
https://gist.github.com/3983252
Cheers,
Jordan
On Saturday, 17 March 2012 09:52:43 UTC+13, Mike Fogel wrote:
> > I don't really see what difference another function
Cool.
Well, maybe I can look into how abstract base classes are currently
implemented and see if there's a way to generate query sets for all
derived classes from the parent.
Thanks for the insight!
On Mar 29, 12:40 pm, Carl Meyer wrote:
> On 03/29/2011 12:40 PM, Jeremy Dunck wrote:
>
> > What
I'm sure this subject has been beaten to death, but I haven't found an
answer to a simple scenario and I'm wondering why this hasn't been
addressed before.
I have three models, structured like so:
Document
-Presentation
-Spreadsheet
Document is never instantiated on its own; a prime candidate fo
ction, check the results of "select *
from pg_stat_activity." You should see the database connection from the
dbshell stuck in the " in transaction" state.
Regards,
Jordan
signature.asc
Description: This is a digitally signed message part
rdless of use, NIST encourages application and protocol designers
to use the SHA-2 family of hash functions for all new applications and
protocols."
Is there a good way to make it forward upgradeable? Allow the
developer to decide on the shorter SHA-1 hash or the (theoretically)
more secure SHA-256
On Dec 21, 2007 4:42 AM, Robert Šmol <[EMAIL PROTECTED]> wrote:
> As my 0.02 cents of new comer I can confirm this was one of the things
> that slows adoption of Django. Proposed change to have ADMIN_MEDIA_PREFIX to
> be /admin_media/ (or either /media/admin/ ) makes more sense (at least for
> me)
;t you implement your own DRY solution? Write a decorator for the
get_or_create() method that catches exception thrown during the call to
create() and calls get() again.
Jordan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
16 matches
Mail list logo