I never used os x, so I purpose you google further on your own
cracco
ok thank you
atoll
Is it possible to handle a second object in a list view. By exemple i want the list of my items and the category in which they all are. I could just get the category of the first item but it's ugly and what if i have 0 items
it's the generic ListView
Fuyou
Kk2you doing it wrong
Kk2
hmm where?: P
Fuyou
do you really want to use profile when django 1.5 with custom user models is out to begin with
but that is not the point
wlonk joined the channel
Kk2
hmm
Fuyou
did you try to pass profile as different variable
proteusguy has quit
ah, i think i got it
Codewaffle joined the channel
You import Usuario in your view, right?
Kk2
right
Fuyou
well, then do not do this : Usuario.acesso = request.user.get_profile()
proteusguy joined the channel
sohail has quit
Usuario is a Class
Kk2
and how i will pass this information to the template? :P
next error: ImportError: cannot import name connect :D i think im slowly giving up
shredding
I have an abstract class, that implements a process that's the same for every extending class. The extending class just provides a dict with kwargs for the object manager.
cracco: Have you tried manage.py validate --traceback?
Goopyo joined the channel
It gives you better information on whats going on.
Goopyo has quit
mayhew joined the channel
cracco
@shredding no, it gives me some nice red text with erros :)
shredding
cracco: Paste it!
cracco
Traceback (most recent call last): File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 222, in run_from_argv self.execute(*args, **options.__dict__) File "/Library/Python/2.7/site-packages/django/core/management/base.py", line 250, in execute translation.activate('en-us') File "/Library/Python/2.7/site-packages/django/utils/translation/__init__.py", line 90, in activate return _trans.activate
amarsaini joined the channel
well that was shortened
last line is ImportError: No module named postmandjango.contrib.auth
that is ok, which means some of your code still don't know it is
cracco
me neither
Fuyou
you ran validate?
cracco
yes
Fuyou
and you saved settings.py alright ?
cracco
yes
Fuyou
try some magic then
subbyyy has quit
like removing settings.py and putting it back together
seagreen joined the channel
*again i meant
cracco
ok..should i remove settings.pyc too?
Codewaffle has quit
Fuyou
try it
it's not something logical anymore
your settings is ok, it must work
Gentle joined the channel
atoll
Is there an elegant way to use the slug of the category of an item and the slug of this item to have a DetailView that isn't confused from item having the same slug but on different categories ?