There is not but I am interested in heling develop something like it.
Massimo
On Saturday, 17 March 2012 07:53:04 UTC-5, Alan Etkin wrote:
>
> Hi. I have been asked to buiild a web site with these features and
> requirements:
>
> -Content managment for universitary students and teachers
> Teac
I have
city_list = [('Huntsville', 'AL'), ('Decatur', 'AL'),
('Anchorage', 'NV'), ('Nome', 'AK'),('Selma', 'AL'),
('Flagstaff', 'AZ'), ('Phoenix', 'AZ'), ('Tucson', 'AZ')]
And I want to list it in HTML.
I don't know what would be the best solution for this.
so Html will
In db.py I set custom login and logged_out messages:
def set_login_message(form):
session.logged_out_message='Succesvol uitgelogd, tot ziens ' +
auth.user.first_name + ' ' + auth.user.last_name
session.flash=T('Succesvol ingelogd, welkom %(first_name)s %
(last_name)s',
dict(first_nam
I think I will just do it with this way..
I created two lists (one is for states,one is for city and state)
And I just compared them by for loops. sorry for newb question as I am
new to python.
On 3월18일, 오전12시21분, Kenny wrote:
> I have
> city_list = [('Huntsville', 'AL'), ('Decatur', 'AL'),
>
I am building something like this using Movu.ca as base for the system. I
will use this on my course www.cursodepython.com.br, Now this course runs
with VIMEO plus and only registered students have access to videos. Now I
will extend with content-types in movu.ca
On Sat, Mar 17, 2012 at 9:53 AM,
I use an older version of that stateful AJAX shell (without any of the
google app stuff) where i can just import dal.py, make a connection string
to a database folder (can use auto_import), then give 'db' to the shell's
environment (its just a parameter) . Then you get cmd line access to a DB
I think that by default that table definition should show the
multiselect widget in CRUD forms. If not, it should be possible to set
it explicitly:
db.mytable.myfield.widget = SQLFORM.widgets.multiple.widget
And you can also create your own custom widgets by declaring a
function that receives fie
Maybe customizing the logout link (by binding it to another url and
after that calling the logout function)
That way you could set the logout message only if the user has logged
out by himself.
On 18 mar, 04:41, Annet wrote:
> In db.py I set custom login and logged_out messages:
>
> def set_login
Instead of the field representation, the row attribute returns the
stored value of the record, as expected.
Probably you can call the field represent functions for the required
behavior if you are not using sqltable
db.Edge.byNodeID.represent(row.byNodeID, row)
db.Edge.ofNodeID.represent(row.ofNod
Bruno, are you planning to release a development version of the
movu.ca courseware as open source? If so, I could contribute, as I
probably will need a production implementation for the next months. I
think that my app would also use the vimeo PLUS product and I am
researching ways of streaming onl
It's work. But changed "username_attrib" instead "username_attrs" at lign
306:
filter = '(&(%s=%s)(%s))' % ( username_attrib,
ldap.filter.escape_filter_chars( username ), filterstr )
Thank szimszon.
Vào 05:15:08 UTC+7 Thứ bảy, ngày 17 tháng ba năm 2012, szimszon đã viết:
>
> Can you ple
Yes, all in Movu.ca will be open-source as LGPLv3, movu.ca was created with
"content" as focus, social features is a plus, but the center of the CMS is
the content, so I need to improve the content-types system to be able to
include content-bundles, a content bundle is like a folder, a group, a
cou
Not that it was the best approach, but when I am hurried and have to
collect data for special db designs, I just customize the input with
SQLFORM.factory and, on form validation, explore the form and do CRUD
accordingly. You could use the multiple widget for the foods field.
form = SLQFORM.factory
Thank you so much Bruno, it seems that is very like what I was
searching, but I'll need to study the Movu.ca project, which is a
complex application.
On 18 mar, 08:25, Bruno Rocha wrote:
> Yes, all in Movu.ca will be open-source as LGPLv3, movu.ca was created with
> "content" as focus, social fea
Dear ALL,
I want To create a multi-Select Field , how can i do that ??
for SQLFORM and CRUD, if the field is of type list:reference , a
default multiselect widget is displayed. You can use your own custom
constraint with IS_IN_DB(). For other type of forms you might
want to use the helper classes for build them
mycustommultiselect = SELECT(*[OPTION(option[0], _value=
sorry, I don't understand your answer. What does mult tenance mean?
There is no description for tenant in the request documentation. When
I access request.tenant in my local app it is None.
On 18 Mrz., 03:09, Bruno Rocha wrote:
> Mult tenance, in web2py you have request.tenant
>
> I use SQLite fo
About "refactor religiously", it's curious, an experienced python
developer stated in PyConAr what I think is the opposite: he said
something like "don't bother refactoring", based in the amount of
projects abandoned that claim to have refactoring in the roadmap.
On unneeded classes, I think that
Someone else interested in writing the subtitles?
On 13 mar, 20:36, Massimo Di Pierro
wrote:
> On Tuesday, 13 March 2012 00:22:39 UTC-5, rochacbruno wrote:
>
> >http://pyvideo.org/video/714/web2py-ideas-we-stole-and-ideas-we-had
>
> > --
>
> > Bruno Rocha
> > [http://rochacbruno.com.br]
It seems to me that we maight have a moodle like plataform writen in
web2py!, good to know...
> Hi. I have been asked to buiild a web site with these features and
> requirements:
>
> -Content managment for universitary students and teachers
> Teachers will upload and edit course documents.
> -Stu
Hii,
I have cloned a project called pyMantis in mercurial in read only mode
and want to install it as a pyMantis app in web2py .what are the next
steps to be followed in windows7 environment to install.
On Sat, 17 Mar 2012 15:03:39 -0700 (PDT), abasta...@gmail.com said:
> Instead, you can use auth.user_id, which
> will simply return None when the user isn't logged in rather than an
> error.
Thanks, that's fixed the problem.
--
"You can have everything in life you want if you help enough other
Field('categories','list:string', default=defaultcategories,
requires=IS_IN_SET(allcategories,
multiple=True), widget=SQLFORM.widgets.checkboxes.widget))
On Sunday, 18 March 2012 12:21:12 UTC, Hassan Alnatour wrote:
>
> Dear ALL,
>
> I want To create a multi-Sele
>
> @auth.requires(auth.has_membership(HUB) or auth.has_membership(ADMIN))
>
>
Instead of the above, use:
@auth.requires(lambda: auth.has_membership(HUB) or
auth.has_membership(ADMIN))
That way, the two db hits for the has_membership calls will only happen
when this specific function is acces
i've found that one :
http://www.web2pyslices.com/slice/show/1446/widget-select-or-add-option
I will try to make a generic adaptatin of that one.
Regards
Bussiere
Le dimanche 18 mars 2012 11:31:23 UTC+1, Alan Etkin a écrit :
>
> I think that by default that table definition should show the
>
Mee to i'am considering using orientdb also.
So if you have any example
regards
Bussiere
Le jeudi 16 février 2012 09:27:55 UTC+1, David Marko a écrit :
>
> I would also appreciate some hints on what libraries do you use to
> communicate with orientDB, or can you create some simple appliance as
Hi Guys,
I run web2py using webserver tornado
python anyserver.py -s tornado -i 127.0.0.1 -p 8000
and sometimes when I browse the administrative site and edit any file, when
I save it the terminal outputs the " WARNING:root:Invalid
multipart/form-data "
I'm using the current stable web2py and
Pymysql and the approach using sockets on EC2/RDS doesn't work. I've tested
connections remotely using the Windows 1.99.4 version and the RDS DB can be
connected correctly, but under the source version on EC2, it fails to
connect. Every SQL client, both remote and local, can connect correctly
e
Thanks for testing. I'll implement a little bit of logging tomorrow than
send a patch to Massimo...
2012. március 18., vasárnap 12:20:24 UTC+1 időpontban IVINH a következőt
írta:
>
>
>
> It's work. But changed "username_attrib" instead "username_attrs" at lign
> 306:
>
> filter = '(&(%s=%s)(%s
On Monday, 13 February 2012 11:54:05 UTC-6, Nolan Nichols wrote:
>
> I'm researching the nosql and graph database landscape for a web2py
> application that will require the schema to evolve over time and
> provide network/graph analysis metrics.
>
> I started by looking at the Tinkerpop (http:
Hi,
Download web2py from web2py.com and follow the instructions to run it
Just copy or move the folder containing models,controllers,views under
the applications folder inside your web2py installation.
mic
Il 18 marzo 2012 16:06, praveen krishna ha scritto:
> Hii,
> I have cloned a project
Let me iterate that writing a DAL adapter does not take much work. All I
need is somebody to commit to do some testing for me.
massimo
On Sunday, 18 March 2012 13:16:31 UTC-5, bussiere adrien wrote:
>
> Mee to i'am considering using orientdb also.
>
> So if you have any example
>
> regards
> Bus
Check for update web2py 1.99.4 does not work, someone has a solution?
Ovidio Marinho Falcao Neto
Web Developer
ovidio...@gmail.com
ovidiomari...@itjp.net.br
ITJP - itjp.net.br
83 8826 9088 - Oi
83 9
But to install an application it should be of .w2p format then how can I
copy or move a normal folder which contains other folders along with
models,controllers ,views which is cloned using mercurial .
On Sun, Mar 18, 2012 at 10:14 PM, Michele Comitini <
michele.comit...@gmail.com> wrote:
> Hi,
>
Thanks for the info.
On Saturday, March 17, 2012 4:11:40 AM UTC+5:30, howesc wrote:
>
> 1. that is how GAE queries works. it's GAE's fault, not web2py's.
> 2. correct. Rows objects are not pickelable. as_list() or as_dict() are
> your friend. this is not just for GAE but all environments i b
hi,
I can write one,
I tried it (some samples), I like its concept and features (key value db,
document db, and graph db, sql queries, full text index support and so on)
but I am waiting for the 1.0 release which is planned to be released in mid
of April according to their roadmap
A mercurial repository cloned can be copied as any other windows
folder, you only have to copy the entire cloned application folder
(that includes controller, model) into your web2py installation
"applications" folder (at the same level as the scaffolding welcome
app), that will be enough for web2p
Hello,
Working my way thru the wiki app demo in the online manual... I kept
getting a weird error like this:
Traceback (most recent call last):
> File "gluon/restricted.py", line 205, in restricted
> File "E:\web2py\applications\mywiki\controllers/default.py", line 31, in
>
> TypeError: r
If I recall correctly, auth.requires_login should be
auth.requires_login() for basic authentication
On 18 mar, 19:21, Monte Milanuk wrote:
> Hello,
>
> Working my way thru the wiki app demo in the online manual... I kept
> getting a weird error like this:
>
> Traceback (most recent call last):>
What does it do? Can you debug the javascript code? (I think it uses
some ajax in the background)
On 18 mar, 18:39, Ovidio Marinho wrote:
> Check for update web2py 1.99.4 does not work, someone has a solution?
>
> Ovidio Marinho Falcao Neto
> Web Developer
> ov
As Alan suggests, you slightly mis-copied the code from the book -- it
should be:
@auth.requires_login()
def documents():
Note the parentheses.
Anthony
On Sunday, March 18, 2012 6:21:54 PM UTC-4, Monte Milanuk wrote:
>
> Hello,
>
> Working my way thru the wiki app demo in the online manual...
which os? We know there is a problem on winodows. Download the latest,
unzip and copy over the older one.
On Sunday, 18 March 2012 16:39:19 UTC-5, Ovidio Marinho wrote:
>
> Check for update web2py 1.99.4 does not work, someone has a solution?
>
>
>
>
>Ovidio Marinho Falcao Neto
>
Dear All,
I am new the web2py and trying to use the relatively new RESTful API,
as described at
http://web2py.com/books/default/chapter/29/10#Restful-Web-Services
I am testing it with a very simple model :
db.define_table('message',
Field('sender', required=True),
Field('recipient', requ
Dear All,
I found a workaround to the problem, I would like to double-check with you what
is the impact in term of performance, maintainability etc ...
Problem described in my previous email is caused by two lambda functions
(update_record and delete_record) returned by
return dict(mess
Hi,
I was trying to use web2py's DAL with Google Cloud SQL on App Engine,
but to no avail. The error seems to be because GAE doesn't allow any
manipulation of its filesystem which web2py's DAL module (gluon.dal)
needs to define a folder attribute (my understanding of the trouble
could be wrong).
Yeah, I am sure there is a line between refactor, rebuild, and work
around.
But this talk was good. He made some good points.
BR,
Jason
On Mar 18, 4:13 pm, Alan Etkin wrote:
> About "refactor religiously", it's curious, an experienced python
> developer stated in PyConAr what I think is the oppo
Hey!
This is amazing, I am working on something similar :)
I had just started so your project will help me immensely decrease
development time. Thanks alot!
Is it possible that we restrict the user from downloading the videos
something like udemy has done?
--
Osama Khan
[http://www.osamakhan.com]
return dict(message = db.message(id).as_dict())
On Sunday, 18 March 2012 19:10:13 UTC-5, sebsto wrote:
>
> Dear All,
>
> I am new the web2py and trying to use the relatively new RESTful API,
> as described at
> http://web2py.com/books/default/chapter/29/10#Restful-Web-Services
>
> I am testing
Hi Alan and Anthony,
@Alan,
This:
{{for row in rows:}}
{{=db.Edge.byNodeID.represent(row.byNodeID, row)}}
{{=db.Edge.ofNodeID.represent(row.ofNodeID, row)}}
{{pass}}
... results in an empty element ...
@Anthony,
> Instead of the above, use:
>
> @auth.requires(lambda: auth.has_
Worked ! Thanks
On Mar 19, 5:50 am, Massimo Di Pierro
wrote:
> return dict(message = db.message(id).as_dict())
>
>
>
>
>
>
>
> On Sunday, 18 March 2012 19:10:13 UTC-5, sebsto wrote:
>
> > Dear All,
>
> > I am new the web2py and trying to use the relatively new RESTful API,
> > as described at
>
50 matches
Mail list logo