Hi,
For one of our new deployments we need to replace our authentication
(django's default) with the client's Single Sign On (SSO). The client uses
ADFS 2.0 for SSO.
None of us have ever worked on .NET/Windows techologies; we tried to look
up at many places but no leads on where to start. Possi
Hi,
I found these ones, after some googleing, hope they migth help you...
ldap authentication:
http://stackoverflow.com/questions/10725891/authenticating-to-active-directory-with-python-ldap-always-returns-97
active directory python
https://github.com/dfwarden/ActiveDirectory-Python
active
Hi,
currently I'm using the following configuration to host a Django
appliaction:
# WSGI Configuration
>
> WSGIScriptAlias /2013/spcmanage "D:/dev/spcmanage/spcmanage/wsgi.py"
> WSGIPythonPath "D:/dev/spcmanage"
>
>
>
> Order deny,allow
> Allow from
Hi Tom,
if I would walk in your shoes,
duplicate the source in different folders,
so you do not create a single point of failure.
If you mess in one project the other one behaves the same, as long as
you do not deploy again...
If you would run in linux I would have said,
create different symlin
Am Dienstag, 25. Februar 2014 13:10:00 UTC+1 schrieb Frank Bieniek:
>
> Hi Tom,
> if I would walk in your shoes,
> duplicate the source in different folders,
> so you do not create a single point of failure.
>
>
This is exactly what I'm after, I'm using a version control system so it
is easy f
On Tue, Feb 25, 2014 at 10:44 AM, Me Sulphur wrote:
> Hi,
>
> For one of our new deployments we need to replace our authentication
> (django's default) with the client's Single Sign On (SSO). The client uses
> ADFS 2.0 for SSO.
> None of us have ever worked on .NET/Windows techologies; we tried to
On Tue, Feb 25, 2014 at 12:02 PM, DJ-Tom wrote:
> Hi,
>
> currently I'm using the following configuration to host a Django
> appliaction:
>
>> # WSGI Configuration
>>
>> WSGIScriptAlias /2013/spcmanage "D:/dev/spcmanage/spcmanage/wsgi.py"
>> WSGIPythonPath "D:/dev/spcmanage"
>>
>>
>>
Hi. I am looking for some advice on the best way to approach the following:
I am pulling my blog posts out of my db. Inside of the posts I want to use
an image scroller ( http://cssdeck.com/labs/css3-image-slider ), but I
don't want to write all of the boilerplate surrounding each image every
I'm trying to make a page that allows a user to edit/add many models at
once. Let me give an example:
class SolarSystem(models.Model):
name = models.CharField(...)
description = models.CharField(...)
class Planet(models.Model):
name = models.CharField(...)
solarsystem =
Hi everybody,
I'm facing the following problem with Mongodb.
I've got the following model :
from mongoengine import Document, StringField, DateTimeField
class Author(Document):
name = StringField(max_length=50, required=True)
first_name = StringField(max_length=50, required=True,
un
This sounds like a good fit for an inclusion tag. Since you need a bit of
markup around the images for the slider functionality, it'd be nice to keep
that markup in a separate template so you could use the image slider in
multiple places like, say, a post detail page as well as a dashboard. Then,
a
>
> NB : I use Python 3.3.4, mongoengine 0.8.7, Django 1.6.2 and mongodb 2.0.6
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@google
>
> I realized that indexes have not been created by mongoengine :
>
db.author.getIndexes()
[
{
"v" : 1,
"key" : {
"_id" : 1
},
"ns" : "poesie.author",
"name" : "_id_"
}
]
I'm s
Greetings !
Im trying to code a Automated Deploy System to Applications using
Zope/Plone and JBOSS/Java and I am having some issues with LDAP
Authentication.
The authorization is OK, my problem is to make Django "user" know it...
from django_auth_ldap.backend import LDAPBackend
from django.ht
It works if I call insure_indexes() method. I can't understand why. Is
there to avoid it ?
My code that works :
>
> from django.test import TestCase
> from les_classiques.models import Author
> import mongoengine
>
>
> class DatabaseTest(TestCase):
> def setUp(self):
> db = mongoengi
I need to implement a quite simple Django server that server some http
requests *and *listens to a rabbitmq message queue that streams information
into the Django app (that should be written to the db). the data *must* be
written to the db in a synchronized order , So I can't use the obvious
ce
model:
class Dates(models.Model):
this_date = models.DateField()
class Booking(models.Model)
seats = models.IntegerField()
date = models.ForeignKey(Dates)
report view:
this_date = "01-01-2000"
seats = 0
daily_arrivals = []
all = Booking.objects.all()
for a in all:
Could you write a RESTful API in your Django project, and then issue POST
requests to that from a middleman script that the mq could communicate with?
JDB
On Tue, Feb 25, 2014 at 8:28 AM, Alon Nisser wrote:
> I need to implement a quite simple Django server that server some http
> requests *an
I'm still not sure of what you need, so there is something (a process)
sending a message through rabbitmq with data that needs to be written to
the DB, now, this needs to be synchronized, sync with what? an http
request? ordered execution of writes?
Regards,
Carlos Ruvalcaba
On Tue, Feb 25, 2014
Den 25/02/2014 kl. 17.10 skrev MikeKJ :
> model:
> class Dates(models.Model):
> this_date = models.DateField()
>
> class Booking(models.Model)
> seats = models.IntegerField()
> date = models.ForeignKey(Dates)
>
> report view:
> this_date = "01-01-2000"
> seats = 0
> daily
Cheers Erik
I'll look at aggregation as well
Dates model is because it is supposed to operate on a very limited set of
dates
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
Hi,I'm using grappelli and I have two files in it I need to modify:admin/js/SelectBox.js
admin/js/SelectFilter2.jsI thought it would be a good idea to put it into my app static directory:my_app/static/admin/js/SelectBox.js
my_app/static/admin/js/SelectFilter2.jsBut whenever I try ./manage.py collec
2014-02-25 17:18 GMT-03:00 rush :
> Hi,
>
> I'm using grappelli and I have two files in it I need to modify:
>
> admin/js/SelectBox.js
> admin/js/SelectFilter2.js
>
> I thought it would be a good idea to put it into my app static directory:
>
> my_app/static/admin/js/SelectBox.js
> my_app/static/a
On Tue, Feb 25, 2014 at 2:31 PM, Fabio Surrage wrote:
> Greetings !
>
> Im trying to code a Automated Deploy System to Applications using Zope/Plone
> and JBOSS/Java and I am having some issues with LDAP Authentication.
>
> The authorization is OK, my problem is to make Django "user" know it...
>
Wow, that's a great explanation. Thank you, Felipa! wbr,rush. 26.02.2014, 00:52, "Felipe Bessa Coelho" :2014-02-25 17:18 GMT-03:00 rush :Hi,I'm using grappelli and I have two files in it I need to modify:admin/js/SelectBox.js
admin/js/SelectFilter2.jsI thought it would be a good
Hello, I am having trouble getting Django to work. I have installed python
and downloaded and unzipped the .tar file for django. I am using windows 8
ugh and can not open the instal file. I read through the setup.py and I
think I need help setting the correct path. Either moving the Django unzip
Hi Joe,
You shouldn't need to set any paths to install Django. If you open a
command prompt up and navigate to the folder (or hold down shift and right
click in the folder and select "Open Command Window Here" then run the
command "python setup.py install" it will install Django.
Also, I'd highly
I've an app that has to drop into raw sql to run a query in a different
Oracle database. The ORM isn't involved as I'm trying to get a count of
rows that meet specific criteria to return that count via an AJAX call.
Running the identical query in SqlPlus takes ~4 seconds. Django takes ~16
se
Thanks. I believe this is what I am looking for. However I am still running
into an issue w/ the fact that I am pulling my blog entries from the db.
This is causing the template to interpret the {% image_slider %} as a
string.
>From view.py:
def blog(request):
entries =
Project.objects.fil
29 matches
Mail list logo