On May 25, 8:19 am, doniyor wrote:
> hey guys,
> i need to loop over the number of ids of objects in my db table and create
> accordingly the same number of html fields. how can i do it.. my effort is
> this:
> numberOfIds = Produkt.objects.count()
> i = 1;
> for i in range(0,numb
On May 24, 11:50 pm, Larry Martell wrote:
> I got this to work by adding the derived field to the drill down query
> with queryset.extra, and then it was available with getattr. The only
> issue I had was they wanted the derived field displayed with a name
> (not col1-col2). In the first query I
Cool, thanks, i will play with the advices given by you guys.. I will post the
solution that has worked for my prob..
Thanks thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.goog
The MEDIA_ROOT is set up correctly: MEDIA_ROOT = '/home/myusername/
myprojectname/uploads/'
And the images are stored here: /uploads/files/img/foldername/file.jpg
The relative path, /uploads/files/img/wahanda/name.jpg works..but not
like this:
{% thumbnail result.object.image_path "50x50" crop="80
On May 24, 11:00 pm, Carsten Jantzen wrote:
>
> Not sure what you mean by detecting skill change using properties, I
> havn't looked into that.
> Could you point to some documentation about it.
Python has a strong support for computed attributes[1], and offers a
builtin "property" type for the mo
Sorry I won't be very helpful on that one, I started again from scratch and
it's working ok. I'm not even sure it was related to Sorl.
On Thursday, May 24, 2012 4:52:11 PM UTC+2, Chet Pilley wrote:
>
> Are you doing any development work using runserver apart from working
> on the Apache-delivere
I solve that using OpenFire ( An XMPP Server with chat , multiuser-chat,
etc ..) and Strophe (a javascript library for the browser).
Good luck Ariel
El miércoles, 23 de mayo de 2012 16:37:42 UTC+2, Ariel escribió:
>
> Hi everybody,
>
> I need a django application to embed a chat javascript in th
Hi. How to get News by category name? My try: http://dpaste.com/752094/
If I click category name in template, nothing happens -> in web
browser is url: http://127.0.0.1:8000/news/category?music
Thanks!
--
You received this message because you are subscribed to the Google Groups
"Django users" g
Hi,
I have been looking at the Badges app in django -
https://github.com/eldarion/brabeion/blob/master/docs/usage.txt and while
it seems to be good at tracking the user's badges It doesn't have an easy
way to associate images with badges.
I tried inheriting the BadgeDetails class and using i
On Fri, May 25, 2012 at 2:24 AM, bruno desthuilliers
wrote:
>
> On May 24, 11:50 pm, Larry Martell wrote:
>> I got this to work by adding the derived field to the drill down query
>> with queryset.extra, and then it was available with getattr. The only
>> issue I had was they wanted the derived f
On May 25, 2:32 pm, Larry Martell wrote:
> On Fri, May 25, 2012 at 2:24 AM, bruno desthuilliers
>
> >> I couldn't use the display name or the getattr failed.
>
> > ???
>
> When I first did:
>
> extra(select={"Delta" : self.field_name})
>
> Then getattr(self.field_name) failed with "object has no a
On Fri, May 25, 2012 at 6:42 AM, bruno desthuilliers
wrote:
> On May 25, 2:32 pm, Larry Martell wrote:
>> On Fri, May 25, 2012 at 2:24 AM, bruno desthuilliers
>>
>> >> I couldn't use the display name or the getattr failed.
>>
>> > ???
>>
>> When I first did:
>>
>> extra(select={"Delta" : self.fie
You need to be more specific, because the code you have already seems to do
what you ask. What is your problem?
On Monday, May 21, 2012 5:51:21 AM UTC+2, Aditya Sriram M wrote:
>
> Help please! :-|
>
> On Saturday, 19 May 2012 18:31:05 UTC+5:30, Aditya Sriram M wrote:
>>
>> I have a function like
The query string parameters in your URL need to be in key=value format, such as
http://127.0.0.1:8000/news/?category=music
Sent from my iPhone
On May 25, 2012, at 6:01 AM, enemybass wrote:
> Hi. How to get News by category name? My try: http://dpaste.com/752094/
> If I click category name in t
Hi,
I'm using Django 1.3 with the "stock" admin interface. No customizations.
In the Site Administration, I can add new users. However, if I try to add a
group I get the Add Group screen, with the fields for name and selection of
permissions, and the three save buttons at the bottom ("Save and
P.S. Adding permissions to each user individually works (and those
permissions are not ignored), and the database validates correctly
according to "django-admin validate".
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, se
I forgot to say something important. In order to make such changes
permanent you will need to insert in the END of you ~/.bash_profile the
following commands:
export WORKON_HOME=~/Envs
source ~/python/bin/virtualenvwrapper.sh
Em sábado, 12 de maio de 2012 07h29min39s UTC-3, Dan Santos escreveu
I can read this list and the docs all I want, but there's no substitute for
experienced code review and pair programming.
*So we, the Sacramento Natural Foods Co-op, are seeking a (preferably
local) Django guru to help bring best practices to our in-house software
development.
We have a small
Hello,
I am very new to python and django. My question is, since django works on
python version more than 2.5 and if I am having multiple versions of python
say 2.4 and 2.6, now how can I call django with the correct version of
python. Is there any way to do that.
Any help would be appreciate
python2.7 manage.py etc.
On Fri, May 25, 2012 at 11:07 AM, Mohan Boddu wrote:
> Hello,
>
> I am very new to python and django. My question is, since django works on
> python version more than 2.5 and if I am having multiple versions of python
> say 2.4 and 2.6, now how can I call django with the
hi,
I have a situation. currently i have one default django 's database.
but, i wound like to connect to mssql/other database.
- how can i get connected to ms-sql/other database?
- is it we have to create class in models? the database is for read only.
Hope able to get the information.
Regards,
21 matches
Mail list logo