Hi, playing around with the django tutorial part 2. The fieldsets
example does not work at all for me. I don't see the fieldsets. No
error displayed. Anyone had this? Using ubuntu 10.04 and django 1.2.3
installed with easy_install not Synaptic.
--
You received this message because you are subscri
Bah stupid me. Use admin.site.register(Poll, PollAdmin) not just
admin.site.register(Poll). Sorry ...
On Nov 19, 10:26 am, Reikje wrote:
> Hi, playing around with the django tutorial part 2. The fieldsets
> example does not work at all for me. I don't see the fieldsets. No
> e
Hi,
I am trying to add a Rich Text Fields to my Django admin app following
this blog post: http://www.beshrkayali.com/blog/2009/02/tinymce-django-admin/
However, I in my custom admin template "base_site.html" the
{{media_root}} placeholder is always replaced with a blank. My
settings.py in the pr
Hi, I am looking into buildout to deploy a django webapp and all it's
dependencies. I find it quite useful even during development because it
forces you to keep track of your dependencies. A question regarding some
best practices. Lets say I have buildout.cfg and setup.py in my project
root and
ndled within a egg file. (Let me
add that I am new to Django/Python deployment :)
/Reik
On Wednesday, April 25, 2012 12:21:25 PM UTC+2, Reikje wrote:
>
> Hi, I am looking into buildout to deploy a django webapp and all it's
> dependencies. I find it quite useful even during dev
Hi, I have a bunch of WebTest's which are using the reverse method
from django.core.urlresolvers to resolve a URL which the test should
call. Example:
url = reverse('webapp_home')
form = self.app.get(url).form
Now I need to add a query parameter to every url. This is to mimic a
Facebook request w
Excellent Daniel, thanks a lot.
On Sep 7, 10:23 am, Daniel Roseman wrote:
> On Wednesday, 7 September 2011 07:49:00 UTC+1, Reikje wrote:
>
> > Hi, I have a bunch of WebTest's which are using the reverse method
> > from django.core.urlresolvers to resolve a URL which t
the original
reverse method in django.core.urlresolvers even though it is calling
the FacebookWebTest constructor before. Any suggestions :)
On Sep 7, 10:23 am, Daniel Roseman wrote:
> On Wednesday, 7 September 2011 07:49:00 UTC+1, Reikje wrote:
>
> > Hi, I have a bunch of WebTest
Hi, I have a test fixture file which I use in unit tests. In some
Models I have date fields defined like this:
models.DateTimeField(auto_now_add=True) for which I don't specify
values in the fixture file (users.json). This works well as part of
testing but when I want to load the fixture into the r
1 3:43 PM, "Reikje" wrote:> Hi, I have a
> test fixture file which I use in unit tests. In some
> > Models I have date fields defined like this:
> > models.DateTimeField(auto_now_add=True) for which I don't specify
> > values in the fixture file (users.json). T
In one of my views, I am doing a call to the Facebook graph API which
is a bit heavyweight and you also need a valid token. I am looking
into ways to use mocking/dependency injection to avoid having to do
this call during view tests. So let's say i have this view method:
def suggest(request, usrid
I would do it server side. Some people might have JavaScript disabled,
so I wouldn't rely on the JavaScript SDK. Does django-social-auth
support OAuth2 for Facebook? I can only see OAuth from the docs.
On Oct 18, 5:18 pm, Vijay Khemlani wrote:
> Hello,
>
> I'm just starting with a project that re
On a side note, I can recommend this book:
http://www.packtpub.com/django-1-1-testing-and-debugging/book
They have an entire chapter for running Django on Apache.
/Reik
On Oct 24, 8:39 am, Roger Marcus wrote:
> I have the django project Mezzanine up and working well. They have done a
> much bett
Hi,
I am using django.Forms for a website. I have a text field which is
not required. Every time it is posted, I do not retain what was
entered in this field, i.e. it should be blank every time the page is
rendered. What is the best way to archive this? Here is the form:
class SuggestionForm(form
Good workaround :) Adding it. Thanks
On Aug 1, 12:05 pm, lokesh wrote:
> hi,
> Use Javascript or jquery .reset() to clear the form fields .
> Lokesh S
>
> On Aug 1, 1:41 pm, Reikje wrote:
>
> > Hi,
>
> > I am using django.Forms for a website. I have a tex
15 matches
Mail list logo