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

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 dja

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 india.

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

2023-06-05 Thread AKHIL KORE
ash, >> 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. >>>> >>>>

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 fil

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
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 this mess

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

2023-06-05 Thread Vishesh Mangla
#x27;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. >> >> -- >&g

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

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 rec

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 8/25/2

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 nu

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 req

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 O

Re: django assignment

2018-10-27 Thread RONAK JAIN
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 >

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 recei

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, > wrote: > >> Django permis

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 enforce them in your vie

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 - https://docs.djangoproject.com/en/dev/topics/auth/default/#permissions-and-

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. U

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

2012-09-14 Thread hellj
ine 147, in 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/dj

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 assignment > >

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

2012-04-09 Thread Karen Tracey
>   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 subsequ

UnboundLocalError: local variable 'KeyError' referenced before assignment

2012-04-09 Thread Casey Greene
rror at /predictions/gene/ 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 "

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

2012-02-08 Thread akaariai
t = 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'

UnboundLocalError: local variable 'full_path' referenced before assignment

2012-02-08 Thread rok
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 assignm

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 = models.C

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 perso

Re: 'settings' referenced before assignment

2011-07-20 Thread ydjango
Thank you. That was exactly the issue. I renamed the local variable. On Jul 20, 2:04 pm, Ian Clelland wrote: > On Wed, Jul 20, 2011 at 1:14 PM, ydjango wrote: > > Occasionally I see this error in my app, > > > UnboundLocalError: local variable 'settings' refe

Re: 'settings' referenced before assignment

2011-07-20 Thread Ian Clelland
On Wed, Jul 20, 2011 at 1:14 PM, ydjango 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 > other imports... &

'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():

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 > ... a.save() > > HOW to save th

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 there

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 though your delivery is rat

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, Practical Django Projects and I h

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 Guide

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 Python builtin sum() function

Re: local variable 'qft' referenced before assignment

2011-01-23 Thread Trevor Stanley
lt;mailto:h...@balancingact.me.uk>> wrote: def get_fringe_value(self): ft = Fringe.objects.select_related().filter(id__in=self.fringe.all()).values() if ft.count()==0: return u'%d'(0) if ft.

Re: local variable 'qft' referenced before assignment

2011-01-22 Thread Karen Tracey
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

local variable 'qft' referenced before assignment

2011-01-22 Thread TAS
django/contrib/admin/ options.py" in save_model 597. obj.save() File "/home/trevor/1stdjangoproject/mysite/../mysite/bt4/models.py" in save 146. self.fringe_total = self.fringe_value() File "/home/trevor/1stdjangoproject/mysite/../mysite/bt4/models.py" i

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 inside it. If you mean "a

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

2010-06-11 Thread Marcus Whybrow
self.get_response(request) > >   File "/home/webapps/.virtualenvs/tinygraph/lib/python2.6/site- > > packages/Django-1.2.1-py2.6.egg/django/core/handlers/base.py", line > > 142, in get_response > >     return self.handle_uncaught_exception(request, resolver, exc_info)

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

2010-06-11 Thread bruno desthuilliers
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 virutalenv in combin

UnboundLocalError: local variable 'resolver' referenced before assignment

2010-06-10 Thread Marcus Whybrow
rror: 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. I have took a peak at the Django source code and resolver is not assigned a value unless a urlconf is set, I th

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 yo

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 p

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 r

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 > 30: > > I suspect you have the above l

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 because it appears to

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 wrote: > neridaj wrote: > > I d

Re: local variable 'delta' referenced before assignment

2009-12-29 Thread Chris Withers
if isinstance(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 b

local variable 'delta' referenced before assignment

2009-12-29 Thread neridaj
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 Thanks, Jason -- You received this message because you

"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 isinsta

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 helps someone else. >

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
or1 = 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 an

radio button assignment as filter in search

2009-03-09 Thread Jesse
if andor1 == 1:# this assignment is being ignored. if publication not in list: list.append(publication) if andor1 == 2: # this assignment is being ignored. if publication in list: andlist.append(publication) return render_to_re

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 pro

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 = Tags.objects.filter(TagNa

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
ite-packages/mod_python/importer.py", line 1537, in HandlerDispatch default=default_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(mo

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) tags

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 wha

variable assignment in template (or variable alias/map)

2007-10-07 Thread zeliboba
e child.html "parentObject", 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

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 sol

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 au

Re: 'Session' object does not support item assignment

2007-06-17 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 group

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 view)

'Session' object does not support item assignment

2007-06-16 Thread Vertigo
: 'Session' object does not support 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 appea

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()

Feedjack - TypeError object does not support item assignment

2006-08-06 Thread Jens Baedeker
uot; in initview 33. request.META['QUERY_STRING']) File "/usr/local/lib/python2.4/site-packages/Feedjack-0.9.7-py2.4.egg/ feedjack/fjlib.py" in getcurrentsite 136. hostdict[url] = ret.id TypeError at /feed/rss/ object does not support item assignment -- s