I've had good experiences using mongoengine with django. It's not django's
ORM but it's very similar to it.
On Mar 26, 2013 12:36 PM, "Donnie Darko" wrote:
> I really like Django. I've fiddled around a bit with Rails, but I
> personally prefer Django's logic. I also prefer Python over Ruby. Agai
There's this one:
https://github.com/kaijutech/Django-Auction
i'm about to try it out. If it's not good I'll create one from scratch.
Will keep you posted :)
On Monday, February 2, 2009 2:10:01 AM UTC+8, Erik Allik wrote:
>
> Does anyone know of an app written for Django that implements a kind
On Tue, Mar 26, 2013 at 8:14 PM, Larry Martell wrote:
> On Tue, Mar 26, 2013 at 4:51 PM, Larry Martell
> wrote:
>> I have some existing code that calls values_list on a queryset. I need
>> to add something using extra to this queryset. If I call extra before
>> values_list the extra stuff is gon
On Wed, Mar 27, 2013 at 12:38 PM, Larry Martell wrote:
> Ignore my last message - I was seriously sleep deprive3d when I made
> it. But my original question remains - how can I use values_list and
> extra on same queryset?
It just seems to WFM:
Foo.objects.all().extra(select={'wibble': '1'}).val
I am Django/Web newbie developer and I am looking for the correct way to
add a navigation bar (hopefully the correct term) to my ticketing app such
that the options "Admin", "Open New Ticket", "View New Ticket",
"Dashboard", "Logout" will always appear at the top of the page and that
the page w
On Wed, Mar 27, 2013 at 6:52 AM, Tom Evans wrote:
> On Wed, Mar 27, 2013 at 12:38 PM, Larry Martell
> wrote:
>> Ignore my last message - I was seriously sleep deprive3d when I made
>> it. But my original question remains - how can I use values_list and
>> extra on same queryset?
>
> It just seem
So, if i am right, usage of sessions makes an extra call to the DB for
every view with login_required.
SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login",
"auth_user"."is_superuser", "auth_user"."username",
"auth_user"."first_name", "auth_user"."last_name", "auth_user"."emai
On Wed, Mar 27, 2013 at 9:19 AM, Larry Martell wrote:
> Here's a very simple example showing it's not working for me
>
> (Pdb) CST.objects.all().extra(select={'ep':
> 1}).values_list('image_measurer_id')
> [(86456L,), (86454L,), (86452L,), (86450L,), (86448L,), (86446L,),
> (86444L,), (86442L,), (
Use django-redis-sessions as a back end instead of the database.
On Mar 27, 2013 9:35 AM, "Venkatraman S" wrote:
> So, if i am right, usage of sessions makes an extra call to the DB for
> every view with login_required.
>
> SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login"
If you put these links in your base template it will appear on every page.
If you wrap some of those links with template if/endif syntax and
check request.user to see if they have permission, you can hide
individual links, change their CSS classes, or replace them with a
something else.
--
You r
Thank you James and Branko.
Yes, it was the relevant part of the docs that, actually I had read,
but didn't understand at the time.
I appreciate your patience in pointing it out to me.
Cheers,
Tim
On Mon, Mar 25, 2013 at 6:57 PM, Branko Majic wrote:
> On Mon, 25 Mar 2013 18:12:44 -0300
> Tim Co
On Wed, Mar 27, 2013 at 5:55 PM, Simon Shaw wrote:
> I am Django/Web newbie developer and I am looking for the correct way to
> add a navigation bar (hopefully the correct term) to my ticketing app such
> that the options "Admin", "Open New Ticket", "View New Ticket",
> "Dashboard", "Logout" will
I am not using it right now, but plan to when I have more Django
experience. So I have been watching the non-rel group:
django-non-relatio...@googlegroups.com
and it does seem to be active now. Maybe you want to recheck and if
they are having project management issues you can help?
HTH,
Tim
On
Well, the intention of asking that Q was not to check any possible
data-store alternatives but to understand the nuances of the cookie based
approach. Am not a great security expert when it comes to cookies and the
limitations that it 'can' cause down the lane - and hence.
On Wed, Mar 27, 2013 at
And any other options other than that .. to be used Internationally?
I know of ... chargify, ccavenue, spreedly, fusebill, merchee,
cheddargetter, chargify, zuora etc. Am trying to do a comparison between
all these possible services in terms of their fees and also features.
On Wed, Mar 6, 2013 at
Some clients may not allow cookies, which would be a problem if that's
your full session strategy. If you're storing nothing but the default
information in the cookie then there shouldn't be any risk, and in any
case the cookie is encrypted with the SECRET_KEY from your settings.
If you store addit
Another point is one made by Alex Gaynor at PyCon 2012. Too often,
people ask "How do I do X in Django," when they should be asking "How
do I do X in Python," or "Does Django have something for X."
The first question is too limiting. Remember that Django is just some
Python code.
The second quest
On Tue, Mar 26, 2013 at 6:49 PM, Russell Keith-Magee
wrote:
> On Wed, Mar 27, 2013 at 12:46 AM, Javier Guerra Giraldez
> wrote:
>>
>> since there's no such thing as "common NoSQL features", each datastore
>> would need its own modifications, so i think the common attitude is
>> that most of these
On Wed, Mar 27, 2013 at 1:35 PM, Venkatraman S wrote:
> So, if i am right, usage of sessions makes an extra call to the DB for every
> view with login_required.
>
> SELECT "auth_user"."id", "auth_user"."password", "auth_user"."last_login",
> "auth_user"."is_superuser", "auth_user"."username",
> "a
Hello there,
I am working through the django tutorial at djangoproject.com. So far
everything works out fine until Section 2.4.6 (customizing the admin form).
Django throws an error: *'module' has no attribute 'StackedInLine'. *I
checked around and this seems to work:
*if you use import to inc
In my last project I created a template tag that would take an app name as
an argument and build the links according to that user's permissions for
the links in that app. This made the template easier to read at the cost of
having to write the function and learning how it worked. Since I was the
on
On Wed, Mar 27, 2013 at 3:32 PM, +Emmanuel wrote:
> Hello there,
>
> I am working through the django tutorial at djangoproject.com. So far
> everything works out fine until Section 2.4.6 (customizing the admin form).
> Django throws an error: 'module' has no attribute 'StackedInLine'. I
> checked
On Wed, Mar 27, 2013 at 11:32 AM, +Emmanuel wrote:
> Hello there,
>
> I am working through the django tutorial at djangoproject.com. So far
> everything works out fine until Section 2.4.6 (customizing the admin form).
> Django throws an error: *'module' has no attribute 'StackedInLine'. *
>
Rig
Hi, everybody!
I'm following the instructions on website docs.djangoproject.com and trying
to create my very first Django project.
The only result I get is a confusing error:
AttributeError: 'module' object has no attribute '_handlerList'.
My Django version is 1.5, Python - 2.7.3.
I completely d
On Wed, Mar 27, 2013 at 4:39 PM, Olga Zasenko wrote:
> Hi, everybody!
> I'm following the instructions on website docs.djangoproject.com and trying
> to create my very first Django project.
> The only result I get is a confusing error:
>
> AttributeError: 'module' object has no attribute '_handler
I know that when I define a manytomany field automagically "behind the scene
Django creates an intermediary join table to represent the many-to-many
relationship".
Now I have a legacy MySQL db, feeded by an existing procedure built in
Filemaker via ODBC, which I would like to use with django to
On Wed, Mar 27, 2013 at 7:38 AM, Karen Tracey wrote:
>
> On Wed, Mar 27, 2013 at 9:19 AM, Larry Martell
> wrote:
>>
>> Here's a very simple example showing it's not working for me
>>
>> (Pdb) CST.objects.all().extra(select={'ep':
>> 1}).values_list('image_measurer_id')
>> [(86456L,), (86454L,), (
On Wed, Mar 27, 2013 at 8:57 AM, Ivan Smirnoff wrote:
> Hi all.
> Can anyone tell, does django.cache locks file for writing by concurrent
> process?
Django's file-based cache doesn't do any locking. It wasn't really designed
as a production system -- it's more of a test that the cache API works
I can't find a similar scenario in the list archives, so .
I had run the initial migration, etc and all seemed fine.
I modified one model from this:
class CCD(models.Model):
rm_version = models.ForeignKey(RMversion, related_name='%(class)s_related+')
...
to this:
class CCD(models.Mod
Interesting Observation: So, am passing a queryset to my template and based
on the way a field in the record 'starts-with', i am rendering the record
into different 'tables' in the view.
Something like:
{% for record in settings %}
{%if record.type|starts_with:"EMAIL_" %}
...show record det
do 0001 --fake, your table south_migrations dont have the row indicating
that initial
On Wed, Mar 27, 2013 at 8:49 PM, Tim Cook wrote:
> I modified one model from this:
--
juanpex
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsu
Yeah, that's expected behavior.
settings = SomeModel.objects.all()
for e in settings:
print e.pk
for e in settings:
print e.pk
for e in settings:
print e.pk
In the above, the database will be hit only once but..
for e in SomeModel.objects.all():
print e.pk
for e in SomeModel.
2013/3/18 Felipe Coelho
> 1) Using tests that need the models, but don't actually touch the
>> database. This means you can put the model definition inline in the test
>> code, so AUTH_USER_MODEL has the right value when the code is run. This
>> lets us test validation conditions, etc, but not h
33 matches
Mail list logo