Yes, I can see tastypie is a good service, that even support REST protocol.

But I'd firt basically implement my gui with django and when i will master
well django, i could use tastypie, and turn my server to support REST, it
will be a good thing.

But please let's keep using only django for the begining.

Thanks.

2012/5/13 Alireza Savand <alireza.sav...@gmail.com>

> https://github.com/toastdriven/django-tastypie
>
>
> On Sunday, May 13, 2012 2:14:36 PM UTC+4, Eugene NGONTANG wrote:
>>
>> Hi!
>>
>> I'm a python developper, but new in django.
>>
>> I'm devolopping a multi clients-server application.
>>
>> The server and the clients are communicating via sockets, The server
>> receive somme states from clients, and display them in the User
>> interface.
>> In the other hand, the server has to send a message(packet) to the
>> client when an event  occurs in the GUI, and data are stored in a
>> database.
>>
>> Then I choose to make a web interface where data could be viewed and
>> manipulated. And I discovered Django, which fit all my needs. I tested
>> and liked the framework.
>>
>> My questions are:
>> - Can I override the djando admin methods so that i can not only
>> customized my views and html page, but also manipulate objects in
>> database, so that i can do another action when catching an  event in
>> the GUi.
>> For example, taking the django admin tutorial, I would like to do and
>> action like sending a message the user choose "add a poll". How can I
>> do those things? Cause I noticed that method that alter data in data
>> base are part of django admin module and cannot be overriden
>>
>> - To achieve what I want, i would like to run my server engine and my
>> django admin in two separated threads. How do i run my admin module in
>> a thread? Cause till now i'm using the command line "python manage.py
>> runserver"
>>
>> - I also tried to overide tables name, and foreign keys names. Could
>> you guys provide me a true life example?
>>
>> - And now in the production step, I would like you guys to tell me
>> what to choose for serving files. I would like to with your experience
>> what's better between running a unicorn server or apache with mod_wsgi
>>
>> I don't know if i'm clear, but i hope. In brief I'd like to use the
>> django framework features to design my Gui like i want, customize
>> interactions between the gui and the backend, and choose a good web
>> server for the production.
>>
>> Thank you for advance
>
>  --
> 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/-/uZMPKqBO1JcJ.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
ngont...@epitech.net
sympav...@gmail.com
------------------------------------------------------------
*Aux hommes il faut un chef, et au** chef il faut des hommes!*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to