On Sat, 14 Sep 2019 08:14:15 -0700 Suraj Thapa FC wrote
> How to implement Single Sign(SSO) with DjangoAny idea..?
Did you do *any* research at all? https://lmgtfy.com/?q=django-sso
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
base class to
TransactionTestCase, I was able to prevent this behavior.
On Friday, August 25, 2017 at 5:25:03 PM UTC-4, Kurt Wheeler wrote:
>
> I am attempting to write end-to-end tests for my system. To do this I am
> running one container called "workers" as it would normally
I am attempting to write end-to-end tests for my system. To do this I am
running one container called "workers" as it would normally be run during
development, i.e. not via a test runner. I have another container called
"foreman" that is run via a test runner which sets up the tests, sends work
was saying? As far
as I know, a JavaScript solution is the most viable for delivering
real-time content to browsers. Is there another way to do this? Just
curious what your thoughts are.
Kurt
On Wednesday, September 19, 2012 5:09:42 PM UTC-6, Russell Keith-Magee
wrote:
>
> … and, you
Great idea.
It looks like you have a legitimate method for "baking" AJAX into the
Django framework. I will be starting a new Django project in October. I
will try to integrate this.
On Wednesday, September 19, 2012 9:02:44 AM UTC-6, Faraz Masood Khan wrote:
>
> Easiest way to do Ajax in Django:
I've had the same issues. A previous developer used TastyPy for APIs and it's a
nightmare trying to modify them beyond the simple, out-of-the-box
functionality. In its current state, it's more trouble than it's worth.
--
Kurt Pruhs
Utah State University
Information T
or contact you when I start working on the change
audit code
Kurt Pruhs
Utah State University
Programing & Design Team
On Monday, September 10, 2012 1:43:17 PM UTC-6, Cal Leeming [Simplicity
Media Ltd] wrote:
>
> Hi guys,
>
> We have just released a new module that allows for
Solved...
The answer is to not user "pk" as a field in your model. I switch pk
to something else and the serialize and deserialize work fine.
-kurt
On Feb 7, 2:28 pm, Kurt Schwehr wrote:
> class alert(models.Model):
> pk = models.CharField(max_length=10, primary_key=Tru
elf, self._meta.pk.attname, value)
378
379 pk = property(_get_pk_val, _set_pk_val)
On Feb 7, 2:28 pm, Kurt Schwehr wrote:
> Hi All,
>
> I'm attempting to pull data from an older django server (0.9x) into a
> django 1.1.1 app. I get an infinite recursion error with eit
This is using django 1.1.1 with python 2.6 and sqlite3 from fink on
macosx 10.6
Any help would be greatly appreciated.
Thanks!
-kurt
class alert(models.Model):
pk = models.CharField(max_length=10, primary_key=True)
zone_id = models.IntegerField()
first_good_data = models.DateTime
pe_id = pettype.id and
pettype.num_of_legs = 4;
When you have a table with a foreign key then that table is kinda like
an abstract base type. Now just put a table in between pettype and pet
for your many-to-many but the principle is the same.
Kurt
On 2009-10-16, at 12:17 PM, Chip Gra
hat.
Anybody have any ideas about the bug of seeing the debug_toolbar
output (without css/js formatting). I'll file a bug if it's a bug and
not just me not knowing how to write middleware. My middleware
problem? debug_toolbar problem? Django problem?
Kurt
On 2009-10-04, at 2:23 PM,
You could use middleware to do this as I learned last week, but why
not just make a "view" which is only a function.
urls.py:
...
(r'^$', 'views.DomainRootRedirect' )
...
views.py:
def DomainRootRedirect( request, *args, **kwargs ):
return HttpResponseRedirect(
Wow, was that ever easy. Thanks for your help!
Kurt
For future googlers:
settings.py:
MIDDLEWARE_CLASSES = (
...
'redirector.ConstructionFilterMiddleware',
...
)
redirector/__init__.py:
from django.shortcuts import render_to_response
from django.conf import setti
I think I must be doing something fundamentally wrong since this seems
like an easy problem...
I'm building a site, I want all ips not in INTERNAL_IPS to get an
"under construction" page and my internal ips to get the real site.
What I'm trying to do is call the application urlconf via the resol
Hi Guys,
I'm a newbie with Django, and am still unfortunate enough to be running
it on a windows (XP) machine.
I've currently got everything installed (Apache, mod_python, python
2.4, svn etc etc), but when I try to run "manage.py runserver", it
spews out the following traceback.
C:\django_src\
16 matches
Mail list logo