Ah! I'm still on Ubuntu's release version. Thanks Bruno!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@
hi group.
Got an issue I need some help with asap. I have flatpages installed
and a url at / for my home page.
I've also got a form on my home page powered by a view.
my urls portion for this view is:
rr'^$','DoNewsLetter'),
my issue is this... the view executes perfectly, but the flatpage
d
I think that my main problem was that I was expecting the save to the model
form to actually create the profile.
Here's what I ended up with in my view.
86 @login_required
87 def createProfile(request):
88 UserProfile.objects.get_or_create(user=request.user)[0]
89 if request.method ==
Dear Django users,
I have a tagging system that uses a GenericForeignKey to assign tags
to generic objects. I would like to write a function that given a
model and a list of tags returns a QuerySet containing all instances
of that model that have been given those tags.
I'm not a huge fan of djang
Works great! Thank you very much!
Goran
On Sep 8, 3:51 pm, bagheera wrote:
> Dnia 08-09-2010 o 15:41:13 Goran napisał(a):
>
>
>
> > Thanks for your help but I think that understand how template works.
> > My menu is drop down menu with menu items which comes from variable
> > {{ for menuitem i
Where exactly are you expecting them to be posted?
I think the Facebook Comments plugin is only supposed to provide a
comment feature on individual pages so that you don't have to write
your own, it's not an external comment box for your FB page.
- Sævar
On Sep 10, 5:41 pm, Bobby Roberts wrote:
hi there,
i tried to get the current version of django working on my NAS, but
when i run
python setup.py install
i get this error:
byte-compiling /ffp/lib/python2.5/site-packages/django/template/
defaultfilters.py to defaultfilters.pyc
Traceback (most recent call last):
File "setup.py", line 9
Hello,
I've successfully implemented mod_wsgi with Apache on Windows XP using
MySQL 5.1. Everything but the CSS/html for the index page is
working. Even the admin pages are working with style sheets. The
following is my code. I cannot seem to find the error that is not
loading the CSS style she
Not sure if this will help ya...but the guys at Eldarion have brabeion for
doing badges (awards). http://github.com/eldarion/brabeion
That's all I got right now!
n
On Sat, Sep 11, 2010 at 12:26 PM, Joel Klabo wrote:
> Does anyone know of an example of someone using django signals to do
> achie
Does anyone know of an example of someone using django signals to do
achievements for a website? similar to foursquare or something like
that? I am going to attempt it and i don't really know where to start.
I would love some example or a nudge in the right direction.
--
You received this message
I too find the tagged releases useful. Thanks for all your hard work
people!
Toodle-lo.
creecode
On Sep 11, 9:03 am, shacker wrote:
> It looks like there is no svn tag for 1.2.3:
>
> http://code.djangoproject.com/svn/django/tags/releases/
>
> which affects those of us w
Thanks for your help. It's very clear.
I used measure_list method but it thrown and exception.
Here's how I did,
In my app's ModelAdmin I override changelist_view method.
I was able to get the queryset, then instantied cube with this queryset.
If I didn't call measure_list, everything works fine. B
I am use Install the Django-Cms using this link
http://www.django-cms.org/en/documentation/2.0/installation/
I face this error. I am able understand this error
I am using Django Version is 1.1.2 and Django -cms is 2.0.2
Version is matching with Documentation of Django-Cms
ERROR is : -
{
Improperl
Thanks.
That helped me figure it out. I'll post my solution back later
today/tonight.
On Sat, Sep 11, 2010 at 12:37 AM, Shawn Milochik wrote:
> I think you just may be missing a call to get_profile() in this view.
> You can just do that and do a try block with an except block for
> DoesNotExi
After a bit of googling I found:
https://code.google.com/p/sct-project/
On Sep 11, 12:47 pm, Shamail Tayyab wrote:
> Hi,
>
> I need a very minimal wiki, best if it runs on flat files. moinmoin is too
> heavy for what I am looking. Is there some Django thing available or written
> by someone he
Hi,
I need a very minimal wiki, best if it runs on flat files. moinmoin is too
heavy for what I am looking. Is there some Django thing available or written
by someone here?
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the G
Given the following two models forming the base of a wiki-style app:
class Page(models.Model):
current_revision = models.IntegerField()
class PageContent(models.Model):
page = models.ForeignKey(Page)
revision = models.IntegerField()
created = models.DateTimeField()
Here, we have
can i get model field type from a model queryset in django?
for example:
a is b model's queryset
b model has following field:
- f:charfield
- g:foreignkey
- h:manytomany
is there any way to get field g's type from queryset a?
thx.
--
You received this message because you are subscribed to th
On Sep 11, 12:00 am, James Bennett wrote:
> To correct several issues in the 1.2.2 package earlier this week,
> tonight the Django team has issued Django 1.2.3. Details are available
> on the Django weblog:
>
It looks like there is no svn tag for 1.2.3:
http://code.djangoproject.com/svn/django/t
Oops my previous post got hard-wrapped by safari's textarea. :( Here
it is again. (I'm assuming moderator is going to prevent me from
double posting).
---
I was reading about how django's apps' models can't be easily
overridden. - e.g http://www.scribd.com/doc/37113340/Why-Django-Sucks-and
Django document said the QueryDict is only immutable, but why I can
edit it sometimes
The codes is almost the same, for example following,
The first kind of condition, the item I want to edit is not a field of
form.
I add a Captcha when user register or login, the querydict is mutable
when regis
class MyModelCube(Cube):
my_dimension = Dimension(field='my_float_field__range',
sample_space=[(0, 1.5), (1.5, 6.2)])
@static
def aggregation(queryset):
return queryset.count()/MyModel.objects.count() * 100
Basically when you declare a dimension, you can us
Hi,
I started having trouble with paypal IPN on Sept. 4 (a week ago), but
didn't know it until they notified me yesterday that my endpoint url
was failing. Well, I had just upgraded to Django 1.2.1 and figured it
had to be that or some code refactoring I had done.
However, as far as I can tell, th
On Sep 10, 2:43 pm, Christos Jonathan Hayward
wrote:
> P.S. Setting:
>
> .filter(is_invisible__in = [False, None])
how about:
.exclude(is_invisible__exact = True)
>
> is not working as intended; I seem to be getting no matches when I should be
> getting matches.
>
> On Fri, Sep 10, 2010 at 4:
On 10 sep, 21:57, David Somers Harris wrote:
> I haven't set a custom manager as far as I'm aware. Here is what happens to
> me:
(snip)
http://code.djangoproject.com/ticket/12142
Looks like you have to update your Django install !-)
--
You received this message because you are subscribed to t
On 11 sep, 02:37, Bachir wrote:
> What if was gibing a string like this: 'math.ceil', and i had to import the
> function(not the module) dynamically(from the string), how can i do that?
> import_module is for importing... modules, not functions.
Why don't you just read the code snippet I posted ?
Django document said the QueryDict is only immutable, but why I can
edit it sometimes
The codes is almost the same, for example following,
The first kind of condition, the item I want to edit is not a field of
form.
I add a Captcha when user register or login, the querydict is mutable
when regis
To correct several issues in the 1.2.2 package earlier this week,
tonight the Django team has issued Django 1.2.3. Details are available
on the Django weblog:
http://www.djangoproject.com/weblog/2010/sep/10/123/
All users are encouraged to upgrade as soon as possible.
--
"Bureaucrat Conrad, you
28 matches
Mail list logo