Displaying 20 results from an estimated 2000 matches similar to: "Question on Rails 3 : forms && ORM && ActiveModel"
2013 Aug 01
1
Django 1.5 Upgrade
Anyone here using django on centos.
On my Mac, running python 2.7, I upgraded from 1.4 to 1.5 by doing this:
rm -rf /Library/Python/2.7/site-packages/django
Followed by python setup.py install in the dir I untar-ed Django-1.5.1 to.
This all worked fine.
On a Centos system running python 2.6 I did:
rm -rf /usr/lib/python2.6/site-packages/django followed by the
setup.py install. My django app
2006 Jan 16
2
what is your Django experience?
My organisation is currently looking at Django and Rails.
Has anyone tried Django?
What was your experience?
Do you prefer Rails or Django?
Thanks,
Chris
--
Posted via http://www.ruby-forum.com/.
2007 Jan 30
3
Interesting Framework Speed Test Results. Shows Rails 1.2.1 trailing 1.1.6.
I found this little post over at the Slicehost forums (http://
forums.slicehost.com):
http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-
frameworks/
Speed test between Rails (1.1.6 and 1.2.1), Django (w/wo psyco and
threaded/pre-forked), TurboGears, Symfony, Catalyst etc. Nginx as the
front-end for all of them.
Even though they are simulated numbers I thought it might be
2010 Jun 28
3
Upgrading MySQL
Hi;
I'm trying to install django and got this error:
django.core.exceptions.ImproperlyConfigured: MySQLdb-1.2.1p2 or newer is
required; you have 1.2.1
So then I tried yum upgrade mysql and got this:
No Packages marked for Update
Please advise.
TIA,
Susan
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2012 Aug 05
0
ActiveRecord::Validator vs ActiveModel::Validator
I know that there is an ActiveModel Validator class
https://github.com/rails/rails/blob/master/activemodel/lib/active_model/validator.rb
which is used for the class level validation macros.
But I didn''t find a an ActiveRecord Validator class.
From my understanding in Rails 3, validations have been moved into
ActiveModel to leave ActiveRecord as an ORM.
So now I see this Rails 3 code
2011 Aug 07
1
SQL passdb lookups not working
Hello everyone,
I'm trying to make dovecot do user authentication against a SQL
database. The passwords (managed by Django) are stored as salted SHA1
encoded in hex. I monkey patched Django's password method so that the
password hash is made with <password><salt> (Django does
<salt><password>, the patched method was verified to return same value
as
2017 Dec 05
2
upgrading python
On 12/05/2017 02:45 PM, Kai Grunau wrote:
> On 05.12.2017 14:24, Larry Martell wrote:
>> On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote:
>>> On 05.12.2017 14:05, Larry Martell wrote:
>>>> I am running CentOS 7 and I have python version:
>>>>
>>>> Python 2.7.5 (default, Sep 15 2016, 22:37:39)
>>>>
2014 Mar 21
1
Dovecot/Django authentication
We've got an application in django that has passwords stored in both sha1 and pbkdf2_sha256 form. We need dovecot to be able to authenticate against the django database (we can't modify django to store passwords in dovecot's form, I'm afraid).
Has anyone done a dovecot authentication plugin to support these password forms (and/or any other forms that django supports)?
Thanks-
2006 May 05
1
Date calender instead of selectboxes like in Django
Hi,
please have a look at
http://www2.jeffcroft.com/2006/may/02/django-non-programmers/
especially the screenshot in the middle with the Calender. Instead of
3 selectfields with day, month, year I find this one much more
userfriendly, also having yesterday, today and tomorrow.
Are there plugins for this? I know
http://www.dynarch.com/projects/calendar/ which I often included in my
php-sites, and
2011 Jan 05
1
Place of Django template tags inside of ext3.0 viewport panels
Hello,
Does anyone know where I can find information on using ext3 with Django.
Specifically, I want to place Django template tags inside of a
particular panel in my ext3 viewport... I have tried what is seen below,
but it doesn't seem to work..
var viewport=new Ext.Panel({
layout: 'border',
width:1200,
height:650,
renderTo: Ext.getBody(),
items: [{
2012 Feb 09
2
python26-memcached on centOS 5.5
Hi,
Is anyone here running memcached + python2.6 + django setup on a CentOS 5.5?? Am trying to set one up here and have trouble with the python26-memcached installation.
So far i have installed (via yum):
1.python26
2. python26-memcached
3. libevent
4. memcached-devel
Now when i try to run `import memcache` from the python2.6 shell i get an ImportError: No module
2009 Aug 17
3
Difference Between ROR and Django...
Hi I am the newbie to both Django as well as ROR.... Which one i have
to choose as my carrier one.... And what is the main difference....
Djkango in Python & It is in Ruby..
which one is best to easy learn and about security
Thank you...
--
WithRegards...
K.Ramkumar
Blog at http://fallinlinux.wordpress.com/
contact : 97915 89522
2016 Jan 26
1
CentOS 7 - DNAT with firewalld
HI,
here I have an eMail with connected to a DMZ 10.0.0.0/24 network. This
server holds 10.0.0.87
There are two firewall-hosts one with CentOS 6 10.0.0.10 and one with
CentOS 7 10.0.0.17
The CentOS 6 has the following iptables-rule (extract):
----------------------8<----------------------8<----------------------8<
*nat
-A POSTROUTING -o eth1 -j MASQUERADE
-A PREROUTING -i eth1 -d
2017 Mar 02
2
errors on rebuild
Hi Olly,
Thanks for the detailed response. I hadn’t realized there was a new xapian haystack backend. I’m going to try that but I have some upgrades to do first. Django 1.8, etc.
Thanks,
Ryan
> On Feb 28, 2017, at 3:40 PM, Olly Betts <olly at survex.com> wrote:
>
> On Mon, Feb 27, 2017 at 10:29:46AM -0800, Ryan Cross wrote:
>> I am trying to rebuild an index of 2+
2017 Dec 05
2
upgrading python
On Tue, Dec 5, 2017 at 8:16 AM, Kai Grunau <kgrunau at geomar.de> wrote:
> On 05.12.2017 14:05, Larry Martell wrote:
>>
>> I am running CentOS 7 and I have python version:
>>
>> Python 2.7.5 (default, Sep 15 2016, 22:37:39)
>>
>> I need a newer version of 2.7 to pick up a bug fix. How can I do that
>> (without breaking anything in CentOS)?
>
2012 Sep 12
2
django not picking up template change on CentOS
Don't know if anyone here can help me or not, but here's my problem:
I have a django app. I develop on a Mac, but it's deployed on CentOS.
I've been doing it like this for a long time with no issues. Today I
changed a template on my Mac, and the change was picked up, no
problem. I checked my change into git, went to a CentOS box, pulled
the change down, but django is not picking
2017 Feb 27
2
errors on rebuild
Hello,
I am trying to rebuild an index of 2+ million documents and have not been successful. I am running
Python 2.7
Django 1.7
Haystack 2.1.1
Xapian 1.2.21
The index rebuild command I’m using is: django-admin.py rebuild_index --noinput --batch-size=100000
The rebuild completes but an immediate xapian-check returns this error:
xapian-check ./archive_index
record:
baseB blocksize=8K
2010 Apr 23
2
Blog ruby on rails/Django Fastes made
Hi I''ve got a little quetion.
For school I''ve to make a blog either using ruby on rails or Django.
I''ve to do this at home, install the languages, etc.
I''ve to make screenshots while running the language and blog.
tell why I chose that language and the files i made for the blog.
What would be the fastes way to do this??
Thanks a lot already
--
Posted via
2009 Aug 11
13
I've decided to use Rails... (I hope I made the right decision).
I''ve read a ton of comparisons that compare one framework to another,
and one language to another. There''s so much conflicting advice out
there that it''s hard to know what is best. Did I make the right
choice choosing Rails for my first web project? I guess we''ll see.
The only reason why I''m hesitant is that a lot of the big name sites
use php
2008 Feb 26
3
app stats
Hi
Does anyone know if theres any app unit testing stats available for
any rails apps in comparison with other mvc frameworks, like django or
fusebox?
Thanks
Eoghan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to