-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've been using django-mptt in my project for a while now, it's fabulous. Recently, I've found a need to override a model's save() method that uses mptt, and I'm getting an error when I try to save a new instance of that model:
Exception Type: ValueError at /admin/scrivener/page/add/
Exception Value:…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm getting the error:
Exception Value: (1110, "Column 'about' specified twice")
As I was reviewing the Django error page, I noticed that the customizations the model User, seem to be appended to the List twice.
This seems to be happening here in django/db/model/base.py in base_save():
values…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I've been struggling to deploy Django application on Amazon EC2 using Bitnami Djangostack for the last couple of days. When I go to http://dewey.io I see the default bitnami page (/opt/bitnami/apache2/htdocs/index.html), however, when I open http://dewey.io/portnoy, I get 'Internal Server Error'…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
when i run development server it works very well, even an empty project runing in mod_wsgi i have no problem but when i want to put my own project i get an Internal Server Error (500)
in my apache conf i put
WSGIScriptAlias /codevents C:/django/apache/CODEvents.wsgi
<Directory "C:/django/apache">
Order…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
when i run development server it works very well, even an empty project runing in mod_wsgi i have no problem but when i want to put my own project i get an Internal Server Error (500)
in my apache conf i put
WSGIScriptAlias /codevents C:/django/apache/CODEvents.wsgi
<Directory "C:/django/apache">
Order…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello, i Have a problem with i18n, using webpy.
I have followed this : http://webpy.org/cookbook/i18n_support_in_template_file
So, in my .wsgi there is :
#i18n
gettext.install('messages',I18N_PATH,unicode=True)
gettext.translation('messages',I18N_PATH,languages=['fr_FR','en_US']).install(True)
So…
>>> More
-
as seen on Ask Ubuntu
- Search for 'Ask Ubuntu'
I've been having an issue with 'sudo apt-get update' for several days now. I've tried every proposed solution I could find but to no avail. Here is the output to 'apt-get update'.
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
we are in admin generator in filters in field. What is the most clearest way to translate is empty label under form fields?
I've solve it by own setWidgets and setWidgets in BaseFormFilterDoctrine witch extend the parent methods by translating that is empty( empty_label ).
setWidgets - translate…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
im trying to find a php framework to build small,multilingual sites.
do you know a php framework with support for:
1.sqlite (it will be little sites so no performance problem and good for copy-paste from development to production)
2.orm
3.i18n & l10n
4.easy search addon
5.ability to just…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Does the time always come after the date, with a space in between, in every culture on earth?
i see that Microsoft FCL assumes that it does:
public string get_FullDateTimePattern()
{
if (this.fullDateTimePattern == null)
{
this.fullDateTimePattern = this.LongDatePattern + " " + this…
>>> More