Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread AKHIL KORE
>> >>>> On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >>>> >>>>> Hi django developer group. >>>>> >>>>> I'm from india. I got one django assignment from xyz comapny. But i >>>>> can't how to create that log

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Chetan Ganji
>>> dashlakshyaraj2...@gmail.com> wrote: >>> >>>> Bro please send in pdf format so that it will be possible to open in >>>> mobile >>>> >>>> On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >>>> >>>>> Hi django d

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread André Hangalo
e: >> >>> Bro please send in pdf format so that it will be possible to open in >>> mobile >>> >>> On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >>> >>>> Hi django developer group. >>>> >>>> I'm from ind

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread AKHIL KORE
>> wrote: >> >>> Bro please send in pdf format so that it will be possible to open in >>> mobile >>> >>> On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >>> >>>> Hi django developer group. >>>> >>>> I'm fro

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Lakshyaraj Dash
On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >>> >>>> Hi django developer group. >>>> >>>> I'm from india. I got one django assignment from xyz comapny. But i >>>> can't how to create that logical way. Please help me. Below file is that

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread AKHIL KORE
gt; >> On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: >> >>> Hi django developer group. >>> >>> I'm from india. I got one django assignment from xyz comapny. But i >>> can't how to create that logical way. Please help me. Below file is that >>&

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Sebastian Jung
india. I got one django assignment from xyz comapny. But i can't > how to create that logical way. Please help me. Below file is that > assignment. Please open and see it. > can any one send that type of related previous projects code. > > -- > You received this message

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Vishesh Mangla
m from india. I got one django assignment from xyz comapny. But i >> can't how to create that logical way. Please help me. Below file is that >> assignment. Please open and see it. >> can any one send that type of related previous projects code. >> >> -- >> You rec

Re: I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread Lakshyaraj Dash
Bro please send in pdf format so that it will be possible to open in mobile On Mon, 5 Jun, 2023, 22:35 AKHIL KORE, wrote: > Hi django developer group. > > I'm from india. I got one django assignment from xyz comapny. But i can't > how to create that logical way. Please help me

I want help from senior python/django developer to create one django assignment project.

2023-06-05 Thread AKHIL KORE
Hi django developer group. I'm from india. I got one django assignment from xyz comapny. But i can't how to create that logical way. Please help me. Below file is that assignment. Please open and see it. can any one send that type of related previous projects code. -- You received

Re: Assignment

