I'm testing a redirect that would include the primary key. Can anyone tell
me how I can test the redirect URL if it involves the primary key? Will the
following work?:
self.assertRedirects(response, 'message/(?P\d+)/', 200)
--
You received this message because you are subscribed to the Google
Hi,
Lachlan is roughly correct - we're down to no release blocking bugs, so
we're in the phase where we're trying to coordinate the time for a release
manager to cut a release.
It's difficult to give a specific release date because we don't know what
bugs will be discovered between now and the fi
Hi Jorge,
Thanks for drawing our attention to this program.
Some things to keep in mind about branding - you're representing the Django
project here, so it's important that you adhere to Django's trademark
policy. Specifically, the "Dj" character pair isn't an official trademark
of Django - the f
On Tue, Jun 17, 2014 at 11:14 PM, Tom Evans wrote:
> You want a multi column index when you want to speed up queries
> involving all the columns in that query.
Or, depending on database features, queries involving all the
columns[0:N] - eg an index on (first_name, last_name, sex) would still
opti
On Tue, Jun 17, 2014 at 10:26 PM, Lachlan Musicman wrote:
> tkc,
>
> Is that the default created when adding db_index=True of is that
> something that I would do directly in postgres itself?
>
> cheers
> L.
Yep, although obviously that won't work when you want a multi-column
index. You want a mul
tkc,
Is that the default created when adding db_index=True of is that
something that I would do directly in postgres itself?
cheers
L.
On 17 June 2014 22:50, Tim Chase wrote:
> On 2014-06-17 11:04, Russell Keith-Magee wrote:
>> On Tue, Jun 17, 2014 at 9:25 AM, Lachlan Musicman wrote:
>> > Now r
The error appears when I run tests and it is trying to create the default
database.
I forgot to add that I found
this, https://github.com/pelme/pytest_django/issues/68 that seems to be a
similar issue.
--
You received this message because you are subscribed to the Google Groups
"Django user
The full error (last on in the stack) is
File
> "/home//venv/lib/python3.3/site-packages/django/db/models/fields/related.py",
> line 1699, in get_default
> if isinstance(field_default, self.rel.to):
> TypeError: isinstance() arg 2 must be a type or tuple of types
Python 3.3.2, Django 1.7b
On 2014-06-17 11:04, Russell Keith-Magee wrote:
> On Tue, Jun 17, 2014 at 9:25 AM, Lachlan Musicman wrote:
> > Now reading about indexes I can't believe I've not used them
> > previously.
>
> Indicies are definitely your friend - *especially* on
> PostgreSQL. :-)
I've found http://use-the-index-l
Hi All,
I am looking for job for Django Developer. And I am ready to work on part
time role also.
I have 3 year of experience as a Software Developer, and if anyone
accepting my application, please send me an email. I will send you the
resume.
Email: kanna...@gmail.com
Note: I am living in India,
Hello Ezequiel
I have a database in SQL Server 2012. I used the following string and
everything worked.. find. Trust me I am new to django and feeling good to
be part of this community.
DATABASES = {
'default': {
'NAME': 'blogger',
'ENGINE': 'sqlserver_ado',
'HOST': ' '
I discovered what was going wrong - I was configuring pg9.3 but my db
was in pg9.1 I think that's a hangover from when I updated from 12.04
to 14.04 or something. Anyway, thankful for backups! (redface)
On 17 June 2014 16:50, Alex Mandel wrote:
> If you stick to stock python commands virtualenv s
12 matches
Mail list logo