What do you expect from None?
On Thu, Oct 4, 2012 at 4:02 AM, Janusz Jaworski wrote:
> Hello. I found probably a little bug or it's just a feature (dunno). But
> my question is why i can't unhide collapsed fields when i use 'None' for
> name of group and use 'collapse' in
I've checked the database contents with sqliteman and the ampersands are
ok, not escaped. Also i've checked the value retrieved of the database with
a custom template tag and logging the value just before sending it to
template, just before sending the data to the template it's correct.
Looking at the instructions for how to use Django w/ shared hosting via
FastCGI at
https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/#running-django-on-a-shared-hosting-provider-with-apache
it includes this line:
RewriteCond %{REQUEST_FILENAME} !-f
That will cause the web server
Hello. I found probably a little bug or it's just a feature (dunno). But my
question is why i can't unhide collapsed fields when i use 'None' for name
of group and use 'collapse' in dictionary in fieldsets. Here is the line of
code and screens:
fieldsets = [(None, {'fields': (('title',
On Thu, Oct 4, 2012 at 1:17 AM, Marc Serra wrote:
> Laxmikant I think you didn't understand my point. I don't want it escaped,
> and escape marks it for escaping. I want to output the contents of database
> RAW, without escaping. Safe filter does this but I found the weird
Hi list!
I have different models with uploaded content. So I made a Media model
with a primary key to ContentType to distinguish to which kind of models
the media belongs. Now I want to upload the media inline instead of
having to add a Media instance first. Can anybody give me a hint how to
do
Hola,
I'm finding that if my inlines aren't defined before use in the
admin.py, I'm getting the following errors:
inlines=('MyModelInline',)
"issubclass() arg 1 must be a class" Errors
inlines=(MyModelInline,)
"name 'MyModelInline' is not defined"
This is a minor issue, easily solved by
I have since upgraded to version 1.4.1 which has resolved this issue.
On Saturday, September 29, 2012 9:19:54 PM UTC-4, Chris Fox wrote:
>
> Hello,
>
> I'm having a strange issue where I get the following exception on my
> production server, but have no issues on my dev machine:
>
> Django
Hi,
I am looking for a way to do something similar to a formset, but
slightly different.
I have a list of students in a class (class as a school subject, not
class in programming) with attendance record objects having a FK to
both student and class, as well as two fields with choices lists
Thank you :) Will check that :)
On Wed, Sep 26, 2012 at 12:35 AM, Bill Freeman wrote:
> When django reads the data back, does it reconvert it to your
> timezone? If so, why is it a problem that it is stored as UTC in the
> database?
>
> On Tue, Sep 25, 2012 at 2:19 PM,
Hi,
I am using Django and mod_wsgi:
I have Use Case that i need to check each item on a list, the point is I am
interesting in the item that result True - once I have it I don't care for
the others (only one can be True), and i want to return it to the client -
so I want to use imap_unordered
Still no difference. I'm starting to take there's something going on with
views.py.
On Wednesday, October 3, 2012 12:45:31 PM UTC-5, Tuss4 wrote:
>
> Thank you for your prompt response. I'll try out your edit. This is what
> my urlsl.py (in the blog folder) looks like:
>
> urlpatterns =
Thank you for your prompt response. I'll try out your edit. This is what my
urlsl.py (in the blog folder) looks like:
urlpatterns = patterns('blog.views',
url(r'^', 'main'),
url(r'^(\d+)/$', 'post'),
url(r'^add_comment/(\d+)/$', 'add_comment'),
)
--
You received this message
Laxmikant I think you didn't understand my point. I don't want it escaped,
and escape marks it for escaping. I want to output the contents of database
RAW, without escaping. Safe filter does this but I found the weird
exception of &, what messes with urls with parameters on them.
Regards,
Marc
Thanks guys. I came across myself across django-modeltranslation and I
must it works very well.
On 03/10/12 16:34, Jair Trejo wrote:
I use django-datatrans for catalog translation, i'ts not perfect but
good enough for me.
El martes, 2 de octubre de 2012 20:09:46 UTC-5, Houmie escribió:
Cheng,
Yeah, there's probably no need to be running sendmail on the Mac
if you only use it as a client machine, not a server that accepts
incoming mail requests from other machines. Just configure Django
to use an SMTP server somewhere in the world that you have rights
to use, like
On Wed, Oct 3, 2012 at 4:31 PM, Elliot wrote:
> Hi guys, thank you sincerely for your feedback.
>
> As far as I know there is just the one instance of python installed:
>
> "
print sys.path
> ['',
The paste you gave us is python 2.4, very old!
My guess is that your old server is 2.4, and your new one is 2.6/2.7 - or
the other way around - that would explain the weirdness.
On your new/old server, paste us the result of just typing 'python' on its
own.
Cal
On Wed, Oct 3, 2012 at 4:31 PM,
I use django-datatrans for catalog translation, i'ts not perfect but good
enough for me.
El martes, 2 de octubre de 2012 20:09:46 UTC-5, Houmie escribió:
>
> Thanks Juan.
>
> Well that is certainly possible. But then we have also some other lookups
> like the country, which is a lookup of 139
Hi guys, thank you sincerely for your feedback.
As far as I know there is just the one instance of python installed:
"
>>> print sys.path
['', '/usr/lib/python2.4/site-packages/PIL-1.1.7-py2.4-linux-i686.egg',
'/usr/lib/python2.4/site-packages/sorl_thumbnail-11.12-py2.4.egg',
So, thank you for the insights. I ended up with a solution that is a mix of
what you've proposed here.
Each time a user logs in, it's current *session validation token* is saved on
the session. It is easy to code this using the `user_logged_in` signal.
Then, I've changed the logic of the code
On Wed, Oct 3, 2012 at 2:39 PM, Cheng wrote:
> Hi Dennis,
>
> I am not familiar with setting up the Mac. How do I check the STMP service
> on the Mac?
>
> I am able to send email through the Mac's Mail application though. The
> outgoing mail server for the Mail application
Then you could come here and test if it's
https://github.com/juanpex/django-model-i18n/
Regards,
On Tue, Oct 2, 2012 at 10:08 PM, Houman wrote:
> Thanks Juan.
>
> Well that is certainly possible. But then we have also some other lookups
> like the country, which is a lookup
We are hiring Python / Django Developers for our Education Business in East
London. Interesting role in friendly SME developing / extending existing
Python application. paul.ca...@gmail.com www.idxtra.com
--
You received this message because you are subscribed to the Google Groups
"Django
A bit of generic advice:
Be sure that you know which python is running your stuff: mod_wsgi,
and IIRC mod_python (if the site really uses it) are bound to a
specific python interpreter. It may or may not be the one where you
installed sorl-thumbnail. One question is whether the:
python
Hi Kobe,
I am not familiar with the Mac's setup.
Do you mean the Mac's Mail application? If so, yes. If not, how do I start
the sendmail program?
Thanks,
Cheng
On Wednesday, October 3, 2012 1:37:45 AM UTC-7, Kolbe wrote:
>
> did you start the sendmail program?
>
> On Tuesday, October 2, 2012
Hi Dennis,
I am not familiar with setting up the Mac. How do I check the STMP service
on the Mac?
I am able to send email through the Mac's Mail application though. The
outgoing mail server for the Mail application is smtp.googlemail.com. The
incoming mail server for the Mail application is
You could also search for "gamification".
https://www.google.com.br/search?q=gamification+%2B+django=gamification+%2B+django=chrome,mod=9=chrome=UTF-8
2012/10/3 Matteo Suppo
> I just wanted to be sure there wasn't already something.
>
> So, since I found nothing, I guess
That's strange, sorl-thumbnail didn't seem to resolve your problem.
First thing I'd do is identify the line of code that is causing this import
problem (do a search for 'sorl' in your code base). From there, identify
some of the function names being called on sorl in your application, and
add
Hi all,
I would like some help or advice migrating an old Django project to a
different platform.
Firstly, I am ok-ish with linux (mainly CentOS), and created basic
websites, MySQL/PHP/HTML intranets, but know next to nothing about Django
or CMS systems in general, so I appreciate that this
Yeah, this debate is borderline silly now.
OP, in a nut shell;
1) It is completely acceptable to revoke all other sessions after a
password change
2) There are many ways to revoke sessions, pick one that is right for your
use case.
3) Whether session revoking is enforced or optional is a choice
On Wed, Oct 3, 2012 at 8:14 AM, Tuss4 wrote:
> This is my first time posting in the Django user group. I've been following
> the following lightbird Django by Example tutorials. I've hit a snag while
> following the blog tutorial (http://lightbird.net/dbe/blog.html). The
Hi All,
I was checking out different option and found django-oscar interesting and
it is frequently updated too. Have anyone tried it out? What is your take
on that project? Is it worth a try?
Thanks and Regards,
Swaroop Shankar V
On Thu, Aug 30, 2012 at 5:06 PM, Swaroop Shankar V
This is my first time posting in the Django user group. I've been following
the following lightbird Django by Example tutorials. I've hit a snag while
following the blog tutorial (http://lightbird.net/dbe/blog.html). The thing
is my comment link [code]
Comments
[/code]
is not linking to the
Replying to myself.
It was oldish version of django-rest-framework that did mangled prefix.
With latest version (0.4.0 in my case) it's fixed.
On Wed, Oct 3, 2012 at 10:29 AM, Jani Tiainen wrote:
> Hi,
>
> since we tried to upgrade our systems to work with 1.4 something very
On Tue, Oct 2, 2012 at 7:50 PM, Cal Leeming [Simplicity Media Ltd]
wrote:
> On Tue, Oct 2, 2012 at 5:23 PM, Tom Evans wrote:
>> I did not say that it was not a desired feature, I said that
>> *personally* I would not have that
did you start the sendmail program?
On Tuesday, October 2, 2012 8:45:38 AM UTC+8, Cheng wrote:
>
> Hi,
>
> I am new to django.
>
> I am following The Definitive Guide to Django SECOND EDITION by Adrian
> Holovaty and Jacob Kaplan -Moss and I cannot get the contact form to send
> mail. First the
I just wanted to be sure there wasn't already something.
So, since I found nothing, I guess I'll start build it. See ya and Thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
Hi,
since we tried to upgrade our systems to work with 1.4 something very
unexpected started to happen:
reverse('my_view_name')
Started to respond with fully qualified URL including domain name. And
since our Django servers are behind proxies and load balancers it
started to create very
39 matches
Mail list logo