2022-12-25 Thread Tanmay Tibrewal
Can you help me with this assignment problem? 1. List down the number of apps you would create in the Django application 2. Share screenshots of the model of every app which you will create in this use case 3. Create the following API a. To get plans b. To recharge (2-3 APIs as per your

Re: Assignment

2022-08-29 Thread Shivam Kishan
https://stackoverflow.com/questions/73482442/django-inline-admin. Can anyone help me to solve this problem?? On Sun, 28 Aug 2022 at 06:41, Anh Nguyen wrote: > Quite hard for a student. I guess > > > On Thu, 25 Aug 2022 at 23:11 Scott Sawyer wrote: > >> long time lurker here... >> >> On

Re: Assignment

2022-08-27 Thread Anh Nguyen
Quite hard for a student. I guess On Thu, 25 Aug 2022 at 23:11 Scott Sawyer wrote: > long time lurker here... > > On 8/25/2022 8:24 AM, shairy wrote: > > Can anyone help me to solve this problem. > > Consider a recharge website platform for mobile prepaid recharge like Paytm > > 1. List down

Re: Assignment

2022-08-25 Thread Scott Sawyer
long time lurker here... On 8/25/2022 8:24 AM, shairy wrote: Can anyone help me to solve this problem. Consider a recharge website platform for mobile prepaid recharge like Paytm 1. List down number of apps you would create in Django application As many as are needed to do the functions

Assignment

2022-08-25 Thread shairy
Can anyone help me to solve this problem. Consider a recharge website platform for mobile prepaid recharge like Paytm 1. List down number of apps you would create in Django application 2. Share screenshots of model of every app which you will create in this use case 3. Create following api’s

Re: django assignment

2018-10-27 Thread carlos
at please don't give me > answer. > > > Thank you > Ronak Jain > > On Sun, Oct 28, 2018 at 10:59 AM Joel Mathew wrote: > >> Isn't this cheating? Why dont you complete your own assignment? >> >> Joel G Mathew >> >> >> On Sun, 28 Oct 2018 at

Re: django assignment

2018-10-27 Thread RONAK JAIN
our own assignment? > > Joel G Mathew > > > On Sun, 28 Oct 2018 at 10:40, RONAK JAIN wrote: > > > > Hi > > > > > > Please help me out this assignment urgent. How can I solve ? > > > > > > > > > > Thanks > > RJ &

Re: django assignment

2018-10-27 Thread Joel Mathew
Isn't this cheating? Why dont you complete your own assignment? Joel G Mathew On Sun, 28 Oct 2018 at 10:40, RONAK JAIN wrote: > > Hi > > > Please help me out this assignment urgent. How can I solve ? > > > > > Thanks > RJ > > > -- > You rec

django assignment

2018-10-27 Thread RONAK JAIN
Hi Please help me out this assignment urgent. How can I solve ? Thanks RJ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: model permission assignment via groups requires further config at model level?

2018-05-03 Thread gibsonal2026
that is good On Monday, April 30, 2018 at 7:08:16 AM UTC-5, Rob B wrote: > > Thanks George - I understand now. I never thought it would only apply to > the admin interface but should have. Kind regards, > > Rob > > > On Sun, Apr 29, 2018, 10:05 PM George Lubaretsi, >

Re: model permission assignment via groups requires further config at model level?

2018-04-30 Thread Rob B
Thanks George - I understand now. I never thought it would only apply to the admin interface but should have. Kind regards, Rob On Sun, Apr 29, 2018, 10:05 PM George Lubaretsi, wrote: > Django permissions are only enforced in Admin interface by default. You > have to

Re: model permission assignment via groups requires further config at model level?

2018-04-29 Thread George Lubaretsi
Django permissions are only enforced in Admin interface by default. You have to enforce them in your views by using `has_perm` method of `user` instance - `user.has_perm('.')` Here's the documentation for permissions -

model permission assignment via groups requires further config at model level?

2018-04-29 Thread rsbaxter
I'm trying to confirm if this is correct: I create a group with no permissions in it, and assign this group to a user. This user is not "staff status" nor is the user "superuser status" - they are only active. The user is not a member of any other groups - just the one with no permissions.

Re: UnboundLocalError: local variable 'full_path' referenced before assignment

2012-09-14 Thread hellj
n call_command > > return klass.execute(*args, **defaults) > > File "/home/rok/apps/django-trunk/django/core/management/base.py", > > line 232, in execute > > output = self.handle(*args, **options) > > File "/home/rok/apps/django-trunk/django/core/managem

Re: UnboundLocalError: local variable 'KeyError' referenced before assignment

2012-04-09 Thread Casey Greene
: >> >> def gene_view(request, slug=None, gene=None, org=None, template=None): >>   print(KeyError) >> >> and I get this exception with django 1.4 (if it matters): >> UnboundLocalError at /predictions/gene/ >> local variable 'KeyError' referenced before assi

Re: UnboundLocalError: local variable 'KeyError' referenced before assignment

2012-04-09 Thread Karen Tracey
late=None): >   print(KeyError) > > and I get this exception with django 1.4 (if it matters): > UnboundLocalError at /predictions/gene/ > local variable 'KeyError' referenced before assignment Python thinks KeyError is a local variable, thus it sounds like code in the view subsequent to

UnboundLocalError: local variable 'KeyError' referenced before assignment

2012-04-09 Thread Casey Greene
/ local variable 'KeyError' referenced before assignment In ./manage.py shell though, I can do: ./manage.py shell Python 2.7.2+ (default, Oct 4 2011, 20:06:09) [GCC 4.6.1] on linux2 Type "help", "copyright", "credits" or "license" for more information.

Re: UnboundLocalError: local variable 'full_path' referenced before assignment

