I've got an external (read-only) database that I'd like to hook into
an app I'm working on -- it violates django's pk assumption by using
composite keys.
I'm hoping that, given a couple of assumptions of my own, I can hook
these tables up to the ORM without having the universe implode.
Since the
On Mon, 2010-08-30 at 10:06 +0530, Harbhag Singh Sohal wrote:
> I have read tutorial / documentation
no use reading it - please do the tutorial step by step until you make a
complete web application as shown in the tutorial. Then you will be able
to understand how to add the numbers.
--
regards
sir, i am very new in django?
so, please sir help.
tell me, how to code Views.py file to solve my problem.
I am confused.
I have read tutorial / documentation at _, but could not get a
bare minimum example to code Views.py, if there is any, kindly help me
by posting link.
I just
On Mon, Aug 30, 2010 at 7:21 AM, Kenneth Gonsalves wrote:
> On Sun, 2010-08-29 at 22:50 +0530, Harbhag Singh Sohal wrote:
> > me try use request.POST function to get the value, but me also fail to
> > get the form values.
> >
> > Please suggest me how i get the value from form
On 30 August 2010 11:04, Russell Keith-Magee wrote:
> On Sun, Aug 29, 2010 at 8:26 PM, dave b wrote:
> 1) An actual problem where you can clearly describe the circumstances
> or sequence of events that would allow an attack to occur, and
> 2)
On Sun, 2010-08-29 at 22:50 +0530, Harbhag Singh Sohal wrote:
> me try use request.POST function to get the value, but me also fail to
> get the form values.
>
> Please suggest me how i get the value from form text fields and store
> in database.
please post your code
--
regards
Kenneth
sure, whatever. maybe you miss the point: I'd like to include the
user instance in the constructor. Is there a way to do this without
rewriting the comments framework?
C
On Aug 29, 4:24 pm, "Evan H. Carmi" wrote:
> On Sun, 29 Aug 2010 16:08:45 -0700 (PDT)
>
> Cody Django
On Sun, Aug 29, 2010 at 8:26 PM, dave b wrote:
>> Anyway, since you have done your civic duty there's a good chance that a
>> fix will find its way into some future version. Thanks for being a good
>> citizen.
>
> Django is an awesome project and. However, a bug is a bug. I
On Sun, 29 Aug 2010 16:08:45 -0700 (PDT)
Cody Django wrote:
> I'd like to have the comment form contain a captcha if the user is
> logged in.
Do you mean "have the comment form contain a captcha if the user *is
not* logged in?
-E
--
You received this message because you
On Aug 29, 9:43 pm, dave b wrote:
> > OK, so you don't believe the advice you are getting, which is that of
> > the many issues a Django sit will face this is a relatively low
> > probability attack. That's fair enough - a vulnerability is a
> > vulnerability, after all,
I'd like to have the comment form contain a captcha if the user is
logged in. short of rewriting the provided comment template tags I
haven't found a solution. I'm curious if this issue hasn't been
already addressed.
Thanks
--
You received this message because you are subscribed to the
On 8/29/2010 6:51 PM, Goran wrote:
> Thanks for the answer Steve. I'm Django and Python novice and here is
> what I was try. But it doesn't work.
>
> from django.contrib.flatpages.models import FlatPage
>
> class NewFlatpage(FlatPage):
>
> class Meta:
The Meta class would need to subclass
Thanks for the answer Steve. I'm Django and Python novice and here is
what I was try. But it doesn't work.
from django.contrib.flatpages.models import FlatPage
class NewFlatpage(FlatPage):
class Meta:
verbose_name_plural = "New_name"
On Aug 26, 4:39 am, Steve Holden
I have strange problem, on my development server everything is fine
but I'm use Django 1.1 but on the production server (Django 1.2)
prepopulated_fields don't work. Does anyone have the same problem? Any
suggestion?
class UniverzitetAdmin(admin.ModelAdmin):
prepopulated_fields = {"url":
Де факто - Вам не нужен полный список. Но если так хочется, то
достаточно инициально поддерживать список самых распростанённых агентов
и сделать ссылки "нормальная/мобильная версия". Каждый клик
протоколировать и из этой информации модифицировать список.
Спасибо за перевод моего вопроса, но
The mail you sent on August 24 was approved through moderation, you can see
it here:
http://groups.google.com/group/django-users/browse_thread/thread/48ac828afbe07bf2/
Since then your posts have not been moderated; generally once someone sends
a non-spam posting to the group they are allowed to
Hi,
I've sent a couple of posts and it waits for moderation, but never
get cleared. I never even get any denial reason or something. Just
checking if this message reaches..
Thanks
--
Shamail Tayyab
Blog: http://shamail.in/blog
--
You received this message because you are subscribed to the
Sorry, i forgot to mention that this is the model field I am
retrieving user's locations from:
location = geomodels.PointField(null=True, blank=True)
which comes back as:
POINT(longitude, latitude)
and we are using a PostGreSQL database.
On Aug 29, 6:45 pm, kyleduncan
> I have written the code
> model.py
> from django.db import models
>
> class Math(models.Model):
> input1 = models.IntegerField()
> input2 = models.IntegerField()
> output = models.IntegerField()
>
> Views.py file
>
> from django.template import RequestContext
> from django.shortcuts
Hi all,
I am trying to do obtain the distance between two users on my site,
using code I found in this group. We already have geoDjango installed,
though i'm wondering if my problem comes from being on an old version
(i dont know which version we're using - if somebody could tell me how
to check
On Sun, Aug 29, 2010 at 11:22 PM, Harbhag Singh Sohal <
harbhag.so...@gmail.com> wrote:
>
>
> On Sun, Aug 29, 2010 at 10:56 PM, Steve Holden wrote:
>
>> On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote:
>> > i am the new user of Django, i try the tutorials of django wesite
>>
On Sun, Aug 29, 2010 at 10:56 PM, Steve Holden wrote:
> On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote:
> > i am the new user of Django, i try the tutorials of django wesite
> > http://docs.djangoproject.com/en/1.2/intro/tutorial01/
> >
> >
> >
> > Now i create a
You probably mean
http://code.google.com/p/djangobile/
But it seems it was last updated about a year ago.
Anyway I hope it helps.
Cheers
On 28 Sie, 15:56, Sergey Panfilov wrote:
> Замучаетесь поддерживать список user-agent. По-моему, я видел
> приложение django-mobile, которое
On 8/29/2010 1:20 PM, Harbhag Singh Sohal wrote:
> i am the new user of Django, i try the tutorials of django wesite
> http://docs.djangoproject.com/en/1.2/intro/tutorial01/
>
>
>
> Now i create a application in django to add two numbers, After filling form.
> and store the values of two
i am the new user of Django, i try the tutorials of django wesite
http://docs.djangoproject.com/en/1.2/intro/tutorial01/
Now i create a application in django to add two numbers, After filling form.
and store the values of two inputs and output after add two numbers in
databases.
me able to
On 27 août, 18:07, AK wrote:
> From what I can tell in the documentation, a post_save signal only
> passes sender, instance, created, and using. I would love to use this
> signal to update information in the instance, such as the datetime of
> when it was saved.
Just
> Anyway, since you have done your civic duty there's a good chance that a
> fix will find its way into some future version. Thanks for being a good
> citizen.
Django is an awesome project and. However, a bug is a bug. I don't
care if it is a security bug or not, a bug *should* get fixed.
FYI: I
On 8/29/2010 8:07 AM, dave b wrote:
>> An attacker could also assemble a powerful explosive device and detonate
>> it near enough your hosting service to take your site down. What
>> counter-measures are you going to take against that?
>
> Good question. I have two cats and they like to lick
> An attacker could also assemble a powerful explosive device and detonate
> it near enough your hosting service to take your site down. What
> counter-measures are you going to take against that?
Good question. I have two cats and they like to lick people ^^
They are a bit friendly I guess. Do
On 8/29/2010 7:43 AM, dave b wrote:
>> OK, so you don't believe the advice you are getting, which is that of
>> the many issues a Django sit will face this is a relatively low
>> probability attack. That's fair enough - a vulnerability is a
>> vulnerability, after all, no matter how improbable,
> OK, so you don't believe the advice you are getting, which is that of
> the many issues a Django sit will face this is a relatively low
> probability attack. That's fair enough - a vulnerability is a
> vulnerability, after all, no matter how improbable, and not everyone
> will set up their
I guess you would have to subclass both RemoteUserMiddleware and
RemoteUserBackend. I'm not sure if this will work, but at least it's
one idea.
In your custom RemoteUserMiddleware you would have to set the header
property to HTTP_AUTHORIZATION so that Django knows where to find the
username.
On 8/29/2010 12:05 AM, dave b wrote:
> On 29 August 2010 13:33, Graham Dumpleton wrote:
>>
>>
>> On Aug 29, 1:17 pm, dave b wrote:
>>> On 29 August 2010 08:28, Steve Holden wrote:
>>>
On 8/28/2010 6:10 PM, Graham
33 matches
Mail list logo