I want to select some particular table from database in a drop dowan. Then
import csv file. edit that file and update. . Can Any one can help me plz
i am using the fallowing code for that
View
script
jQuery(function() {
jQuery('#table').change(function() {
You can use labda function in your db
Field('companyField name',db.linked table name, represent=lambda c,
row:field name of linked table(c),
requires=IS_IN_DB(db,'field.id','%(patient)s')),
On Wednesday, 26 June 2013 10:36:03 UTC+5:30, Tom Russell wrote:
Another question on the smartgrid.
Hey Massimo,
I tried asking a question about Heroku but it wasn't approved. Should I be
following these instructions now?
On Thursday, November 29, 2012 7:41:45 AM UTC-8, Massimo Di Pierro wrote:
FYI (from web2py-developers)
Hello everybody,
At PyCon Argentina I met Craig Kerstiens from
Hello guys,
I am new here.
Is there a full e-commerce web2py app like Sachmo, LFS, Cartridge
(Mezzanine) or oscarCommerce?
Is there a blog app?
I would be glad if you have live site examples.
Thanks in advance,
--
---
You received this message because you are subscribed to the Google
I would like to suggest a generic query which could allow queries within
the DAL framework for functions supported by the database but not web2py's
DAL by feeding in the raw query as would be expected in SQL native to a
particular database. While DAL hides alot of subtle differences in
Thanks for letting us know.
On Tuesday, 25 June 2013 15:31:30 UTC-5, peibol wrote:
Excuse me for the monologue, but it can also be useful for somebody.
The thing was that I was accesing the deployed app via https. Doing so,
chrome disabled js, and the weird thing is that in Firefox it
You have a choice already. You can import any library you like and use that
for encryption. The issue is making the default choice more easily
available. A built-in web2py faction cannot have a parameter to choose the
encryption algorithm because web2py only comes with AES.
On Tuesday, 25 June
Can you show an example of how you plan to use something like this. I
believe there is already a method
db(Expression(db, ... raw query ...)).select()
perhaps I do not understand.
On Tuesday, 25 June 2013 22:36:45 UTC-5, Calvin wrote:
I think it would be nice to specify custom operators
http://www.phi-node.com/2013/06/how-fast-can-we-make-interpreted-python.html
https://github.com/rjpower/falcon
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
I am thinking of building one as part of my business. Just starting to
look if there are others in Web2py as that's what we use for business. :)
BR,
Jason
On Wed, Jun 26, 2013 at 1:53 AM, paulo.sobrinh...@gmail.com wrote:
Hello guys,
I am new here.
Is there a full e-commerce web2py app
There is a major change upcoming in web2py 2.6 (which can be tested in trunk).
The change involves a better rewrite of web2py.js agreed upon the developers
and implemented by Niphlod.
Because of this change applications which use components will break unless you
upgrade the old web2py.js with
@Niphlod,
Thanks very much for your solution. Implemented it, it works -- no errors
when inserting/updating data.
However, one thing I don't fully get: the data I store using the encryption
are displayed as normal strings in the database. I'm not very familiar with
encryption specifics but
Hi Niphlod,
I reviewed your code, in your test method you have:
form = SQLFORM.factory(
Field('an_integer', 'integer'),
Field('upload_1', 'upload', uploadfolder=upf),
Field('upload_2', 'upload', uploadfolder=upf),
table_name='an_entry'
)
i don't want two
just handle it outside web2py. Building a form with SQLFORM changing the
widget at your will is not going to work.
it's like you asking for a checkbox field but using a textarea to do
it.it doesn't make any sense...
Maybe we'll have in the future an upload mapped to a list:string (sounds
if you're inspecting your db with web2py then of course you have all in
clear that's the whole point of the filter_in and filter_out methods,
being transparent.
Try to inspect your database with an external tool instead.
On Wednesday, June 26, 2013 12:19:24 PM UTC+2, lesssugar wrote:
I'm testing
Ovidio Marinho Falcao Neto
ITJP.NET.BR
ovidio...@gmail.com
83 8826 9088 - Oi
83 9336 3782 - Claro
Brasil
2013/6/26 Massimo DiPierro mdipie...@cs.depaul.edu
There is a major
Ok, thanks. I would be great if upload would be mapped to list.
On Wednesday, June 26, 2013 12:34:38 PM UTC+2, Niphlod wrote:
just handle it outside web2py. Building a form with SQLFORM changing the
widget at your will is not going to work.
it's like you asking for a checkbox field but
I have one more question, is it possible to disable this uploading feature?
I thought i can add attachment field manually in my form, not
trought SQLFORM.factory, but if i add this field manually, i still get an
error. This basically means that if i want to have multiple uploads the way
i
Yes, I inspected the data with psql - they're indeed encrypted. Again,
thanks.
On Wednesday, June 26, 2013 12:35:54 PM UTC+2, Niphlod wrote:
if you're inspecting your db with web2py then of course you have all in
clear that's the whole point of the filter_in and filter_out methods,
Hi Massimo
I am not familiar with the method you suggested but when I tried it, I got
the following error:
print db(Expression(db,business_view.loc
ST_MakeEnvelope(42.179139323652443, 141.20906066894531, 42.307520083522473,
143.34776306152344))).select().as_list()
NameError: global name
Hi there!
I've some issues deploying web2py to a shared hosting environment.
I created an application within the web2py environment. Referred to
official
Docshttp://web2py.com/books/default/chapter/29/13?search=cgi#Shared-hosting-with-mod_python
I
put the whole web2py folder in a folder
Fixed the typos and this is the part where I get stuck. It prompts me the
data validation error Value not in database. I see the values in the
checkboxes.
db.define_table('finish',
Field('name'),
Field('abbr'))
db.finish.name.requires = IS_NOT_IN_DB(db,db.finish.name)
Hi,
I have an api.py module which is the interface to my restful api. Currently
I have to do the following to extend my api:
def common(obj):
response.view = 'generic.json'
response.headers['Content-Type'] = CONTENT_TYPE_JSON
def GET(*args,**vars):
return
I think this is a note that must be highlighted before releasing as
stable, right?
On Wed, Jun 26, 2013 at 7:14 AM, Massimo DiPierro
mdipie...@cs.depaul.edu wrote:
There is a major change upcoming in web2py 2.6 (which can be tested in trunk).
The change involves a better rewrite of web2py.js
ETA is more or less 1 year on this :-P
However, yes, it will be promply highlighted (and maybe in the far distant
future web2py.js will be overwritten automatically ).
On Wednesday, June 26, 2013 1:36:07 PM UTC+2, viniciusban wrote:
I think this is a note that must be highlighted before
More generally, we should probably make it more clear that web2py.js is
properly a part of the framework and must be upgraded whenever the
framework is upgraded (this could be mentioned
herehttp://web2py.com/books/default/chapter/29/14#Upgrading,
and maybe a reminder message could be shown in
You must use routes.py to redirect /app/controller/$anything to
/app/controller/common/$anything
On Wednesday, 26 June 2013 06:30:46 UTC-5, Daniel Gonzalez wrote:
Hi,
I have an api.py controller which is the interface to my restful api.
Currently I have to do the following to extend my
That is dangerous. What if people rely on an older version of have edited
it? I think it is part of the specs that web2py upgrades do not touch the
apps. Moreover, what if an old app is installed after an upgrade?
On Wednesday, 26 June 2013 07:10:16 UTC-5, Anthony wrote:
More generally, we
Hi,
I found a project called eStore (https://code.google.com/p/web2py-estore/),
but it seems that has not being updated for a while and there are some
important features missing.
Dear all,
Is there any other web2py ecommerce project?
Learnt also that http://rockiger.com was developed with
Hi there,
I'd like to get web2py running on a shared hosting environment. Referred to
the official
Docshttp://web2py.com/books/default/chapter/29/13?search=cgi#Shared-hosting-with-mod_python,
I've created an folder htdocs. In this the folder web2py contains the
whole web2py framework
I have tried routes.py with the builtin server - works fine.
Afterward I went to another computer, which runs Apache.
I want
- https://contr1.mydomain.com to route to
https://myapp.mydomain.com/contr1
- https://contr2.mydomain.com to route to
https://myapp.mydomain.com/contr2
-
On Wednesday, June 26, 2013 3:19:23 PM UTC+2, Massimo Di Pierro wrote:
Moreover, what if an old app is installed after an upgrade?
it won't work, plain and simple.
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe
Using the browser developer tools, what URL gets requested when the ajax
call is made?
On Wednesday, June 26, 2013 2:44:18 AM UTC-4, Rohitraj Sharma wrote:
I want to select some particular table from database in a drop dowan.
Then import csv file. edit that file and update. . Can Any one
On 26 Jun 2013, at 6:33 AM, Martin Weissenboeck mweis...@gmail.com wrote:
I have tried routes.py with the builtin server - works fine.
Afterward I went to another computer, which runs Apache.
I want
https://contr1.mydomain.com to route to https://myapp.mydomain.com/contr1
Apparently something is not correct as I cannot figure out what the syntax
erro is based on the example you gave here.
This is what I have:
Field('patient name', db.linked patient, represent=lambda c, row:first_name
of patient(c), requires=IS_IN_DB(db,'field.id','%(patient)s')),
On Wed, Jun
On Wednesday, June 26, 2013 9:19:23 AM UTC-4, Massimo Di Pierro wrote:
That is dangerous. What if people rely on an older version of have edited
it?
That's the point. web2py.js is not like the rest of the scaffold (i.e.,
optional and customizable) -- it interacts with the core framework, so
Can you show your three table definitions? The simplest method is just to
specify a format attribute for db.patient, which will be used by any
referencing fields.
Anthony
On Wednesday, June 26, 2013 1:06:03 AM UTC-4, Tom Russell wrote:
Another question on the smartgrid.
I have linked
Hi,
I have a question:
if request.env.request_method == POST:
attachments = request.vars.attachments
if len(attachments) 0:
for attachment in attachments:
image = db.entry_value.upload_value.store(attachment.
file,
db.define_table('patient',
#db.patient.id.readable=False # Since we do not want to expose the id
field on the grid
Field('alternatepid', label='Alternate PID', writable=False,
readable=False),
Field('first_name', label='First Name', requires=IS_NOT_EMPTY()),
Field('middle_name',
db.define_table('patient',
...,
format='%(first_name)s %(last_name)s')
format can also be a function that takes a row object and generates the
desired output.
The format attribute is used to create a default represent attribute
for any reference fields that reference this table.
That is awesome, I did not know that! Just when you think its more
complicated than not, its easy.
So how do I reference that from the dependents table so that in my smart
grid it shows the patients name associated with the dependent?
Thanks
On Wed, Jun 26, 2013 at 10:43 AM, Anthony
+1 Anthony
These days any sophisticated web framework must surely include some JS.
The framework must be able to guarantee which functions will be available
client-side.
If we accept that at least one JS must be part of the framework, then we
can choose whether this should be web2py.js.
Let me clarify. The server is a headless system (actually, a small plug
computer). So, I can access it like this:
Local LAN PC#1: 192.168.xxx.111 - Server: 192.168.xxx.222 . This works ok.
Now, when I ssh tunnel to PC#1 or to Server, I can go to URL:
https://192.168.xxx.222/admin or
Are you suggested web2py.js should be served by a spacial action and not
being part of the applications?
On Wednesday, 26 June 2013 10:21:58 UTC-5, villas wrote:
+1 Anthony
These days any sophisticated web framework must surely include some JS.
The framework must be able to guarantee
I need to add a button to the smartgrid but not like doing create=True
because I have a form factory that has 2 other tables associated with the
one. I know in html I can simply add a line for a button but since I am not
using html for this how would I add a button to that page to reference my
own
Not sure why it says my previous reply has been deleted but here it is
again:
Hi Massimo
I am not familiar with the method you suggested but when I tried it, I got
the following error:
print db(Expression(db,business_view.loc
ST_MakeEnvelope(42.179139323652443, 141.20906066894531,
Just drafting something but here is the problem
My context:
I have 3 tables
table form
table steps
table fields
A form can have many steps
a step can have many fields
This way i can have one form with 3 steps, each with some fields and
another form with 10 steps , each with some more fields.
To group inside a field I do something like this with 3 different tables:
form=SQLFORM.factory(db.patient, db.emergencycontacts, db.dependents)
fs0=form[0][:26] #patient rows
fs1=form[0][26:37] #emergency contacts
fs2=form[0][37:41] #dependents
fs3=form[0][-1] #
How would I do this:
I need to create an appointment for a patient so from my list of patients i
have a link to call another app to do the appointment. I have the link set
so it looks like this:
links = [lambda row: A(T('Create
Appointment'),_href=URL(AppointmentManager,default,
That is a very clever solution.
Saved my day.
Thank you
2013/6/26 Tom Russell t...@caregointl.com
form[0]=TABLE(
FIELDSET(TAG.legend(Patient Info),TABLE(fs0),_id=register0),
FIELDSET(TAG.legend(Emergency Contact
Info),TABLE(fs1),_id=register1),
from gluon.dal import Expression
Anthony
On Wednesday, June 26, 2013 11:53:34 AM UTC-4, Calvin wrote:
Not sure why it says my previous reply has been deleted but here it is
again:
Hi Massimo
I am not familiar with the method you suggested but when I tried it, I got
the following
Saved mine too, got it originally from
http://www.web2pyslices.com/slice/show/1457/adding-fieldset-and-legend-to-forms
On Wed, Jun 26, 2013 at 12:39 PM, António Ramos ramstei...@gmail.comwrote:
That is a very clever solution.
Saved my day.
Thank you
2013/6/26 Tom Russell
Thanks Anthony and Massimo. It all works now!
On Thursday, 27 June 2013 00:42:26 UTC+8, Anthony wrote:
from gluon.dal import Expression
Anthony
On Wednesday, June 26, 2013 11:53:34 AM UTC-4, Calvin wrote:
Not sure why it says my previous reply has been deleted but here it is
again:
Hi
I am using the appointment manager from
https://github.com/mdipierro/web2py-appliances/tree/master/AppointmentManager
.
I have tweaked it to my needs and works well so far but there is an issue
trying to use SQLFORM.grid.
I get an error
type 'exceptions.TypeError' lambda() takes exactly 1
On Wednesday, June 26, 2013 11:33:59 AM UTC-4, Massimo Di Pierro wrote:
Are you suggested web2py.js should be served by a spacial action and not
being part of the applications?
Interesting idea.
--
---
You received this message because you are subscribed to the Google Groups
+1
On Wed, Jun 26, 2013 at 1:46 PM, Anthony abasta...@gmail.com wrote:
On Wednesday, June 26, 2013 11:33:59 AM UTC-4, Massimo Di Pierro wrote:
Are you suggested web2py.js should be served by a spacial action and not
being part of the applications?
Interesting idea.
--
---
You
Thanks Niphlod. I'm intrigued by the diffbook project, so I'll take a look
at your github repo. My main interest is in streamlining my workflow (not
just webdev, but my academic research and teaching as well) around a large
folder of flat files that, when changed, will trigger other events
Take care, I don't know if it has been solve, but I found a memory leak in
this app caused by the way FullCalendar is integrated... I solve the issue
for my own need by using the json feed feature of FullCalendar doing a
simple json feed function returning a well formatted json object with
Letting FullCalendar consume the json feed...
On Wed, Jun 26, 2013 at 1:21 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
Take care, I don't know if it has been solve, but I found a memory leak
in this app caused by the way FullCalendar is integrated... I solve the
issue for my own
Well I updated to the latest fullcalendar and it seems to work good, but do
not know if the memory leak still exists. By any chance could you share
what you did? Also, any chance you added views for week/day in it?
You can see in the example here http://arshaw.com/fullcalendar/ that it has
Another solution can be:
{{extend 'layout.html'}}
h2Education CV/h2 div id='form1'{{=education_form}}/div
h2Student/h2 div id='form1'{{=student_form}}/div
h2School/h2 div id='form1'{{=school_form}}/div
On Wed, Jun 26, 2013 at 12:47 PM, Tom Russell t...@caregointl.com wrote:
Saved mine
Hi Folks,
After update to 2.5.1 I got this message when I try to update a form with
SQLFORM:
type 'exceptions.AttributeError' 'Row' object has no attribute 'bom'
db.define_table('video',
Field('titulo', requires=IS_NOT_EMPTY(), unique=True),
Field('tag', 'list:reference tag'),
hello,
i am beginner in web2py, and my problem is the login
this is the controller:
def index():
user_auth = auth.login()
user_auth.add_button('register me', URL('register_user'))
#if auth.login():on this point i want authentication if the username
and password are
I have this in my db.py model:
## configure auth policy
auth.settings.registration_requires_verification = False
auth.settings.registration_requires_approval = False
auth.settings.reset_password_requires_verification = True
If I register for the application (at %app%/default/user/register), it
Hello all,
I tried to get Gary from Builtwith.com to identify web2py as a framework in
their results. After one month's wait to refresh the cache, it is now
identifying any website using web2py and reports them as such (see screen
shot).
My 2 cents worth of contribution to this great
The memory leak was only perceptible with large dataset... Each time the
calendar view is call there is a memory build up until saturation... So I
gues that it could happen when web2py is not restarted during a certain
periode and calendar view is call many many time with a smaller dataset...
You
I think I cover the week, day, month stuff in your last mail... But it just
a matter of initialize the plugin has you want... Just read the plugin doc
about that...
Richard
On Wed, Jun 26, 2013 at 1:51 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
The memory leak was only perceptible
Ok thank you. I will update the code for everyone once I have it working.
On Wed, Jun 26, 2013 at 1:52 PM, Richard Vézina ml.richard.vez...@gmail.com
wrote:
I think I cover the week, day, month stuff in your last mail... But it
just a matter of initialize the plugin has you want... Just
Ok, I think I solve my issues... I had many issues :
First has you said the compute field were not receive all it needs. I solve
this one like this :
form.process().accepted:
for r in session.rows:
row = db[request.args(0)](r.id)
row.update_record(review='TRUE',
:)
On Wed, Jun 26, 2013 at 1:54 PM, Tom Russell t...@caregointl.com wrote:
Ok thank you. I will update the code for everyone once I have it working.
On Wed, Jun 26, 2013 at 1:52 PM, Richard Vézina
ml.richard.vez...@gmail.com wrote:
I think I cover the week, day, month stuff in your
I'm trying to use WebClient in a pytest suite and getting an error that I
don't understand. I try to connect like this:
client = WebClient('http://127.0.0.1:8000/paideia/default/', postbacks=
True)
client.get('index')
But client.get('index') throws an error. The error arises in
def index():
user_auth = auth.login()
user_auth.add_button('register me', URL('register_user'))
Right after the above, just do:
if auth.user:
session.user_name = auth.user.username
auth.login() not only creates the login form, but it also processes it and
then
thx for the quick answer Anthony,
you save my day
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to web2py+unsubscr...@googlegroups.com.
For more options,
I have the latest web2py and it seems the jquery.mobile interface is not
working. Do you get a similar result?
BR,
Jason
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send
+1 for considering web2py.js as a part of web2py framework, so users should
be requested to update it along with the framework.
How about extending this definition and requirement to appadmin..?
Also - what happens with old apps that have ancient jquery.js? Will new
web2py.js cause a chain of
Not sure if its faster, but you'll write less js code if you use json, and it
makes sense to use the controller to deliver the data in the expected format
that is directly usable. Less js coding works for me!
Margaret, as Anthony suggests, try the json approach. I can post an example
when
This addition of quotes did nothing for me. Somehow the d3 does not load
the url because I get a d3 error that there is no data found.
I can get json to work with this,
json_data = sj.dumps(pt_data)
then in the view,
var jdata = {{=XML(response.json(pt_data))}}
g = new Dygraph(
In your browser developer tools, can you watch the ajax request and see
what web2py is returning?
On Wednesday, June 26, 2013 4:03:47 PM UTC-4, greaneym wrote:
This addition of quotes did nothing for me. Somehow the d3 does not load
the url because I get a d3 error that there is no data
How about extending this definition and requirement to appadmin..?
I don't think any framework functionality depends on appadmin, so you
should be able to keep an old appadmin if you like, but in both the
documentation and the admin interface, we should include a reminder to
update
On Wednesday, June 26, 2013 7:07:33 PM UTC+2, Ian W. Scott wrote:
Thanks Niphlod. I'm intrigued by the diffbook project, so I'll take a look
at your github repo. My main interest is in streamlining my workflow (not
just webdev, but my academic research and teaching as well) around a large
Ah, I get it. That makes sense.
On Wednesday, June 26, 2013 4:32:50 PM UTC-4, Niphlod wrote:
On Wednesday, June 26, 2013 7:07:33 PM UTC+2, Ian W. Scott wrote:
Thanks Niphlod. I'm intrigued by the diffbook project, so I'll take a
look at your github repo. My main interest is in
The DB still works but I can see that in my terminal. Just noticed it. Is
this normal?
--
---
You received this message because you are subscribed to the Google Groups
web2py-users group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
sure that is web2py's database ?
That message is usually outputted when yum (the package manager) database
has something wrong in it.
On Wednesday, June 26, 2013 10:53:25 PM UTC+2, greenpoise wrote:
The DB still works but I can see that in my terminal. Just noticed it. Is
this normal?
--
I was just thinking that some users might have their own functions mixed
together with web2py functions in web2py.js and might not wish to extricate
their work and save it elsewhere.
To overcome that, make a completely different file to be the framework
file. I suggested web2py_framework.js
whoopsie. If that is indeed web2py's sqlite database, follow these steps
http://techblog.dorogin.com/2011/05/sqliteexception-database-disk-image-is.html
On Wednesday, June 26, 2013 11:01:47 PM UTC+2, Niphlod wrote:
sure that is web2py's database ?
That message is usually outputted when yum
yes, thanks, that is what I have been doing, and the web error console
shows when d3 can't read the string. I didn't compile a list of the errors,
but I intend to keep trying with the csv inputs and will post something
when it works. Thanks for all your help.
margaret
On Wednesday, June 26,
I have a model file which contains
from gluon.custom_import import track_changes; track_changes(True)
When I change a module file in the applications/app/modules directory, the
changes don't appear. I have to kill and restart web2py to get the changes.
Seems a simple recipe to follow from
I just have this snippet as the first code (after imports) in my
models/db.py:
from gluon.custom_import import track_changes
track_changes(True)
I don't use the condition that is recommended:
if request.is_local:
I seem to remember having trouble when that condition was present. So I
just
On Wednesday, June 26, 2013 5:21:16 PM UTC-4, greaneym wrote:
yes, thanks, that is what I have been doing, and the web error console
shows when d3 can't read the string. I didn't compile a list of the errors,
but I intend to keep trying with the csv inputs and will post something
when it
See if something in https://github.com/viniciusban/web2py.test helps you.
On Wed, Jun 26, 2013 at 3:21 PM, Ian W. Scott scotti...@gmail.com wrote:
I'm trying to use WebClient in a pytest suite and getting an error that I
don't understand. I try to connect like this:
client =
It sounds good.
On Wed, Jun 26, 2013 at 6:04 PM, villas villa...@gmail.com wrote:
I was just thinking that some users might have their own functions mixed
together with web2py functions in web2py.js and might not wish to extricate
their work and save it elsewhere.
To overcome that, make a
Thanks, that looks really promising. I'll let you know what I come up with
once I've had a chance to look through the repo.
Ian
On Wednesday, June 26, 2013 6:21:55 PM UTC-4, viniciusban wrote:
See if something in https://github.com/viniciusban/web2py.test helps you.
On Wed, Jun 26, 2013 at
just to confirm, ANY javascript piece of code relying on web2py.js
functions will still work as intended. At the end of the new web2py.js
there is a compatibility layer that remaps old function names to the new
ones.
If someone added his own function, e.g. at the end of old web2py.js just
to
I cannot seem to get some jquery code to work right and not sure why.
Basically when I click a checkbox I want another field to appear below that
one.
This is my form code:
@auth.requires_login()
def register_patient():
mark_not_empty(db.patient)
mark_not_empty(db.emergencycontacts)
Try this, you need brackets for your if statements in javascript.
jQuery(document).ready(function(){
jQuery('#no_table_mothers_name__row').hide();
jQuery('#is_newborn').change(function(){
if(jQuery('#is_newborn').attr('checked')) {
jQuery('#no_table_mothers_name__row').show();
} else
Hi Anthony
I am not able to get your question. I have one form controller with one
view. http://127.0.0.1:8000/tracker/default/form when i run this url its
show 404 error.
Actually what is my requirement, I have one csv file. which i have to
upload. Before saving the file in database, i want
This is for fetching data from database
def im():
task=db(db.mydb).select()
return dict(rows=task)
For importing file from database
def import_table():
form = SQLFORM.factory(Field('table',requires=IS_IN_SET(db.tables)),
The fallowing are python file not php. By mistake i write php
On Thursday, 27 June 2013 10:52:46 UTC+5:30, Rohitraj Sharma wrote:
This is for fetching data from database
def im():
task=db(db.mydb).select()
return dict(rows=task)
For importing file from database
def import_table():
On Thursday, 27 June 2013 10:52:46 UTC+5:30, Rohitraj Sharma wrote:
This is for fetching data from database
def im():
task=db(db.mydb).select()
return dict(rows=task)
For importing file from database
def import_table():
form =
99 matches
Mail list logo