Sprox is a widget generation Python library for creating custom web content directly from database schemas.
Questions tagged [sprox]
7 questions
3
votes
1 answer
Alternate forms libraries on django eg sprox, formalchemy
Has anyone had any joy/pain with using other form libraries in django projects (with SQLAlchemy models initially, but perhaps to use with django models in future)?
Initial impressions are that sprox is more flexible and decoupled but that…

Ben Ford
- 2,087
- 21
- 26
2
votes
1 answer
Turbogears2 AdminController throwing an error with a many-to-many relationship
I'm having an issue with turbogears admin controller throwing an error when I try to edit the User, ShoppingItem or ShoppingList items (code below). The error coming up is AttributeError: 'function' object has no attribute 'primary_key'. The Local…

Sam Justice
- 21
- 2
2
votes
1 answer
Sprox form with Turbogears, using Mako, only displays plain text
I'm generating a Sprox form with Turbogears 2.1 and trying to display it in a Mako template. Here is my code:
To define the form:
class NewUserForm(AddRecordForm):
__model__ = User
newuserform = NewUserForm(DBSession)
The controller…

Marc
- 3,812
- 8
- 37
- 61
1
vote
1 answer
Python / TG2 - Sprox
I am looking into using sprox but I can't seem to find any information about styling the generated form. I am sure its got to be something obvious but i didn't see it in the docs or find anything using a google/google groups search.
Ideally i would…

Ominus
- 5,501
- 8
- 40
- 44
1
vote
1 answer
Hello world of sprox with pyramid - part 2
I've tried to build the simplest possible form in Sprox using pyramid.
# model.py
class Allocation:
# some fields ...
class SproxForm(AddRecordForm):
__model__ = Allocation
sprox_form = SproxForm(DBSession)
#…

pihentagy
- 5,975
- 9
- 39
- 58
0
votes
1 answer
Selecting a row from HTML table and edit/delete it
I have created a html table (using TG2.1 with mako) for a file from MySQL db.
Now I would like to provide for "Edit / Delete" a particular row (record), by selecting that row in table.
Note that I am not using SQLAlchemy, since I am more comfortable…

Vineet Deodhar
- 31
- 4
0
votes
1 answer
The hello world of sprox with pyramid
I've tried to build the simplest possible form in Sprox using pyramid.
# model.py
class Allocation:
# some fields ...
class SproxForm(AddRecordForm):
__model__ = Allocation
sprox_form = SproxForm(DBSession)
# views.py
def…

pihentagy
- 5,975
- 9
- 39
- 58