I'm using Django 1.5 and I'm trying to make an application work with
any custom user model.
The issue is that I want to be able to test the app as well, but I
can't find a way to make `ForeignKey` model fields to test correctly
using custom user models. When I run the test case attached below, I
As title,when I run my program.I see a message form console as it:
No handlers could be found for logger "XXX"
"XXX" is my source name of program.
How to set the settings.py to deal with it?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Anyone know of a good plugin or javascript/jQuery package that I can
use for a dialog box for navigating and selecting files (just like
when you select "Open File ..." for example)?
TIA!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Good idea! I donated $100. Excellent product. Thanks!
--Fred
Fred Stluka -- mailto:f...@bristle.com -- http://bristle.com/~fred/
Bristle Software, Inc -- http://bristle.com -- Glad to be of service!
Open Source: Without
Django and phpBB3: I was just checking possibilities connectivity between
Django and phpBB.
Maybe *DjangoBB* interest you.
Migration & connection: https://github.com/jedie/django-phpBB3
regargs,
W dniu środa, 13 marca 2013 20:57:33 UTC+1 użytkownik Mike Doroshenko II
napisał:
>
> Django
Thanks a lot :)
You're right.I did not notice it.
Working when add 'atest':
**
or
**
or
when *remove this namespace from project/urls.py*.
regargs
W dniu środa, 13 marca 2013 20:46:41 UTC+1 użytkownik rudyryk napisał:
>
> Hi VVilku!
>
> It should work if you remove `namespace='atest'`
Django phpBB?
I've used phpBB before, and am curious about importing a phpBB forum
into Django.
I am curious what that site is, but when I go there I get nothing :(
VVilku wrote:
Hello,
I have problem with:
Reverse for 'django.contrib.auth.views.login' with arguments '()' and
keyword
When I was talking error messages telling you to contact your system
administrator, I was talking about the error messages in general, not
just specific to Django, ex I had Windows give me such messages.
Tom Evans wrote:
On Tue, Mar 12, 2013 at 3:26 PM, Mike Doroshenko II
Hi VVilku!
It should work if you remove `namespace='atest'` from 'auth_project/urls.py'.
regards,
Alex
///
On Wed, Mar 13, 2013 at 10:14 PM, VVilku wrote:
> No, I dont't. :)
> The attachment in the first post it is my attempt to isolate the problem.
> (assumption
Hi dj-konst!
Static files in production are generally served by web server - Nginx
or Apache or something else. And it's safer to place static files dir
outside of your project dir and use 'collectstatic' command to grab
static files there.
Here are some examples of Nginx config with static
Thanks Frank, will look into this set of openid providers.
Pratik
On Wed, Mar 13, 2013 at 4:28 PM, Frank Bieniek <
frank.bien...@produktlaunch.de> wrote:
> Hi Pratik,
> we have glued something together for openid.
>
> git+git://github.com/openid/python-openid.git@7d65da5987
> django-tastypie
>
Hi, I'm new in django
I use FreeBSD9+wsgi+django (unique host) but meet problems with static
files...
There are sections in Django Documentation 1.5 ( 4.13.4 Serving static
files in production )...
but there is no enough details for me. Where to read about serving static
files in more detals
Actually, that's exactly what I'm trying to do. I have database tables
whose
columns contain TeX fragments. I am trying to generate various file outputs
from database searches - TeX, pdf, etc.
I could construct the tex file on the fly with python strings as you
suggest but
that's rather
No, I dont't. :)
The attachment in the first post it is my attempt to isolate the problem.
(assumption "blog"=="atest")
W dniu środa, 13 marca 2013 14:33:42 UTC+1 użytkownik VVilku napisał:
>
> Hello,
> I have problem with:
>
> Reverse for 'django.contrib.auth.views.login' with arguments '()'
I'm guessing that the POST vs. GET issue was due to a missing CSRF token.
I'm glad you got it working, though.
--
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
[Solved]
Thanks for the help, it helped me solve the problem and is much
appreciated.
I still have a few hiccups, like for some reason I had to change
type:"POST" to type:"GET" for it to workand it doesn't always
work(really bad with IE, better with Firefox).
But I still need to study it
On Wed, Mar 13, 2013 at 4:57 PM, Frank Schima wrote:
>
> Hello,
>
>
> I'm clearly missing something obvious with a ManyToManyField. I just want to
> return a result list for the related table in a View.
>
> So here is my Model:
>
> class Supply(models.Model):
>
> name
On Wed, Mar 13, 2013 at 12:55 PM, wrote:
> Okay - now I directly get server errors, so the Django error handler is
> passed by...
>
It helps if you post the errors.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hello,
I'm clearly missing something obvious with a ManyToManyField. I just want
to return a result list for the related table in a View.
So here is my Model:
class *Supply*(models.Model):
name = models.CharField(max_length=200)
...
class *Tool*(models.Model):
...
supplies
Okay - now I directly get server errors, so the Django error handler is
passed by...
On Wednesday, March 13, 2013 4:25:49 PM UTC+1, Shawn Milochik wrote:
>
> Delete all your .pyc files in your virtualenv.
>
> find /path/to/virtualenv -name '*.pyc' -exec rm -f {} \;
>
> If that doesn't fix
On Wed, 13 Mar 2013 07:01:45 -0700 (PDT)
Ken wrote:
> I would like to write a tex/latex file with django tags in it. Load it
> with the template loader and render it with a context. The problem is
> that my tex/latex file has quite a few '{%' in them. They are
> conventional
Delete all your .pyc files in your virtualenv.
find /path/to/virtualenv -name '*.pyc' -exec rm -f {} \;
If that doesn't fix it, manually delete all Django folders from your virtualenv.
Go to the "lib/python2.7/site-packages/" folder in your virtualenv
and look around.
--
You received
Oops, the *pip install* ends with success, and *django.VERSION* yields
1.5.0 - but after putting a typo into settings.py, the error handler says
(in the browser):
Django Version: 1.4.1
Seems I have some kind of mix between 1.4.1 and 1.5 running?
On Wednesday, March 13, 2013 3:07:33 PM UTC+1,
On Wed, Mar 13, 2013 at 2:43 PM, Tom Evans wrote:
> On Wed, Mar 13, 2013 at 2:01 PM, Ken wrote:
>> I would like to write a tex/latex file with django tags in it. Load it with
>> the template loader and render it with a context. The problem is that my
>>
On Wed, Mar 13, 2013 at 2:01 PM, Ken wrote:
> I would like to write a tex/latex file with django tags in it. Load it with
> the template loader and render it with a context. The problem is that my
> tex/latex file has quite a few '{%' in them. They are conventional in TeX
> for
On Wed, Mar 13, 2013 at 1:33 PM, VVilku wrote:
> Hello,
>
> I have problem with:
>
> Reverse for 'django.contrib.auth.views.login' with arguments '()' and
> keyword arguments '{}' not found.
>
>
> Request Method: GET
> Request URL:
It looks to be an issue with your facebook api "site domain" settings.
This stackoverflow question looks to answer your troubles:
http://stackoverflow.com/questions/7184632/given-url-is-not-allowed-by-the-application-configuration
On Wednesday, March 13, 2013 5:21:55 AM UTC-5, Avnesh Shakya
Works fine, including pip automatically deinstalling Dj 1.4.1 - thanks!
On Wednesday, March 13, 2013 12:04:29 AM UTC+1, Shawn Milochik wrote:
>
> You can just download the tarball and "pip install filename."
>
--
You received this message because you are subscribed to the Google Groups
I would like to write a tex/latex file with django tags in it. Load it
with the template loader and render it with a context. The problem is that
my tex/latex file has quite a few '{%' in them. They are conventional in
TeX for writing readable macros and are used to escape the newline. I
Hello,
I have problem with:
Reverse for 'django.contrib.auth.views.login' with arguments '()' and
keyword arguments '{}' not found.
Request Method: GET
Request URL: http://www.django-phpbb.pl:8000/blog/accounts/login/
Django Version: 1.5
Exception Type: NoReverseMatch
Exception
Sorry,
I've forgot to mention that this is related with Haystack.
On Wed, Mar 13, 2013 at 1:16 PM, Andre Lopes wrote:
> Hi,
>
> I'm trying to use the prepare method on the index to loop a related
> model. But I just can't get it to the "Text" field of the index.
>
>
Hi,
I'm trying to use the prepare method on the index to loop a related
model. But I just can't get it to the "Text" field of the index.
Here is the code: http://dpaste.org/c3b1z/
I'm doing somethinf wrong?
Best Regards,
--
You received this message because you are subscribed to the Google
Thank you,
Getting a 404 on https://github.com/Fantomas42/emencia-django-newsletter
On Wednesday, March 13, 2013 8:37:37 AM UTC-4, psjinx wrote:
>
> Hey,
>
> Have a look at https://www.djangopackages.com/grids/g/newsletter/.
>
> I have used emencia django newsletter previously (
>
Hey,
Have a look at https://www.djangopackages.com/grids/g/newsletter/.
I have used emencia django newsletter previously (http://vimeo.com/16793999
).
Sincerely,
Pankaj Singh
http://about.me/psjinx
On Wed, Mar 13, 2013 at 6:00 PM, frocco wrote:
> Hello,
>
> Does anyone
Hello,
Does anyone know of a simple newsletter app I can add to my website?
Thanks
--
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
On Wed, Mar 13, 2013 at 6:08 AM, wrote:
>
> Question remains how to get current releases of Debian, Python and Django
> running together.
>
As I said in the earlier e-mail, use virtualenv:
https://pypi.python.org/pypi/virtualenv
--
You received this message because you are
Hi Pratik,
we have glued something together for openid.
git+git://github.com/openid/python-openid.git@7d65da5987
django-tastypie
django-guardian
hg+http://bitbucket.org/jezdez/django_openid_provider/@746ab34a974a
django-social-auth
oauth2
# iptools/netaddress tools for the api access based on ip
I have set facebook button for login through facebook on my site, but when
i m clicking on that button, it's showing this error, i m unable to
find,pleaze help me...
I m using 127.0.0.1:8000 as domain name.
Error
An error occurred. Please try again later.
API Error Code: 191
API Error
Thank you, I am going to try the extensions first.
Regards,
Frank
--
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...@googlegroups.com.
Don't understand your dramatic words, of course after purging all depending
packages and running again:
*aptitude install libapache2-mod-wsgi*
everything was installed and worked as before, including python 2.6.
That's what a package system is made for, and why I chose debian in the
first place.
Thanks for reminding about OAuth2.
The API use case I'm currently dealing with includes authenticating my own
clients with my server, not third party apps. Hence Oauth2 seems a bit
weird here in terms of usability since it will ask user for permission to
access the backend service when they visit
On Wed, Mar 13, 2013 at 12:42 AM, frocco wrote:
> I want to run the code below in a file called migration.py
>
3 options:
1) Setup the django environment manually in your scripts:
NO! - THERE IS RESTFUL METHOD OF AUTHENTICATION!
Use OAuth2.
RFC6749. There are a bunch of server implementations for Django. Use
one of them.
On Wed, Mar 13, 2013 at 8:06 PM, Pratik Mandrekar
wrote:
> Thank you for the response!
>
> As Nick & Jani have pointed out,
Thank you for the response!
As Nick & Jani have pointed out, I figured out that there is no RESTFul way
for authentication. Neither is there one good way all clients could access
the api i.e Browsers can use Session Based Authentication while Mobile
clients are better of using API based/digest
Hi Guys,
Updating feedburner actually pulled in a lot of old entries in the
community feed. I am not sure why.
My apologies for pushing this to the feed. Hopefully the feed will
pick up only the new entries from now on.
On Mar 12, 7:44 pm, Shabda Raaj wrote:
> Hi Russel,
>
>
Hola David! :)
I appreciate your attempt and systematic approach :) It might be interesting.
I write web-services using Python and Django since 2008, before that I
worked for some projects in PHP/WordPress/Drupal (less then 1 year
exp.), I've programmed several games in Flash/AS3 (about 3 years
46 matches
Mail list logo