You could try grabbing the exact SQL statement(s) executed for this query
and run them yourself on the Oracle Database. At least that would tell you
if the problem lay in Django or not. Then, maybe use a debugger to step
through the query (try using ipdb or something similar) and see where it
gets
I'm having a strange error on an object query when I try to do negative
order_by. This is on an Oracle 11 database with Django 1.4
it looks something like:
MyModel.objects.filter(pk=N).order_by('-datetime')[:5]
This gives me valid data for all values of N in the database except for one
specific
Honestly, if your host doesn't provide those services out of the box -- you
might have better luck going with a different hosting provider. I would
choose a cheap VPS or Cloud Server if I were you.
On Fri, Jun 15, 2012 at 4:18 PM, Dan Santos wrote:
> Hi darwin,
>
> Sorry for the late reply. Tha
Hi darwin,
Sorry for the late reply. Thanks for your new instructions. I'm
currently stuck at step 1 because my wehost hasn't included important
commands and packages such as:
* uname
* make
* gcc (package)
So I will try to discuss with my webhost this week to see if they can
enable those comm
On Fri, Jun 15, 2012 at 1:13 PM, vikalp sahni wrote:
> strange, I hope you are checking the right model and right admin.
>
> Can you check you have traces for that field on your admin.py
Turns out there are 2 tables with very similar names, and I was
looking at the admin for the wrong table.
>
strange, I hope you are checking the right model and right admin.
Can you check you have traces for that field on your admin.py
Regards,
//Vikalp
On Fri, Jun 15, 2012 at 11:37 PM, Larry Martell wrote:
> I have a table that had a ForeignKey reference. In the admin screen
> for adding to this tab
Haha, no problem! Yep, it's in there (like you saw).
I opened up a Stackoverflow post with the question here:
http://facebook.stackoverflow.com/questions/11056283/iframe-showing-up-blank
On Fri, Jun 15, 2012 at 1:58 PM, Rafał Stożek wrote:
> Sorry, I didn't read the code.
>
>
> On Friday, June 1
I have a table that had a ForeignKey reference. In the admin screen
for adding to this table there was a dropdown for that column. I want
to get rid of that ForeignKey. I changed models.py and removed the
ForeignKey column, bounced apache and altered the table and removed
that column. In the admin
Sorry, I didn't read the code.
On Friday, June 15, 2012 6:56:56 PM UTC+1, Rafał Stożek wrote:
>
> Does this view accept POST requests? Because facebook uses POST to send
> you some data in signed_request param.
>
> On Friday, June 15, 2012 6:40:25 PM UTC+1, Kurtis wrote:
>>
>> I've created a very
Does this view accept POST requests? Because facebook uses POST to send you
some data in signed_request param.
On Friday, June 15, 2012 6:40:25 PM UTC+1, Kurtis wrote:
>
> I've created a very simple page. It pretty much just dumps out some html
> with the text "Hello, Facebook". This view can be
Hey guys/girls,
I've ran into a problem which I'm not quite sure how to tackle. We use
Django-cumulus for handling our user's media. I need to programatically
create an image and save it as a ImageField. I want to avoid any "hackish"
ways of doing it and try to keep it consistent with the way Djan
Hey Everybody,
Just a quick heads up that the call for talk and tutorial proposals for
DjangoCon US 2012 closes tomorrow. You can find all of the details on this
year's conference along with the form to submit a proposal at
http://www.djangocon.us/.
If you have any questions or feedback pleas
Thanks a lot, Anssi!
This is very helpful.
Just in case someone else is interested in "Writing custom model fields",
here is a link to Django's docs:
https://docs.djangoproject.com/en/dev/howto/custom-model-fields/
Thank you once again,
-igor
On Thursday, 14 June 2012 05:18:40 UTC-4, akaaria
Thanks Bruno. I haven't looked closely at that yet. I'll see if i can do some
reading this weekend.
Cheers
Mike
Connected by MOTOBLUR™
-Original message-
From: bruno desthuilliers
To: django-users@googlegroups.com
Sent: Fri, 15 Jun 2012, 18:48:24 AEST
Subject: Re: trailing slash def
On Friday, June 15, 2012 9:42:33 AM UTC+2, Mike Dewhirst wrote:
>
> On 15/06/2012 5:11pm, bruno desthuilliers wrote:
> > You have to end your url patterns with a slash, ie r'^search/'.
>
> Ok. I added a trailing slash to the get_absolute_url method like so ...
> return 'xitem/%s/' % self.id ..
Hello.
I try to make a simple structured model of data (categories for articles
instances) and now cant find right way to reorder/rebuild list of elements,
which rendering in admin site. Explain:
It's easy to switch ordering by 'ordering = ['field_name']', but it's just
an order. I need to chang
On 15/06/2012 5:11pm, bruno desthuilliers wrote:
You have to end your url patterns with a slash, ie r'^search/'.
Ok. I added a trailing slash to the get_absolute_url method like so ...
return 'xitem/%s/' % self.id ... and added an extra url pattern ...
urlpatterns = patterns('item.views',
You have to end your url patterns with a slash, ie r'^search/'.
--
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/-/JAbME4x4ZusJ.
To post to this group, send e
You have to end your url patterns with a slash, ie r'^search/'.
--
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/-/iks8SsEo2v4J.
To post to this group, send e
On 15/06/2012 1:55, Andre Terra wrote:
> Ah, here it is:
>
> https://docs.djangoproject.com/en/dev/internals/deprecation/#id2
>
>
> Cheers,
> AT
Indeed, the first argument in the url tag used to be an implied string.
In Django 1.5 it isn't anymore, so if the first argument to the url tag is
20 matches
Mail list logo