Hi
getting into web development from a C, C++ (non web).
I read and understand quite well the django framework code... but I cannot
grasp yet the object life cycle.
I follow the WSGIHandler and BaseHandler, and seemed to me that at every
single reuqest, the urls is imported, and in that the adm
Hi
I'm trying to post some docs to database, and have some issues associated
that I'm not sure howto implement in django.
class DocNumber(models.Model):
tipo=models.CharField(max_length=2)
Year=models.IntegerField()
Number=modelsIntegerField()
class Doc(models.Model):
Tipo = models
Thank you for your answer, that i managed to achive,
what I want is to display on the admin object list of object B, display
name_B and name_A
Anyway
Thanks
Alex
Terça-feira, 7 de Maio de 2013 13:43:59 UTC+1, Sergiy Khohlov escreveu:
>
> this not hard :
>
> from django.db import models
>
> #
Hi
class A(models.Model):
f1=...
f2=...
f3=...
class B(models.Model)
f4=Foreignkey(A)
f5=...
f6=...
class BAdmin(admin.ModelAdmin)
list_display= (f4,f4__f2,f4__f3) # this does not work
How do I in the list display ob objects B, diaplay some fields from A
linked by the foreig
thanks
Segunda-feira, 11 de Fevereiro de 2013 12:02:13 UTC, Jani Tiainen escreveu:
>
> 11.2.2013 13:38, alexan...@gmail.com kirjoitti:
> > I think taht is for editing a bunch of equal modelsat the same time...
> >
> > I need to edit a 1-many relationship in the same manner admin does.
> >
>
I think taht is for editing a bunch of equal modelsat the same time...
I need to edit a 1-many relationship in the same manner admin does.
thanks
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving
Hi
I need to edit
1->many
->many forms on my pages like in admin, using inlines, but outside admin
can anyone give clues on how to do it
Regards
Alex
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and sto
Hi
I'm starting a big app on Django for Shool management, to replace a Win32
app.
I've roles like teachers, students, admin stuff, ... that have diferent
access.
How should it be developded?
1- an app for each role?
2- some logic in templates?
3- any other
what is the correct aporach to get bi
Thanks
I will follow directions
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/django-users/-/UzXu0Wzm4W0J.
To post to this group, send email to django-users@googlegroup
Hi
I've a big project implemented in Delphi/C++/MSSQL that I want to migrate
to the WEB and Python/Django is my choice.
But I'm getting some dificulties probably due to the backgroud I came from.
1-
I've have several databases One of them is for static tables like zipcodes
Districts countrys, an
Hi,
I just converted a mssql database to sqlite3.
I used the folloing text_factory
con.text_factory = lambda x: x.decode('iso-8859-1').encode('utf-8')
that just converts from latin1 to utf-8
where i browse the tables in python shell it seems everything is fine
and well converted
but when in admi
Hi, I'm a newbie on Django and would like a reference reading on model
fields, form fields and widgets.
For example I want to have a model field called CountryField that
automatically in forms displays as a bombobox with country options.
Furthermore, I want to develop a Zip Code field like the c
12 matches
Mail list logo