first post updated with latest version.
Il giorno venerdì 1 febbraio 2013 21:21:28 UTC+1, Massimo Di Pierro ha
scritto:
Can you post a link to the latest?
On Thursday, 31 January 2013 08:31:53 UTC-6, Paolo Caruccio wrote:
first post updated: replaced following files
db_diagram.html
El viernes, 1 de febrero de 2013 15:50:43 UTC-3, Paolo Caruccio escribió:
Jose. thank you too for the amazing idea to draw a graph of the database.
I take the opportunity to ask you where I can download a working
pygraphviz build for windows.
Tried with this [1] or [2]?
[1]
It may be not directly related to this topic, but I have been thinking
about this for a long time now:
Writing database schemas in python in the model is very simple and
decorative.
Why not make it a declarative format?
This way, it can be designed and updated with this kind of GUI tooling, as
thank you.
package downloaded from [1]
setup.py modified following istructions on [2]
After setup.py install command all worked fine.
Il giorno sabato 2 febbraio 2013 14:03:09 UTC+1, Jose ha scritto:
El viernes, 1 de febrero de 2013 15:50:43 UTC-3, Paolo Caruccio escribió:
Jose. thank
El sábado, 2 de febrero de 2013 13:30:49 UTC-3, Arnon Marcus escribió:
It may be not directly related to this topic, but I have been thinking
about this for a long time now:
Writing database schemas in python in the model is very simple and
decorative.
Why not make it a declarative
There are many problems I can detect in this solution:
1. It is a code-generator - I was aiming for a file-format parser that
implements the code, not generate it, and one that is built-into the DAL
constructor, and uses conventions. I don't really care for
auto-generated-comments, but I would
Would you be opposed to turn this into an admin plugin and allow appadmin
to access it?
On Wednesday, 30 January 2013 15:04:06 UTC-6, Paolo Caruccio wrote:
Massimo,
thanks for the compliments and for the suggestions.
Actually, in my mind the posted code is a sort of appadmin plugin. For
Absolutly not, you are free to do what do you want.
Only one note. The db_diagram.css file is not optimized because it is a
reference for the users which would like customize the theme.
Il giorno venerdì 1 febbraio 2013 17:31:50 UTC+1, Massimo Di Pierro ha
scritto:
Would you be opposed to
Jose. thank you too for the amazing idea to draw a graph of the database.
I take the opportunity to ask you where I can download a working pygraphviz
build for windows.
Il giorno giovedì 31 gennaio 2013 23:11:00 UTC+1, Jose ha scritto:
Very nice. Excellent work Paolo.
Jose
--
---
You
Can you post a link to the latest?
On Thursday, 31 January 2013 08:31:53 UTC-6, Paolo Caruccio wrote:
first post updated: replaced following files
db_diagram.html
corrected CDN links. Now the diagram works on https too
db_diagram.py [please note that you must copy the code within this
first post updated: replaced following files
db_diagram.html
corrected CDN links. Now the diagram works on https too
db_diagram.py [please note that you must copy the code within this file
and paste at the bottom of web2py_app/controllers/appadmin.py]
deleted a print statement
Il giorno
Works nicely!
+1 to adding this into appadmin and moving the static/view files into
admin. It wouldn't need to replace the existing graph model, there is
plenty of space for another button next to it ;)
Regards,
Ales
On Thursday, January 31, 2013 3:31:53 PM UTC+1, Paolo Caruccio wrote:
Very nice. Excellent work Paolo.
Jose
--
---
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, visit
This is really nice. How about we move all the static files and the view
into admin and he have the db_diagram.py code in appadmin just include form
admin? we can do that easily.
you can do
dbs = [db in globals().values() if isinstance(db.DAL)]
to get databases. There is a more efficient
14 matches
Mail list logo