I've got a handful of applications that feature paginated object lists
as well as a search dialog allowing users to search for simple object
attributes.
What is the common pattern to use in Django apps to build URI query
strings in view code that can preserve parameters for rendering links
in temp
Thank you Xavier and Sergiy for your responses.
To clarify: I put the following code (see below) into my index.html file
and got a page displaying the code (rather than a list) when I rendered it
in my browser by my local server:
Could the problem have to do with my file system? I created a di
looks like you have a problem with template processor
could you please check setting.py section TEMPLATE_CONTEXT_PROCESSORS
2012/11/25 Luisa Beck :
> Thank you Xavier and Sergiy for your responses.
>
> To clarify: I put the following code (see below) into my index.html file and
> got a page displ
Mm, I don't have a TEMPLATE_CONTEXT_PROCESSORS section in the setting.py
section.
The setting.py file in my version of Django only includes TEMPLATE_DEBUG,
TEMPLATE_LOADERS and TEMPLATE_DIRS.
Could you specify what you mean? Thank you.
On Sunday, November 25, 2012 8:16:00 AM UTC-5, Sergiy Kh
Also, I get the following error message when rendering the page with my
local server:
TemplateSyntaxError at /polls/
Could not parse the remainder: 'http://poll.id/";>poll.id' from 'http://poll.id/";>poll.id'
On Sunday, November 25, 2012 8:34:26 AM UTC-5, Luisa Beck wrote:
>
> Mm, I don't have
Hi All,
I am trying to integrate ecommerce section to my project using Django
Osacr . When I try to add one product to my basket I got this error
AttributeError at /store/basket/add/
'WSGIRequest' object has no attribute 'basket'
Request Method: POST Request URL: http://localhost:8000/sto
Hi All,
I am trying to integrate an ecommerce section to my project using
"Django - Oscar" .Here when I try to add a product to my
basket I got following error ..
AttributeError at /store/basket/add/
'WSGIRequest' object has no attribute 'basket'
Request Method: POST
Reque
Hi all,
Tenuous Django link but thought no one would mind if I asked the following:
Can I bypass the need for password entry in pgadmin3 by changing/locating a
.pgpass files instead of modifying pg_hba.conf to 'trust'? pg_hba.conf
currently set at md5 for everything.
1. I can merrily connect t
In the settings.py
import mongoengine
mongoengine.connect('cooking')
AUTHENTICATION_BACKENDS = (
'mongoengine.django.auth.MongoEngineBackend',
)
SESSION_ENGINE = 'mongoengine.django.sessions'
MIDDLEWARE_CLASSES = (
'django.middleware.common.CommonMiddleware',
'django.contrib.sessi
Hi Russ,
Thanks for the response, well we're thinking in modifying Django ORM to add
some requeriments we consider important on databases. And specially if you
already have the DB already build and want to import it to build the model
part of the app. We're studying the code and we wonder if w
I don't know why, editer have default utf-8 setting.
--
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/-/NEWU6tlUpM0J.
To post to this group, send email to dja
Hi guys
I'm having problems settings Django 1.4 with MongoDB. I already have
installed
MongoEngine and Django-nonrel from git repos, but still with problem.
I read somewhere that Django 1.4 it is not full compatible with MongoDB yet?
Error Message:
File
"/usr/local/lib/python2.7/dist-packages/
Hi,
Can you please post the entire traceback?
Thanks!
Julien
On Sunday, November 25, 2012 4:03:11 PM UTC+1, 名宏贾 wrote:
>
> I don't know why, editer have default utf-8 setting.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this dis
You know which mongoengine and django-nonrel are 2 different libraries for
mongodb???
Please select one and use it, but not both.
Best Regards
--
Carlos Aguilar
Consultor Hardware y Software
DWD&Solutions
http://www.dwdandsolutions.com
http://www.houseofsysadmin.com
Cel: +50378735118
USA: (301)
On Friday, November 23, 2012, Lachlan Musicman wrote:
> It should be obvious, but I can't quite grok how to set the comment
> user to request.user in the comments/form.html
>
> I have a copy of comments/form.html in my templates folder in which
> I've removed the email and the url fields, but now
Check this one :
https://docs.djangoproject.com/en/dev/ref/settings/#std:setting-TEMPLATE_CONTEXT_PROCESSORS
2012/11/25 Luisa Beck :
> Also, I get the following error message when rendering the page with my
> local server:
>
> TemplateSyntaxError at /polls/
>
> Could not parse the remainder: 'ht
check databse setting. look like your database uses non utf8 encoding
2012/11/25 Julien Phalip :
> Hi,
>
> Can you please post the entire traceback?
>
> Thanks!
>
> Julien
>
>
> On Sunday, November 25, 2012 4:03:11 PM UTC+1, 名宏贾 wrote:
>>
>> I don't know why, editer have default utf-8 setting.
>
On Sun, Nov 25, 2012 at 10:51 PM, Alexandra Paredes <05-38...@usb.ve> wrote:
> Hi Russ,
>
> Thanks for the response, well we're thinking in modifying Django ORM to
> add some requeriments we consider important on databases. And specially if
> you already have the DB already build and want to impor
Foo.myfield is 0, but when you created a new models.Field object in the
abstract class, it did some deep magic. There’s also Foo._meta.fields which has
the old myfield in it. The only thing you can do is create a new myfield with
default=0 and editable=False.
On Nov 23, 2012, at 8:40 AM, Emmanu
Hi. I've used django-nonrel for interfacing with the Google datastore on
appengine and I use mongoengine for the rest. I guess mongoengine is the
recommended way to work with mongodb on django. I've set up a small
example, a Twitter clone that uses mongoengine. The app can be deployed on
OpenShift,
Hi
According to :
https://docs.djangoproject.com/en/dev/ref/settings/
URL_VALIDATOR_USER_AGENT
is deprecated in 1.5. But it's actually been removed. Is that worth a
bug report?
--
Regards
Alex
--
You received this message because you are subscribed to the Google Groups "Django
users" grou
21 matches
Mail list logo