2012-02-08 Thread akaariai
= self.handle(*args, **options) >   File "/home/rok/apps/django-trunk/django/core/management/commands/ > loaddata.py", line 239, in handle >     (full_path, ''.join(traceback.format_exception(sys.exc_type, > UnboundLocalError: local variable 'full_path' referenced before > assignment

UnboundLocalError: local variable 'full_path' referenced before assignment

2012-02-08 Thread rok
options) File "/home/rok/apps/django-trunk/django/core/management/commands/ loaddata.py", line 239, in handle (full_path, ''.join(traceback.format_exception(sys.exc_type, UnboundLocalError: local variable 'full_path' referenced before assignment Does this ring a bell to anyone

Re: How to do something just like in user right assignment ?

2011-09-30 Thread bino oetomo
Dear Sébastien Thankyou for your enlightment I really appreciate it Sincerely -bino- On 09/30/2011 03:34 PM, BILLION Sébastien wrote: Hi, You must add a ManyToManyField in your models https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField ... -- You

Re: How to do something just like in user right assignment ?

2011-09-30 Thread BILLION Sébastien
Hi, You must add a ManyToManyField in your models https://docs.djangoproject.com/en/dev/ref/models/fields/#django.db.models.ManyToManyField class Person(models.Model): name = models.Charfield(max_lenght=200) colours = models.ManyToManyField(Color) class Color(models.Model): name =

How to do something just like in user right assignment ?

2011-09-29 Thread bino oetomo
Dear All .. Let's say I have 2 model in manyTOmany relation, i.e : Persons and colours I want a 2 CRUD interface for this , that is : 1. Persons : where I can add colours to each person, and 2. Colours : where I can add Persons to each colour I also want the "ADD" methode (Add colours to

Re: 'settings' referenced before assignment

2011-07-20 Thread ydjango
oundLocalError: local variable 'settings' referenced before > > assignment > > > I have in my views .py > > > from django.conf import settings > > other imports... > > > def new_view(request): > >        if not request.user.is_authenticated(): > >

Re: 'settings' referenced before assignment

2011-07-20 Thread Ian Clelland
On Wed, Jul 20, 2011 at 1:14 PM, ydjango <traderash...@gmail.com> wrote: > Occasionally I see this error in my app, > > UnboundLocalError: local variable 'settings' referenced before > assignment > > I have in my views .py > > from django.conf import settings

'settings' referenced before assignment

2011-07-20 Thread ydjango
Occasionally I see this error in my app, UnboundLocalError: local variable 'settings' referenced before assignment I have in my views .py from django.conf import settings other imports... def new_view(request): if not request.user.is_authenticated(): return

Re: model field assignment

2011-04-08 Thread bruno desthuilliers
On 8 avr, 11:25, gintare wrote: > I do not know how to save changes: > >  for Lists in [a.SynGREn, a.SynGREnn]: > ... > .. make changes in field by editing Lists, i.e. cropping part of > text: changed_text=crop(Lists, words) > ...Lists=changed_text > ...

model field assignment

2011-04-08 Thread gintare
I would like to remove multiplicative items in several fields of the model. I do not know how to save changes: for Lists in [a.SynGREn, a.SynGREnn]: ... .. make changes in field by editing Lists, i.e. cropping part of text: changed_text=crop(Lists, words) ...Lists=changed_text

Re: local variable 'qft' referenced before assignment

2011-01-24 Thread Trevor Stanley
Rainy Yes I think you and Bruno have helped me look at it all over again and I will certainly get into Python so I can understand it more fully. I have not ever programmed before and although I have tried to seek local authority courses and other types of training it seems they are not

Re: local variable 'qft' referenced before assignment

2011-01-24 Thread Rainy
On Jan 24, 1:46 pm, Trevor Stanley wrote: > Bruno > > I will take your advice and seek out some Python literature.  I did run > through an online Python tutorial about a year ago.  I should probably > go through it again as I may understand it more now. > > Thanks, even

Re: local variable 'qft' referenced before assignment

2011-01-24 Thread Trevor Stanley
Bruno I will take your advice and seek out some Python literature. I did run through an online Python tutorial about a year ago. I should probably go through it again as I may understand it more now. Thanks, even though your delivery is rather blunt - Trevor bruno desthuilliers wrote: On

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread bruno desthuilliers
On 23 jan, 23:20, Trevor Stanley wrote: > Thanks Bruno for the critique and you are right I don't know what I'm > doing and I am rather learning by accident.  I am not a programmer and > don't profess to be one(yet).  I have built the apps in the excellent > book,

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread Trevor Stanley
Thanks Bruno for the critique and you are right I don't know what I'm doing and I am rather learning by accident. I am not a programmer and don't profess to be one(yet). I have built the apps in the excellent book, Practical Django Projects and I have also worked through, The Definitive

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread bruno desthuilliers
On 23 jan, 17:27, Trevor Stanley wrote: >    Karen > > Thanks for your reply.  The reason I was trying to filter the id with > count was that I had read somewhere that you have to pass sum at least > two arguments (but may be I mis-understood what I was reading!) The

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread Trevor Stanley
return u'%d'(0) if ft.count()==1: qft=ft.get('percentage') return u'%d'(qft) You only set qft to something if ft.count() is 1. Yet the next line of code (the return, which uses the value of qft) is not indented to the same leve

Re: local variable 'qft' referenced before assignment

2011-01-22 Thread Karen Tracey
return u'%d'(0) >if ft.count()==1: >qft=ft.get('percentage') >return u'%d'(qft) > You only set qft to something if ft.count() is 1. Yet the next line of code (the return, which uses the value of qft) is not indented to the same level as the ass

local variable 'qft' referenced before assignment

2011-01-22 Thread TAS
ite/bt4/models.py" in get_fringe_value 134. return u'%d'(qft) Exception Type: UnboundLocalError at /admin/bt4/detail/1/ Exception Value: local variable 'qft' referenced before assignment -- You received this message because you are subscribed to the Google Groups "Django use

Re: UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-11 Thread bruno desthuilliers
On 11 juin, 15:26, Marcus Whybrow wrote: > I have found a ticket already open for this problem (http:// > code.djangoproject.com/ticket/13684), > The problem was in fact that I had a settings.py file and a module > called settings with default and local settings residing

Re: UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-11 Thread Marcus Whybrow
  return self.handle_uncaught_exception(request, resolver, exc_info) > > UnboundLocalError: local variable 'resolver' referenced before > > assignment > > > I have just set up a brand new Django project called tinygraph and I > > am using WSGI and virutalenv in combination. > >

Re: UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-11 Thread bruno desthuilliers
se.py", line > 142, in get_response >     return self.handle_uncaught_exception(request, resolver, exc_info) > UnboundLocalError: local variable 'resolver' referenced before > assignment > > I have just set up a brand new Django project called tinygraph and I > am using WSGI and v

UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-10 Thread Marcus Whybrow
l variable 'resolver' referenced before assignment I have just set up a brand new Django project called tinygraph and I am using WSGI and virutalenv in combination. I have took a peak at the Django source code and resolver is not assigned a value unless a urlconf is set, I though this might be b

Re: Formset: 'ArticleForm' object does not support item assignment

2010-03-06 Thread coco
AND THE ANSWER IS : [...] if formset.is_valid(): # do something with the formset.cleaned_data cd = formset.cleaned_data for i in range(len(cd)): cd[i]['answer'] = cd[i]['x'] + cd[i]['y'] formset = ArticleFormSet(initial=cd) [...] -- You received this message because

Re: Formset: 'ArticleForm' object does not support item assignment

2010-03-05 Thread coco
Getting out of the bed, I partly found why this new problem occurs. This is because the following HTML line: Becomes this after the first submit by the browser: Then I loose "id_form-0" substring and the corrupted HTML cannot work twice. This seem encouraging, but now I need to sleep. I will

Re: Formset: 'ArticleForm' object does not support item assignment

2010-03-05 Thread coco
I made some progress replacing the defective line with: formset.forms[i] = ArticleForm(cd[i]) Mysteriously: it work when the browser send the first submit. But the form becomes empty if I submit twice. Here is the template: Test Test {% if form.errors %}

Formset: 'ArticleForm' object does not support item assignment

2010-03-05 Thread coco
Good evening, I stick with the above error message in the following example. I looked at each attributes of the object (Base_fields, etc.), but I can't find how I to assign the new dataset back into the form. def manage_articles(request): ArticleFormSet = formset_factory(ArticleForm) if

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread neridaj
I guess I was mixing tabs and spaces, thanks guys. On Dec 29, 3:38 pm, Ramiro Morales wrote: > On Tue, Dec 29, 2009 at 8:31 PM, neridaj wrote: > > File "/Users/jasonnerida/django-apps/blog/models.py" in > > moderate_comment > >  142.         if delta.days >

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread Ramiro Morales
On Tue, Dec 29, 2009 at 8:31 PM, neridaj wrote: > File "/Users/jasonnerida/django-apps/blog/models.py" in > moderate_comment >  142.         if delta.days > 30: I suspect you have the above line badly indented, e.g. at the same level of the if not instance.id: line

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread Chris Withers
neridaj wrote: > File "/Users/jasonnerida/django-apps/blog/models.py" in > moderate_comment > 142. if delta.days > 30: Okay, now the line numbered code for the whole of the moderate_comment function... Also, check you're not mixing tabs and spaces in that models.py file... Chris --

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread neridaj
-apps/blog/models.py" in moderate_comment 142. if delta.days > 30: Exception Type: UnboundLocalError at /comments/post/ Exception Value: local variable 'delta' referenced before assignment On Dec 29, 3:29 pm, Chris Withers <ch...@simplistix.co.uk> wrote: > neridaj wrote: > &g

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread Chris Withers
stance(content, Tweet): > delta = datetime.datetime.now() - content.pub_time > else: > delta = datetime.datetime.now() - content.pub_date > if delta.days > 30: #failure > > > local variable 'delta' referenced before assignment Please

local variable 'delta' referenced before assignment

2009-12-29 Thread neridaj
= datetime.datetime.now() - content.pub_time else: delta = datetime.datetime.now() - content.pub_date if delta.days > 30: #failure local variable 'delta' referenced before assignment Thanks, Jason -- You received this message because you are subscribed to the Goo

"OneToOneField doesn't allow assignment of None"

2009-12-20 Thread Kieran Brownlees
Hello All, In http://code.djangoproject.com/browser/django/trunk/django/forms/models.py line 53 it states: 53 # OneToOneField doesn't allow assignment of None. Guard against that 54 # instead of allowing it and throwing an error. 55 if isinstance(f

Re: radio button assignment as filter in search

2009-03-09 Thread Alex Gaynor
On Mon, Mar 9, 2009 at 12:10 PM, Jesse wrote: > > The problem is that the python converts the andor value to a > character, even though the radio button is presenting it as numeric. > I needed to place quotes around the number: > if andor == '1' and then it works. Hope this

Re: radio button assignment as filter in search

2009-03-09 Thread Jesse
The problem is that the python converts the andor value to a character, even though the radio button is presenting it as numeric. I needed to place quotes around the number: if andor == '1' and then it works. Hope this helps someone else. --~--~-~--~~~---~--~~ You

Re: radio button assignment as filter in search

2009-03-09 Thread Jesse
Template: {% for pathology in pathology_list %} {{ pathology.pathology }} {% endfor %} There are actually three search selects(pathology, commodity, technology) The user can do and/or for a mix or match of the three, which is why I need the and/or option in the views.py.

Re: radio button assignment as filter in search

2009-03-09 Thread Alex Gaynor
; def Bypub(request): >andor1 = request.POST['andor1'] >list=[] > andlist=[] > for publication in pub1: >if andor1 == 1:# this assignment is being ignored. >if publication not in list: >list.append(publication) >if andor1

Re: Many to Many field Assignment

2008-08-31 Thread Vadivel Kumar
i see that there exists a handy way -- *icontains* does exactly what iam looking at On Sun, Aug 31, 2008 at 9:35 PM, Vadivel Kumar <[EMAIL PROTECTED]> wrote: > Thanks Michael, > > I solved the problem - i had a silly mistake in the way how i handled to > check the existing tag. But, now the

Re: Many to Many field Assignment

2008-08-31 Thread Vadivel Kumar
Thanks Michael, I solved the problem - i had a silly mistake in the way how i handled to check the existing tag. But, now the problem is when i check the given tag text against the database, i do it as like below, newTag = request.POST['tag'] existingTag =

Re: Many to Many field Assignment

2008-08-31 Thread Michael Newman
On Aug 31, 11:14 am, "Vadivel Kumar" <[EMAIL PROTECTED]> wrote: > I know this might sound very newbie .. its true > > How can i assign an exising record of the child table to an parent record. > For example I have two models, > >     class User (models.Model): >          ... all other fields ...

Many to Many field Assignment

2008-08-31 Thread Vadivel Kumar
I know this might sound very newbie .. its true How can i assign an exising record of the child table to an parent record. For example I have two models, class User (models.Model): ... all other fields ... Tags = models.ManyToManyField(Tag) class Tag (models.Mode):

UnboundLocalError: local variable 'module' referenced before assignment

2008-06-16 Thread kfadratek
lt_handler, arg=req, silent=hlist.silent) File "/usr/lib/python2.5/site-packages/mod_python/importer.py", line 1206, in _process_target object = apache.resolve_object(module, object_str, arg, silent=silent) UnboundLocalError: local variable 'module' referenc

Re: Get just one object id at the time in view assignment issue.

2008-05-16 Thread Jorge Romo
I feel I'm getting close to an answer... I hope you guys can help me out... I get this TypeError: Records() takes exactly 3 non-keyword arguments (2 given) def Records (request, UserName, Name): gamer = Artist.objects.get(UserName=UserName) record = Record.objects.get(Name=Name)

Get just one object id at the time in view assignment issue.

2008-05-16 Thread Jorge Romo
Hello guys! I have another little (i'm sure it is) problem (i have like 3 days trying to resolve it by myself but i just gave up lol), i'm using django-tagging so I can tag some records, the problem here is that i don't know how to take one object, take its id and then keep the cycle. this is

variable assignment in template (or variable alias/map)

2007-10-07 Thread zeliboba
Object", so I need kind of aliasing/mapping of variable names or variable assignment in template. currently I'm thinking about extension {% include %} tag for accepting third argument (for mapping) or custom tag like {% let object childObject %}. maybe there is better or standard approach ex

Re: Admin module, user account editing and group assignment info

2007-07-05 Thread Angela Sutanto
On 7/4/07, Chris Brand <[EMAIL PROTECTED]> wrote: > If you go to edit that same user in the Admin, the group should be selected > in that same multiselect box. > > It's as simple as that. Aha - it did not occur me. I was looking for some gadget proof against an accidental (re)selection. This

RE: Admin module, user account editing and group assignment info

2007-07-04 Thread Chris Brand
> If I open page to edit user's account, at the bottom is multiselect > box containing all existing groups. > > If I select one(s) and save user profile, in DB table > auth_user_grooups I see a correct links between auth_user and > auth_group table. > > But I cannot find the same information in

Admin module, user account editing and group assignment info

2007-07-04 Thread Angela Sutanto
Hi, I'm learning Django and trying to use/customize Admin module but I cannot find information about group(s) a user is assigned to. If I open page to edit user's account, at the bottom is multiselect box containing all existing groups. If I select one(s) and save user profile, in DB table

Re: 'Session' object does not support item assignment

2007-06-18 Thread Vertigo
Thanks, Jeremy. Your piece of code works perfectly. I will think about suggestions for the documentation and open a ticket. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: 'Session' object does not support item assignment

2007-06-16 Thread Jeremy Dunck
On 6/16/07, Vertigo <[EMAIL PROTECTED]> wrote: > * Are Django sessions only designed to be used through the request > context (and session middleware) ? No, but they're most convenient that way. > * Is there any "easy" snippet of code to do what I want (i.e update a > Session object out of

'Session' object does not support item assignment

2007-06-16 Thread Vertigo
pport item assignment I had a look at the session documentation. If one misses one of the first lines (like I did), it can lead to a mess (like I have :-) ): "Sessions are implemented via a piece of middleware and a Django model". And indeed, sessions appear clean and developer-friendly in the do

Custom template tags: object does not support item assignment

2007-02-01 Thread plungerman
item assignment". the template tag is quite simple: from myproject.models import Project from django.template import Library,Node register = Library() def build_project_list(parser, token): """ {% get_project_list %} """ return ProjectListObject()