-downs and stuff. i just get straight html text without the
java scripting side of it. am i missing another js file that i should
copy? it does work with the "python web2py.py" interface, but not with
apache. so what would be the difference in that?
thanx again, lucas
--
Resourc
of this points to my code, so i believe it is in web2py. or, do i have to
adjust something in my code to compensate for the update. i have cleared all
sessions and copied the web2py.js appadmin.html and appadmin.py into my
applications and made the appropriate changes in apache config files as
oh, btw, the above does not happen under "python web2py.py" but only under
the apache umbrella. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Rep
yes it was/is with 2.8.2, but running only under apache, it is fine with
"python web2py" AND i did erase all session files, as in "rm -rf
sessions/*" which is a hard remove in linux. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
any ideas on this exception and trace? a little anxious about it because
my site is essentially offline. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report
does anyone else have this problem, or is it only me? is there at least
acknowledgement that is is a problem, or is my sanity not in check? should
i change my programming approach in some way or am i missing a handler or
loading of a handler? just waiting on some expert advice.
--
Resources
.
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users"
ng i tried was the fields option on SQLFORM, but that didn't seem
to work.
suggestions? lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
Y
sorry i dropped off the map for a while. my server had a hard hardware
crash and i have been managing its replacement. i think the processor or
motherboard went bad because the memory and HD are testing out ok. i
actually decided to goto amazon's EC2 and i am using centos 6,4 under that.
it
oh yeah, i forgot to mention. i am running multiple domain names and i am
using VirtualHost under apache to redirect to the proper web2py
application. could that be the problem? i am using the session as files,
i like that better then the DB option because, well, i just like it because
it is
ok, here is the snippets of code:
@auth.requires_login()
def worksheet0():
chkSession()
msg = ""
cidi = args_to_int(0) #case id
tCase = db.cases
tSheet = db.case_worksheets
sCase = db(tCase.id==cidi).select().first()
now = datetime.datetime.utcnow()
if not sCase or
de reveals the problem in my approach. thanx in advance and have a
great day. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received th
yes, i thought those lines did absolutely nothing, however, when the
simplest most stripped down code doesn't work and you start adding code in
the hope something will provide a solution.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2p
ok, so centos 6x is the way to go for the most stable, reliable, etc., in
excellence of computing? that is what you are saying, because i really
love centos and have been using it for years. but i have been doubting my
httpd.conf setups for a while because all of those settings and then add in
stom.widget.i2}}
{{=sform.custom.submit}}
{{if sform.errors:
=sform.errors
pass}}
{{=sform.custom.end}}
#end
which is just the opposite of test1a.
try it without the fields option under SQLFORM. you will see the wiping or
nulling of the other fields' data. with the fields o
betting on the right horse.
lucas
On Tuesday, December 24, 2013 9:47:19 AM UTC-5, LightDot wrote:
>
> Ok, so you're using one mod_wsgi / web2py instance and map virtualhosts
> into specific apps within. Looks like a neat solution, but it seems to be
> problematic in the same way Leo
how would you syntax this out properly?
qGrp = db(db.auth_group.id in (4,6)).select()
so i only want to pull records with the id of 4 and 6. thanx in advance,
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
very sweet, thanx anthony, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google
essed by the user so i can redirect
properly?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message becau
ok, i answered my own question. under the check_login function, i was able
to access the request.env.query_string to see the next, after login, URL
and i was able to redirect appropriately. sweet. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
hey everyone,
what is the best way to convert a dict with appropriate key names to a row
of a table?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues
ct(tUser.id, tUser.email, tCmp.ALL,
orderby=tCmp.company_name, left=tUser.on((tCmp.id==tUser.company_id) &
(tUser.id==auth.user.id)))
but why?
anyway, if anyone could help me get the right select statement, i would be
grateful, thanx in advance. lucas
--
Resources:
- http://web2py.com
-
, without the db(), pulls all companies
regardless whether there is a user affiliation or not, the the db() section
filters that further. is that logic correct or not?
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
did, things are much clearer now. thanx again. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed t
to create new login
users. in which case, when he does, how do i direct web2py code to default
the new login to assign that new member, under auth_member to the group_id
of 3, which is Personnel?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (D
i don't understand the myconf.take function. can you explain that? is it
new to web2py? lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
oh, ok, yes, a config file, i get it. nice. i might use that new feature
now. thank you for that. lucas
On Wednesday, November 4, 2015 at 11:26:40 PM UTC-5, 黄祥 wrote:
>
> oopss, sorry, my bad.
> the recent web2py version is adapted appconfig to store configuration like
> (
, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users"
hello one and all,
how do i run an ajax function under an onchange of a select where the
return 4 values will be going to 4 separate other inputs of type text,
select, or textarea?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
ok, i went with qQuery.getJSON. here is how i did it and it works great.
JSON trading is cool. just for sharing:
under the default controller's function, i have a section where i implement
the javascript/jQuery code via an onchange of a select input. the select
input is meant to prepopulate
return frm
so, as i said the form pulls up fine and fills in the DIV. but when i
submit the form, it all just sort of goes blank. i would like it to commit
the insert/edit to the database and then clear the form under the DIV,
maybe leave a message of success under the response.flash or th
hey anthony, thanx for the rapid response. i don't quite get it. will you
point in the direction so i can understand the implementation better?
thank you. you know, i really love programming in web2py. i have a few
years under my belt and it really is an excellent system.
. and when i add a new record, it does
actually work. however, i can not see how to change the args value of the
LOAD function from other areas of the page. you see now i have it
hardcoded at -1. so how can i affect that args value from somewhere else
in the page and then have it RELOAD the co
i don't think any of those videos will answer my question. so how can i
affect that args values of the LOAD from somewhere else in the page,
without reloading the page, itself, and then have it only RELOAD the
contents of the DIV?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Do
thank you anthony, that did it. it is working great. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are
nice job, any idea how to make it a tab delimited file instead of comma?
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this
yes, thank you, that works great. you know i tried to see all of that in
the source code api, but i couldn't find the source code api anymore. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
in_fn.append(_disabled='disabled')
where the error comes in on the last line and is:
TypeError: append() got an unexpected keyword argument '_disabled'
anyway to make this happen and thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web
in_fn.append(_disabled='disabled')
where the error comes in on the last line and is:
TypeError: append() got an unexpected keyword argument '_disabled'
anyway to make this happen and thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web
and you would delete the attribute altogether by?
in_fn['_disabled'] = ''
or, does that simply set the attribute to empty string?
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code
", method: "GET", timeout: packetTimeout}).done().fail(...)
so the ajax always fails. it is just a simple text file on a web server,
you can try it, just returns a bit of text. how come ajax doesn't pull it
and how can i make it pull it?
thanx, lucas
--
Resources:
ok, i think i figured it out. i just had to go with the "
/Lukacs/misc/fscj.txt <http://web.fscj.edu/Lukacs/misc/fscj.txt>" part for
the url because there are some rules where there are no cross-domain
references made.
alright, lucas
--
Resources:
- http://web2py.com
- http:/
2py/jQuery libraries we currently
use in web2py v2.12 or v2.13 for maintenance and simplicity. so what is
the best and most simple method to do this?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source cod
oh, i forgot to mention, that i know how to do an ajax query and pass post
variable to it using web2py. i don't know the best javascript/jQuery
method for creating and displaying the proper HTML code and
inputs/buttons/and such, and then pass the result back to the main parent
page.
--
Resou
so, if you add update=False to the field definition, shouldn't the
unchecked checkbox put in a value of false in the db? because i am still
getting errors upon updating. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
and help.
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-us
is there anyway to direct the printer to print the webpage in landscape
using only HTML, CSS, and/or jQuery, native to our current version of
web2py v2.12 or v2.13? thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
ts final value back in the original
integer input that the c was typed in. make sense? thank you in advance,
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Iss
t: right; }
}
where div.rt is the rotated page when it is sent to the printer but not to
the screen and div.top1 and div.top2 are two divs embedded within div.rt.
very tedious to get right, but i got it to work.
lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
nt='city'),
Field('post', length=11, requires=NE, comment='zip or postal code'),
see what i am trying to do in the bold? i am trying to limit the counties
listed in the subsequent SQLFORM select/options to only those counties that
are in the state.
when i
into the db.py
module. so i changed the request.vars into session, like session.state_id
= state_id, and that worked great.
i am always amazed of how fast and efficiently i can get things done using
web2py. it really is a wonder and wonderful.
thanx massimo. lucas
On Sunday, March 27, 2016 at
function name under the mcp module.
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subs
thanx anthony, you're a expert on those lambda functions. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message becaus
now in my main app, the branching is fine. so i don't think it is a
problem on the server/web2py part, but probably in the static/css or
static/js files probably. i'm not exactly sure how those menu work, but i
love when they do.
so, just informing, let me know. thanx in advance, lucas
nx in advance and have a great day, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the G
yes, that will work quite well. not perfectly because i do have one table
that requires two parallel entries, but this certainly does give an
excellent jump start. thanx anthony, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users"
still no one to weigh in on this one? am i the only one? i feel so lonely
and i am not sure what to do with myself. sorry, just kidding. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com
ok, so how do i instantiate a Row() object. please include the proper
import syntax. thanx lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
i think i figured it out. should be:
from dal import Row
...
row = Row()
i know basic, but sometimes it is hard what modules to import when reading
the API docs. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
ok cool,
so now we know how to iterate through the fields of a table. how can we
grab or get the db.py default value for each field also?
thanx lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
yeah probably, cuz when i upgraded an app, i usually kept the same css and
js and such. so i thought i would over write them from example after i
copied my old app over. not a good idea.
so really, are we getting rid of more than 2 levels in the menu? or is
that just temporary? lucas
ok cool,
so now we know how to iterate through the fields of a table. how can we
grab or get the db.py default value for each field also?
thanx lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https
"If that import fails in the web2py environment, you may have bigger
problems than instantiating a Row. ;-)"
what do you mean by that? lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.go
what could be their reason to get rid of a good function or feature?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you
the replicate the environment. perhaps something with the XMLHttpRequest
cross-domain thing, but this isn't a cross domain? or, HTTP
Authentication, but Part 1 loads fine, but not Part 2? so some advice is
appreciated. thanx in advance, lucas
#part 1
#establish connection and sess
ok, so after a week of zero success trying everything i can think of, i
decided to try using the requests method instead of the above urllib2
method. it worked like a charm and it was less complicated code. i
replicated the above method but in requests as shown below. requests is
probably do
alright, well this has me thinking towards a whole new http server. i just
might do it very soon, especially since it just a yum/rpm package on centos
already. thank you all for your input.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/w
inx/conf.d
files, one for each domain pointing to the proper domain and web2py
application, along with the changes in nginx.conf file?
i've read a lot but it is hard to make sense since uWSGI and web2py are in
the mix now also.
thank you, lucas
--
Resources:
- http://web2py.com
- http://
args[2]]
response.headers['Content-Type'] = 'image/png'
return response.write(data, escape=True)
where you can see i experimented with various "things" to try to get it to
display properly under the browser. i have a test png in the database and
under postgre
so, i've figured out that the entire blob stream is not being fully
retrieved, only 29 of the 5513 bytes are being retrieved:
in my debugging: here is an experimental / expanded of the above function:::
table, id, field, stream, and d are all working. but the d[field] under
stream.write(d[field
PostGreSQL 9 which stores the png as direct raw non-escaped hex. AND i am
trying a direct sql select by using psycopg2 right now. because using the
DAL has been annoying. but i'd love to use it if i could. so i'm open to
DAL methods.
--
Resources:
- http://web2py.com
- http://web2py.com/bo
so this is what i got working wonderfully but using psycopg2 directly
instead of the DAL. AGAIN, i would love to convert this back to the DAL
for seemlessness and grace.
def getbinary():
try:
c = psycopg2.connect("dbname='tms' host='%s' user='%s'
password='%s'" % ('localhost', 'use
thank you, that would be wonderful. where do I open the ticket?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are
hello one and all,
i'm using 2.17.2. under the db DAL, i have a boolean field that defaults
to a checkbox under SQLFORM.grid. how do i change that under Field to
default to a SELECT instead of a INPUT(_type="checkbox")?
thank you in advance, lucas
--
Resources:
- http://we
hello one and all,
the API is tough to navigate. so, i'll ask. SQLFORM element and elements
is very powerful. along with update, insert, and append. but how do you
delete an element, or multiple elements, under an element that you found?
thank you in advance, lucas
--
Resources:
-
hello one and all,
is there a DAL level way to impose a constraint on a single table but
unique on multiple fields within that single table?
thanx in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code
I didn't think so, so I was making sure. I added it under onvalidation
under the controller. and also added it to the Postgres database as a
custom index. thank you for verifying with me. Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://githu
s I
don't know how to implement the admin IDE outside of actually being a
web2py regular admin.
please advise, thank you, Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issu
even with different set, get, and save methods? Lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are
well, I know that web2py is reading a py/txt file and uploading that into
CodeMirror when the page is loaded to be edited under admin. then when
saved it writes it back to the file to update it.
I'd like to get the py/txt from a text field in PostgreSQL table. and then
when its saved, it will
).width() - 36, jQuery(window).height() - (
jQuery('div#form').offset().top + jQuery('div#form').height()) - jQuery(
'footer').height() - 12);
});
{{end}}
{{=form.custom.begin}}
Project Title:{{=form.custom.widget.title
}}Share Code?{{=form.custom.widge
oh, and btw, I have the whole server running off of a $35 Raspberry Pi 3b+,
with PostGreSQL 9, Web2Py 2.17.2, and Nginx. I tricked the wifi of my
institution to let the raspberry access and even though its a local
address, students can access their code and view their results from
whatever dev
comment='Your Zip or Postal Code.'),
Field('gender', length=6, default='FEMALE',
requires=IS_IN_SET(('FEMALE','MALE')), comment='Enter your Gender.'),
Field('input_date', 'date', comment="format -MM-DD&
(update).
thank you in advance. lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Googl
students log into this site i've had. and they type all kinds of crazy
stuff. i don't want to preserve what the students type because students
are inconsistent when they login. so i want to force it to lowercase so at
least i know what is definitely stored in the db.
--
Resources:
- http://
i tried this before and after auth.define_tables and it had no effect:
auth.settings.profile_fields = ['prefix_title', 'first_name', 'last_name',
'gender', 'birthdate', 'zip', 'email']
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (
and i also update web2py from 2.17 to 2.18.5, just in case.
On Monday, April 8, 2019 at 10:20:27 AM UTC-4, lucas wrote:
>
> i tried this before and after auth.define_tables and it had no effect:
>
> auth.settings.profile_fields = ['prefix_title', 'first_name',
opdown-divider"))" line in which
case the exception is: "IndexError: list index out of range". I can not
for the life of me figure out why all the other appends, the appends of the
tuples work but the append with the LI bugs like hell.
thanx in advance, Lucas
--
Resources
ooks/default/chapter/29/05/the-views?search=data-#HTML-helpers
>
> DIV('text', _data-role='collapsible')
>>
>> will not work because "_data-role" includes a hyphen, which will produce
>> a Python syntax error.
>>
>
> Check the solut
oh yes I agree with you. I think you're referring to the 3 in
"response.menu[1][3].append". the list to append to the submenu is the 4th
element, so the 3 is correct.
On Wednesday, April 10, 2019 at 3:41:08 PM UTC-4, Anthony wrote:
>
> Indexing is zero-based in Python, so the index of the thir
attached and thank you. and for the record, I've tried everything I can
think of the for the past few days. and if it turns out I'm just a dumb
butt, then I'm going to be really pissed at myself. lol.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.
web2py™ Version 2.18.5-stable+timestamp.2019.04.08.04.22.03
Python Python 2.7.5: /usr/bin/uwsgi (prefix: /usr)Traceback
1.
2.
3.
4.
5.
6.
7.
8.
Traceback (most recent call last):
File "/opt/web2py_apps/web2py_2-18-5/gluon/restricted.py", line 219, in
restricted
exec(ccode, environment)
alright, so just to be absolutely sure. i copied the layout.html and the
default/index.html files from the 2.18.5 welcome app and stuck them in the
proper places in my app. i still get the same error. i do NOT get the
error if i comment out the separator line, as commented below. here is all
ok, i tried it without the appends, instead just direct:
response.menu[1][3] = [
(T('Dashboard'), False, URL('main', 'students')),
A('', _class="divider"),
(T('Assessments'), False, None),
(T('History'), False, None),
(T('Join a Class'), False, None)
]
where the DIV is added with the class to style it nicely, in which in my
css file I added:
div.dropdown-menu div.dropdown-divider { width: 100%; height: 4px; margin:
3px 0px; background-color: #f0c36d; }
and it works perfectly and looks beautifully. thanx to mweissen his
suggestion
ok, i finally found what was wrong. i didn't realize there were two such
settings. i was using the profile_fields and testing it on the register
screen. so, i have this now under the db.py model:
auth.settings.register_fields = ['prefix_title', 'first_name', 'last_name',
'gender', 'birthdate
n all is good again. i don't remember a lag like this in previous
versions. but i could be mistaken. and i'm not sure what to think about
this right now. just reporting.
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://git
e.flash = 'Generated Tests Errors'
else:
response.flash = 'ok'
I believe I learned that there are only the process-accepted and errors
sections. but I have a condition where its going under the else section
where ok is. what are the causes of a FORM going into
lines of code also.
basically, how to gracefully shutdown an entire app?
thank you in advance, lucas
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You
201 - 300 of 488 matches
Mail list logo