I'm starting to write tests for my Django project but I'm not sure how to
test a function that calls out to a web API. I read somewhere that I
should not test against the live web api and that I should develop some
sort of replacement for the actual web api server which sounds like a lot
of
I'm sure that this is all obvious to experienced Django developers, but I
thought I'd document what I did for my fellow Django newbies. Again, thanks
to Anton for his advice.
>
In my application directory, I subclassed PasswordChangeForm and
SetPasswordForm. Then I added my custom validation
Hello ! I'm a newbie and i need to setup and configure Postgresql to make
a Django project?
How can I do?
I have installed the postgresql -server and the psycopg2 from yast.
Thanks.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I have Django running on a Windows server with MS Sql using django-pyodbc.
I had Django version 1.4.2 working, and then upgraded to 1.5.1. This broke
django-pyodbc, which I fixed by updating to a fork by 'Gorah'. This got my
old site up and running. I then tried to create a new site, and
I upgraded from 0.8.3 I believe to 0.10.1
actually the problem was that my own installation on my dev virtualenv got
polluted not sure how.
In any case I migrated until the problematic migrations, migrate the
problematic migration with --fake and then simply ran the rest of the
migrations
so far
yes, it looks like they're being responsive with issues in their test suite:
https://github.com/TechEmpower/FrameworkBenchmarks/issues
On Thu, May 2, 2013 at 9:59 AM, Michał Nowotka wrote:
> According to that webpage:
> http://www.techempower.com/benchmarks/#section=data-r4
I have two forms defined in my project:
class BatchForm(ModelForm):
class Meta:
model = Batch
class SelectItemForm(forms.Form):
item = forms.ModelMultipleChoiceField(queryset=ItemClass.objects.all())
One is a ModelForm, the other is a plain form.
I hooked it into my urls like
So adding something like this to my requirements.txt should work?
-e
hg+https://bitbucket.org/ubernostrum/django-registration#egg=django-registration
( Sorry if this very trivial, never have imported something from hg)
-Subodh
On Thu, May 2, 2013 at 12:12 PM, James Bennett
Hi all,
a while after upgrading from Django 1.4 to Django 1.5.1 (using Python 2.6.5), I realized
that I no longer got any of the automatic e-mails that are normally sent when an error
occurs.
Then problem occurs only when HTML emails are sent, sending plain-text emails works
without
Check out the latest hg tip of django-registration, which does not have
this problem.
--
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
I am not certain how one goes about submitting changes to django. But
if I setup my virtualenv with 1.5.1 and import the registration
backend I end up getting error on importing direct_to_template. Which
can be fixed with following code change.
First, is this correct code change? Should this
According to that webpage:
http://www.techempower.com/benchmarks/#section=data-r4 django performance
is really bad comparing to other popular web frameworks. Are there any
plans to change this situation?
Regards,
Michal Nowotka
--
You received this message because you are subscribed to the
Hello,
What version of allauth are you trying to install and where did you get it
from?
https://github.com/pennersr/django-allauth/tree/0.10.0/allauth/socialaccount/migrations
is
the most recent version on pypi and has more than 2 migrations.
Could it be that you have another app installed
Hi All,
How to post data to a url whcih has sslv3 implementation?
Does python "requests" post method supports this?
I have googled a bit, but could not get any proper solution.
Any help or pointers would be appreciated.
Thanks
Vijay
--
You received this message because you are subscribed to
Anton,
Great -- this is exactly what I needed to know. Thanks for the guidance.
Spork
On Thursday, May 2, 2013 7:31:57 AM UTC-7, bak1an wrote:
>
> Hi.
>
> I think that subclassing PasswordChangeForm and doing password length
> check in child's clean method is more "correct" way to do this.
>
>
Hi.
I think that subclassing PasswordChangeForm and doing password length check
in child's clean method is more "correct" way to do this.
Note that contrib.auth's views accept form class as parameter (
The short answer is that if you can use it in Python, you can use it in
Django.
--
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
hi,
I am creating a function inside the views.py, I want to call this
function automatically according to timing which i m using through
apscheduler. how is it possible, please tell me.
my views.py file
# Create your views here.
import simplejson as json
from apps.learning.models
please visit the stackoverflow page for details.
http://stackoverflow.com/questions/16333793/django-how-to-display-actual-objects-in-admin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails
Hello, I'm newbie in Django and pyhton.
Can i use akiban as database in django?
I just find a lot of example of django with mongodb.
Thanks before
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
I think i had stumbled on django-multitenant or django-simple-multitenant
sometime back. I took some ideas from there and implemented my own version
of custom multi-tenancy.
On Wed, May 1, 2013 at 8:31 PM, Dan Gentry wrote:
> Something I'm looking forward to learning as
21 matches
Mail list logo