Thanks :)
i used the idead behind remoteuserbackend and coded something
similar :) thanks again!
regards
Pete
--
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 f
Hi groups users :)
The thing is. I have one django app serving different sites.
site1.myapp.com
site2.myapp.com
The users login via a 3rd party SSO system which is then
redirected(inkl. a valdiation POST) to https://myapp.com/auth/
I can only choose one destination for this POST, so it has to be
Hi.
I use Django-Reversion and i absolutely love it! :)
But I guess it depends on how you're planning on using it?
pete
On 7 Jan., 16:24, Pēteris Brūns wrote:
> Hi,
> I'm seeking for version control solution in django. The most suitable
> looks django-reversion all other seems dead. Has anybo
Ahh my bad. didn't see the last part of your post where you said you
had already tried the processor way :)
however the docs. mention thread safety concerns when it comes to
custom tags.
http://docs.djangoproject.com/en/dev/howto/custom-template-tags/#thread-safety-considerations
So perhabs it's
didn't mean to spam your thread… thought my answer was lost… :-S
On 26 Dec., 10:57, PeteDK wrote:
> Hi.
>
> You can use template context processors.
>
> http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-c...
>
> you can either use the built in processo
Hi.
You can use template context processors.
http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext
you can either use the built in processors or write your own. They
just have to be added in the settings file(all this is explained in
the docs)
These can prov
Hi.
You want to look at template context processors.
http://docs.djangoproject.com/en/dev/ref/templates/api/#subclassing-context-requestcontext
You can create your own context processors or use the built in. These
can provide access to the current request in your template… and
therefore request.
Hi there.
I am trying to make a search function.
lookupInt1 = 1
print "inden loekke"
for i in fromCityList:
print "test"+ i.by
On 18 Feb., 19:14, Ramiro Morales wrote:
> On Wed, Feb 18, 2009 at 4:08 PM, PeteDK wrote:
>
> > Hi. I know this is not really Django related, but this is one of the
> > best forums out there so i hope you can help me :-)
>
> > The thing is, i have a django website
Hi. I know this is not really Django related, but this is one of the
best forums out there so i hope you can help me :-)
The thing is, i have a django website.
The media files are handled by the apache server instead of django,
which works great.
However when i go to .com/media/profile_pics
Hi :)
I'm trying to validate an uploaded image's size and filetype.
However i have problems even gettings to the validation as django
keeps telling me that there's no object.
When i don't use the validation part I can upload an image just fine.
So the upload thing works.
I just can't figure out
Now i have tried some different things, just for testing.
I have changed my forms til ModelForm instead of normal forms.
forms:
class ProfileForm(ModelForm):
class Meta:
model = Profile
model is the same
views is now:
formP = ProfileForm
(request
I started with eclipse because of its Python env/module.
I have switched to textmate now though. :)
--~--~-~--~~~---~--~~
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
#Daniel
Yep, but still no luck :(
do I have to do anything else in my template?
--~--~-~--~~~---~--~~
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.co
Hi
I have had some problems with that myself. Don't know if this is any
help, but here we go.
i have created a file cron.py that i have placed in the exact same
directory as my settings.py file.
then at the beginning of my cron.py:
from django.core.management import setup_environ
import settings
Hi.
this is what it looks like.
On 26 Jan., 16:29, Brian Neal wrote:
> On Jan 26, 9:16 am, PeteDK wrote:
>
>
>
> > Hi there :)
>
> > first the code:
>
> > forms:
> > class ProfileForm(forms.Form):
> > ...
> > i
Hi there :)
first the code:
forms:
class ProfileForm(forms.Form):
...
image = forms.ImageField(required = False)
models:
class Profile(models.Model):
user = models.ForeignKey(User, unique=True)
image = models.ImageField(upload_to="images/", blank=Tru
Hiii everybody...
I am trying to create this class called "car".
In this car class i have an IntegerField "year". The thing is, this
field should not be required and therefor the user should not be
"forced" to enter anything into this field if the person doesn't want
to.
However i can't seem to
btw, dont know if its important. But im using CentOS :-)
On 15 Sep., 21:45, PeteDK <[EMAIL PROTECTED]> wrote:
> Thanks.
>
> Well the problem with the network personnel is that the person who set
> up the active directory server left recently and his documentation is
> ve
access to the root of the tree
> (depending on your requirement it might be the top most node; or it
> could be any other node as well).
>
> Good luck,
> Josephhttp://www.jjude.com|http://twitter.com/jjude
>
> On Sep 15, 9:28 pm, PeteDK <[EMAIL PROTECTED]> wrote:
>
&
AP on the existing django Application.
> I really need it for my project in the future.
>
> Thanks you very much in Advance.
>
> On Sep 15, 1:15 pm, PeteDK <[EMAIL PROTECTED]> wrote:
>
>
>
> > thanks.
>
> > But i have already read the documentation, howe
put in my settings.py file :-)
On 15 Sep., 13:08, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> I can't help you in that case, but do start by reading the Django
> documentation. A search for LDAP yields:
>
> http://docs.djangoproject.com/en/dev/topics/auth/
>
> Graham
I wont say I am smart, because no smart person will tell this. But I wont
say that
I am naive, because I am good at the rules of life. I like MAN should be
strong,
resolute and self-confident, someone who can take care of such a tender
kitten as I
am :)
http://www.searchfreedate.com/profile028.h
Thanks. I tried a lot of things and ended up using a local mysql db,
it works great now :)
thanks :)
kind regards
Peter Møller
On Sep 6, 12:14 pm, Graham Dumpleton <[EMAIL PROTECTED]>
wrote:
> PeteDK wrote:
> > Hi everybody...
>
> > I am trying to setup my apache webse
Hi everybody...
I am trying to setup my apache webserver on a CentOS machine. I'm
almost there(i hope)
however i keep getting a weird error message. Weird in the sense that
i can easily connect to the same mysqldb when using the local
development server but not when using apache.
PythonHandler
Damn... thats one stupid mistake :)
thanks for noticing it :)
--~--~-~--~~~---~--~~
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 f
thought it might help to paste some of my urls. :-)
#!usr/bin/env python
#-*- coding: iso-8859-1 -*-
from django.conf.urls.defaults import *
from skema.views import *
from django.contrib.auth.views import *
from django.contrib import admin
admin.autodiscover()
urlpatterns = patterns('',
Hi Im an trying to deploy my django app to an apache server. However i
keep getting a 500 internal server error.
i have followed this guide:
http://fosswire.com/2008/05/19/installing-mod_python-and-django-on-apache/
in my httpd.conf file i have written the following:
SetHandler python-program
P
On 21 Aug., 16:25, "Guillaume Lederrey" <[EMAIL PROTECTED]>
wrote:
> 2008/8/21 PeteDK <[EMAIL PROTECTED]>:
>
>
>
>
>
>
>
> > On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]>
> > wrote:
> >> 2008/8/21 P
On 21 Aug., 13:10, "Guillaume Lederrey" <[EMAIL PROTECTED]>
wrote:
> 2008/8/21 PeteDK <[EMAIL PROTECTED]>:
>
>
>
> > The server is running Debian Linux and they are logging on to the
> > server using the username and password stored in the ac
On 21 Aug., 13:44, "Emily Rodgers" <[EMAIL PROTECTED]> wrote:
> > -Original Message-
> > From: django-users@googlegroups.com
> > [mailto:[EMAIL PROTECTED] On Behalf Of PeteDK
> > Sent: 21 August 2008 11:14
> > To: Django users
> > S
> Have you tested the suggestion above with someone who is not sshed into
> the box, because if it is just the remote user of the app you want, you
> really don't want to be doing '/usr/bin/ who' because that will return
> the users sshed onto the box (and *not* the users logged into the web
> app
On 21 Aug., 01:59, "Garrett Garcia" <[EMAIL PROTECTED]> wrote:
> On Wed, Aug 20, 2008 at 9:53 AM, PeteDK <[EMAIL PROTECTED]> wrote:
>
> > On 20 Aug., 17:56, "Emily Rodgers" <[EMAIL PROTECTED]> wrote:
> > > > -Original Message---
oups.com
> > Subject: Re: how to locate the OS currently logged in user??
>
> > PeteDK wrote:
> > > Hi.
>
> > > I want to retreive the name of the currently logged in user
> > on the OS
> > > on which my django app lives.
> > > Is this
On 20 Aug., 15:14, Christian Joergensen <[EMAIL PROTECTED]> wrote:
> PeteDK wrote:
> > Hi.
>
> > I want to retreive the name of the currently logged in user on the OS
> > on which my django app lives.
> > Is this possible?
>
> You are aware that on most
Hi.
I want to retreive the name of the currently logged in user on the OS
on which my django app lives.
Is this possible?
The thing is. The app is to be used in a private environment, so all
the users have to log on to the webserver first(this cant be changed).
I would be nice to avoid having th
36 matches
Mail list logo