Thanks! Your suggestion worked like a charm.
Take care,
Don
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe fr
On 8/10/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Alias /media "/home/user/django_src/django/contrib/admin/media"
>
> Order allow,deny
> Allow from all
>
>
> RewriteRule ^/media$ /media/ [R]
>
> SetHandler None
>
I don't see why y
On Thu, 2006-08-10 at 18:12 +, Ru wrote:
> Hi list,
>
> I get a damn blank page for admin when I add it to the installed apps
> in settings.py
>
>
> I'm trying to setup a django environment on my webserver, dedicated
> CentOS, with apache 2 and mod_python. I've got the success page
> alread
On Thu, 2006-08-10 at 13:24 -0700, Tomas Jacobsen wrote:
> Hi. Im pulling my hair out trying to make this url. I have seem some
[...]
>
> My urls looks like this now:
>
>
> info_dict = {
> 'queryset': Project.objects.all(),
> }
>
> urlpatterns = patterns('',
>
> #Portfolio
> (
On Thu, 2006-08-10 at 22:09 +0930, Nick Lane wrote:
> Hi everyone,
>
> I'm a relatively new user to Python and Django, and I'm impressed so far
> - very nice!
>
> I have a question regarding the app I'm currently developing - a photo
> album. Here is a rough copy of my models.py (trimmed for bre
(I am using django 0.95 revision 3549 with Apache 2.0.54 and mod_python
and a virtualHost.)
When I first brought up the django admin interface, the login screen
and subsequent pages had no stylesheets applied. I did a quick search
and realized that I needed to configure Apache for the admin media
On 8/10/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:
> On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> > If I wanted to make a Django app that utilized a custom authenticator
> > and my own "API key" what would be the best way to generate unique API
> > keys for my app. Would running a md5/sha su
On 8/10/06, Jyrki Pulliainen <[EMAIL PROTECTED]> wrote:
> On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
> > On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> > > Nowadays(is that a word?) a lot of fancy web services use API keys to
> > > allow an individual access to a service without requir
hi,
i've read the documentation, i checked the group-archives,
but still... i just cannot understand what that setting does.
could someone explain it to me?
thanks,
gabor
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Gr
personally I would DES encrypt their email address.that way you have a contact if something goes wrong.On 11/08/2006, at 3:01 AM, Jyrki Pulliainen wrote:On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote: On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote: Nowadays(is that a word?) a lot of fancy web s
Steven Armstrong wrote:
> On 08/10/06 20:25, DavidA wrote:
> > Steven Armstrong wrote:
> >> I've had similar problems and solved them like this:
> >>
> >> myproject/validators.py
> >> %<--
> >> from django.utils.translation import gettext_lazy as _
> >> from django.cor
Hi. Im pulling my hair out trying to make this url. I have seem some
more source codes of other django projects, but I cant find anything
like my problem.
I've tried
(r'^portfolio/(?P[-\w]+)/(?P[-\w]+)$',
'myproject.portfolio.views.category_view'),
and
(r'^portfolio/(?P[-\w]+)/(?P[-\w]+)$',
'
On 08/10/06 20:25, DavidA wrote:
> Steven Armstrong wrote:
>> I've had similar problems and solved them like this:
>>
>> myproject/validators.py
>> %<--
>> from django.utils.translation import gettext_lazy as _
>> from django.core.validators import *
>> import re
>>
>>
Thanks for all of the help and responses. You have helped give me ideas
on how to implement something like this.
--Ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, sen
Also seems to be only related to the admin area - I created a test
application 'polls' (django tutorial) and that executes fine..
Anyone?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
ihomestore wrote:
> A simple case would be: once users login, if we do not keep track of
> user session, how do we know it is the same user once he / she diverts
> to other pages (we do not want to ask user to login for every new page
> s/he visits).
Okay, so duplicating the functionality of d
Steven Armstrong wrote:
> I've had similar problems and solved them like this:
>
> myproject/validators.py
> %<--
> from django.utils.translation import gettext_lazy as _
> from django.core.validators import *
> import re
>
> my_ansi_date_re = re.compile('put regexp her
Hi list,
I get a damn blank page for admin when I add it to the installed apps
in settings.py
I'm trying to setup a django environment on my webserver, dedicated
CentOS, with apache 2 and mod_python. I've got the success page
already, but when I go to the admin i get a blank page for some reaso
I agree with your assessment, Paul. I think that looping through
hundreds of SNs for each of 50-something years was just too much to do
quickly. It appears the filter is a far more efficient way of doing it,
so I hope I'm OK. You and Malcolm have made feel a lot better about the
import, too.
Obvi
On 8/10/06, Felix Ingram <[EMAIL PROTECTED]> wrote:
>
> On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> >
> > Nowadays(is that a word?) a lot of fancy web services use API keys to
> > allow an individual access to a service without requiring a username
> > and password. Google, flickr(I believe)
> What precisely do you mean by 'track users session'? Just keep a log of
> where they are going on your site? You might be able to do that with a
> bit of URL fiddling since its not really security-related.
A simple case would be: once users login, if we do not keep track of
user session, how d
On 8/10/06, ihomestore <[EMAIL PROTECTED]> wrote:
> I am a newbie on django (started last month). After reading the docs on
> django web site, session is implemented solely based on cookie.
>
> In some cases we still want to track users' session even users turn off
> cookie. Is there a way to do s
I'm a bit baffled, and I hope I explain this well.
I have a model with several foreign keys. Currently when I do a search,
it returns everything. The query string shows ?e=1.
The search_fields is set to a local field and a foreign key.
If a remove the foreign key from the search fields, I get a
In the wake of the Ruby on Rails mandatory security patch and its
awkward handling, we've been discussing how we can avoid such a
problem in the Django community.
http://weblog.rubyonrails.com/2006/8/9/rails-1-1-5-mandatory-security-patch-and-other-tidbits
In case you haven't seen it, our "How t
On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
>
> Nowadays(is that a word?) a lot of fancy web services use API keys to
> allow an individual access to a service without requiring a username
> and password. Google, flickr(I believe), Akismet, so on and so on.
>
> If I wanted to make a Django app
please ignore this silly silly typo mistake
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group
On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
>
> If I wanted to make a Django app that utilized a custom authenticator
> and my own "API key" what would be the best way to generate unique API
> keys for my app.
Anything random and unique will do it. You just need to
differentiate between req
On 8/10/06, hernan43 <[EMAIL PROTECTED]> wrote:
> If I wanted to make a Django app that utilized a custom authenticator
> and my own "API key" what would be the best way to generate unique API
> keys for my app. Would running a md5/sha sum on username + randomstring
> + email be safe? Or is that s
Nowadays(is that a word?) a lot of fancy web services use API keys to
allow an individual access to a service without requiring a username
and password. Google, flickr(I believe), Akismet, so on and so on.
If I wanted to make a Django app that utilized a custom authenticator
and my own "API key"
i'm busy building a site with public side registrations. instead of
extending the User class i created a UserProfile class. that way the
django stuff is a bit seperate from mine.
i've built a public registration form. what i now want is for the
password field to appear as a password field and to
Excuse me for multiple posts.
I've sent these post from Thurs, Aug 10 2006 11:08 am, but Google has
published it only at Thurs, Aug 10 2006 3:32 pm. every time giving me
fake message about "momentarily" publishing of my posts.
--~--~-~--~~~---~--~~
You received t
Hello all,
When I do simple search from form:
form action="/objects/search_results/" method="get"
input type="text" name="q" /
input type="image" name="submit" value="Search" src="" / /form
a browser goes to URL:
http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit
Hello all,
When I do simple search from form:
a browser goes to URL:
http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit.y=&submit=Search
What is the "x" and "y"?
Can I use it for pagination? Please give me a little example of usage.
--~--~-~--~~-
jrs wrote:
> submit.x and submit.y are the coordinates of where the user clicked the
> submit image.
Thanks, jrs.
Thus, avoiding "http://127.0.0.1:8000/tasks/search_results/?q=1&submit.=Search
Do you know how to include ih such URL the "offset" and "limit" parameters?
It is needed b
submit.x and submit.y are the coordinates of where the user clicked the
submit image.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegro
> There is now a screencast showing a step by step installation
> of a real-life Django application on a WebFaction account.
>
> The 19 minute screencast shows how to:
>
> - Install a default Django application using our control panel
> - Make it available over HTTPS as well (useful for the ad
jrs wrote:
> submit.x and submit.y are the coordinates of where the user clicked the
> submit image.
Thanks, jrs.
Thus, avoiding "http://127.0.0.1:8000/tasks/search_results/?q=1&submit.=Search
Do you know how to include ih such URL the "offset" and "limit"
parameters?
It is needed by a paginat
Hi everyone,
I'm a relatively new user to Python and Django, and I'm impressed so far
- very nice!
I have a question regarding the app I'm currently developing - a photo
album. Here is a rough copy of my models.py (trimmed for brevity):
class Photo(models.Model):
title = models.CharField(m
Hi all,When I do simple search from form:
form action="/objects/search_results/" method="get"
input type="text" name="q" /
input type="image" name="submit" value="Search" src="" / /form
a browser goes to
URL:http://127.0.0.1:8000/objects/search_results/?q=sometext&submit.x=&submit.y=&s
On 10 Aug 2006, at 11:15, uselpa wrote:
> spacedman wrote:
>> /foo/bar/info?session_id=0873556323
>>
>> BUT if anyone gets that URL they get that person's session. Which
>> is a
>> BAD thing. So don't do that.
>
> Unless you check that the IP from which the request is coming is the
> same IP fro
On 8/10/06, uselpa <[EMAIL PROTECTED]> wrote:
>
>
> spacedman wrote:
> > /foo/bar/info?session_id=0873556323
> >
> > BUT if anyone gets that URL they get that person's session. Which is a
> > BAD thing. So don't do that.
>
> Unless you check that the IP from which the request is coming is the
> sa
Malcolm Tredinnick wrote:
> On Wed, 2006-08-09 at 14:58 -0700, [EMAIL PROTECTED] wrote:
> > I'm still a little concerned about efficiency, particularly importing
> > Serial Number for every year. When I moved it to the top of the model
> > it failed "cannot import name Year" maybe because of the
spacedman wrote:
> /foo/bar/info?session_id=0873556323
>
> BUT if anyone gets that URL they get that person's session. Which is a
> BAD thing. So don't do that.
Unless you check that the IP from which the request is coming is the
same IP from which the initial request came.
-pu
--~--~
Hi all,
I saw many posts on this list on the dynamic limit_choices_to but I
think my question is a little bit different, but very common as well.
Here is a very simple example. I'd like to filter the streets in the
DrugStore edit page so that only the streets in the selected ci
> I am a newbie to Django, I am looking to move an application I have
> written in PHP a couple of years ago to Django and need to know if
> there is an easy way to generate a linked pulldown menu in a form.
>
> Previously I have used Javascript so if you select a category in one
> pulldown the se
hi Gwilym,
> I am a newbie to Django, I am looking to move an application I have
> written in PHP a couple of years ago to Django and need to know if
> there is an easy way to generate a linked pulldown menu in a form.
>
> Previously I have used Javascript so if you select a category in one
> pul
Hi all,
I saw many posts on this list on the dynamic limit_choices_to but I
think my
question is a little bit different, but very common as well.
Here is a very simple example. I'd like to filter the streets in the
DrugStore edit page so that only the streets in the selected c
On Wed, Aug 09, 2006 at 08:58:54PM -0500, Deryck Hodge wrote:
>
> On 8/9/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > On 10-Aug-06, at 12:43 AM, Robin Gruyters wrote:
> >
> > > My hosting provider doesn't give shell access, so I can't execute like
> > > "syncdb", "startapp", "startproject
Well, you could encode the information that is normally transferred in
the cookie by adding a parameter to the URL all the time, so that your
URLs are always something like:
/foo/bar/info?session_id=0873556323
BUT if anyone gets that URL they get that person's session. Which is a
BAD thing. So d
Hi,
I am a newbie on django (started last month). After reading the docs on
django web site, session is implemented solely based on cookie.
In some cases we still want to track users' session even users turn off
cookie. Is there a way to do so in django?
Thanks,
- ihomestore
--~--~-~-
50 matches
Mail list logo