Most came into contact with the web2py, really impressed by this web framework, individuals feel very good use, powerful management tools Admin and comes with IDE, deployment tools, debugging, web app level of clarity and support GAE applications. The third edition of the official document is to present, http://web2py.com/book
From personal preference, it is not very accustomed to web2py Web IDE that comes with development, learning needs related to the API to find documentation, tools, tips itself does not own the code (this is very accustomed to), I try to introduce them into the Eclipse IDE, the introduction of Python path, and web2py src, but for me, the place is still a little difficult.
Django, install the latest version of the pydev plugin to support Django applications, personal feeling pretty good.
configure windows installation, configuration, after the relevant good, remember the system environment variables in the configuration parameters
URL in related configuration, the configuration has been defined models, may experience the following problems
Undefined variable from import: objects
In view of this undefined variable, you can use annotations ignore, or add the specified global object
Windows -> Perferences -> Pydev -> Code Analysis, select the Undefined, in the "condsider the following nams as globals: (comma separated)"
_, Tr, objects
Use "," to separate the good, adding objects
Personally feel that is due to the dynamic nature of language itself, there is an undefined object (for Eclipse semantic analysis) may not be "friendly", we can exclude such a way to compile Eclipse error.
I think java lovers, any hints for the compiler errors are not acceptable, the first under the django ready to learn first, then come back ready to take a look at web2py, now has his own is not very used to python's web development, huh, huh.
Vim you recommend a good listen, but so far has not been used, in fact, a single py file preparation, I also quite good that comes with IDLE, the Getting Started to write it out first.
Finally, "the lovely python" notes the end of a sentence, "Life is short, I used the Python"
Related Posts of django pydev Undefined variable from import: objects
Internship soon, and the company give me a number of questions, let me seriously think about. I encountered some problems, some not, I check the information from the Internet, and finally put together some answers to questions, I hope that users be able t
As follows: one in Shanghai and Friend (a friend has a server) to Shanghai hosted here, an annual fee of around 4500. Intend to find about five people, along with co-tenant, custodian fees everyone shared. Configuration is as follows: A 4-core CPU in ...
eclipse plug-ins under the RDT Net download http://yehudakatz.com/2007/01/27/my-preferred-rails-development-environment/ http://beans.seartipy.com/2006/08/12/develop-ruby-applications-using-eclipse-ide/ installed version of ruby: http://www.ruby-lang ...
Recent company projects a little space that you intend to take the time to play ROR Start now, to learn while finishing Oh .................. 1. Basic concept of 1.ruby is a dynamic object-oriented scripting language, grammar and flexible, providing ...
Editor article FCKeditor #undefined method `relative_url_root' for #<ActionController::CgiRequest:0x23b026> #There is been a Fix for Rails 2.2 #in the file app/controllers/fckeditor_controller.rb #look for uploaded = request.relative_url_root.to_s+"
call method Please refer to Applies to: Function objects Request Version 5.5 An object calling a method to replace the current object to another object. call ([thisObj [, arg1 [, arg2 [, [,. argN ]]]]]) Parameters thisObj Optional. Will be used as the obj
At Django 1.0 version, the file upload to do a great deal of change, one of a very important point is the introduction of the concept Upload Handlers. Upload Handlers This is Django's Middleware and almost anything can be set in the settings.py file d
Hibernate in the configuration file: <properties> <property name="hibernate.hbm2ddl.auto" value="create" /> </ properties> Parameter Description: validate load hibernate, the authentication to create a database t ...