I join to topic with my problem
I want to create new file with login and password in new file and I can do
it with code below, but I don't know how save this new files in one folder
users
def rejestracja(login, haslo): save=None login_tmp=login haslo_tmp=haslo
save={login_tmp:haslo_tmp}
fi
I'm not sure if this was one of your requirements, but as you raised the
concern of performance I thought it was worth mentioning.
Object level permissions in Django will create an additional row for every
object you set a permission on, this can have a devastating impact on
performance depending
On Saturday, November 29, 2014 8:49:25 AM UTC-8, Anju SB wrote:
>
>
> Thank your for your reply. Actually I created another model that
> aggregates all the values from each group table. but after analyzing I
> feel its a worst method and performance is also very low.So model re-design
> is the
Thank your for your reply. Actually I created another model that
aggregates all the values from each group table. but after analyzing I
feel its a worst method and performance is also very low.So model re-design
is the only way to sort out this issue and need help for redesigning the
models
Hi Markus,
thanks for your answer. As stated, I already solved my problem. I am happy
and can focus on my development :) Sorry, that I can not contribute any
further investigation.
Am Samstag, 29. November 2014 14:28:50 UTC+1 schrieb Markus Holtermann:
>
> Hey Oliver,
>
> Can you try out the cu
I am trying to use prefetch_related’s new Prefetch option to further filter
a database query. Using debug toolbar I can see that prefetch_related is
doing its job in making only three DB queries. However, I am positive that
the queryset filter I’m passing in is not working. Even though I’m using
Hey Oliver,
Can you try out the current 1.7 development branch. There is a fix [1] for
a recursion problem in the migration graph. Would be interesting if that
fixes your problem. Thanks.
[1]
https://github.com/django/django/commit/8e3c3be32d0c39a31997b905ebf0490280baa347
/Markus
On Saturday
You may need to re-think your model design or add a model that aggregates
the others and use it to link to the group model? There are many options
but only you know the best one.
On Sat, Nov 29, 2014 at 9:33 AM, Anju SB wrote:
> But the user's details are in different models , Groups may have d
But the user's details are in different models , Groups may have different
fields
On Saturday, 29 November 2014 16:49:35 UTC+5:30, Timothy W. Cook wrote:
>
>
>
> On Sat, Nov 29, 2014 at 6:49 AM, Anju SB >
> wrote:
>
>> Actually my application needs to store different information about eac
On Sat, Nov 29, 2014 at 6:49 AM, Anju SB wrote:
> Actually my application needs to store different information about each
> group of users and needs to map these data with the auth_user table.
>
>
Yes. You can create a model for that information and then use the group
as a key.
There are s
I solved the problem by myself using the debugger to see there IS a
recursion problem with dependecies. I created a migration file by my own
which applies to fields to models which needs my first model. Now my
problem is gone.
--
You received this message because you are subscribed to the Goog
Actually my application needs to store different information about each
group of users and needs to map these data with the auth_user table.
On Saturday, 29 November 2014 13:34:49 UTC+5:30, Timothy W. Cook wrote:
>
>
>
> On Sat, Nov 29, 2014 at 3:51 AM, Anju SB >
> wrote:
>
>> Thank you Scot
On Sat, Nov 29, 2014 at 3:51 AM, Anju SB wrote:
> Thank you Scot Hacker.
> But my application needs more than one user from the same group.
>
>
You can have multiple users in a group. That is kind of the definition of
a group. :-)
See here: https://docs.djangoproject.com/en/1.7/topics/aut
13 matches
Mail list logo