Re: webdav

2015-09-02 Thread James Schneider
On Sep 1, 2015 3:55 AM, "Pawanesh Gautam" wrote: > > whats the use of webdav in django project ? > WebDAV and Django are usually handled separately. Normally WebDAV is hooked directly into the web server. Not to say that Django couldn't offer such services; it would seem easier to do this throug

Re: two modelForm fields to a one model Field

2015-09-02 Thread Leandro Severino
Thanks James. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@goo

Re: How to serve any static directory?

2015-09-02 Thread Yann Salaün
Hi, The main reason I try to serve those static files with django is because I would like to use django to configure the route. Trying to clarify my question: 1. The url (http:///site//) doesn't match the directory name (which could be anything, like `XYZ_html/`). 2. Administrators must be able

Basic M2M Self Reference Through Question

2015-09-02 Thread jeff newburn
I apologize if this is basic and I am just missing something in the django docs. The Django ORM allows you to do a self reference through another table. I understand everything about this process EXCEPT how Django determines which of the foreign keys to use for each side of the M2M relationsh

Django for data management in a no-UI application?

2015-09-02 Thread jsachs
I'm designing a program which was originally meant to be a server application, and I planned to write it with Django. I haven't used Django before, so I've been reading about it to help me think about the design. Now there has been a change in direction. I'm being asked to develop the program a

Re: Django for data management in a no-UI application?

2015-09-02 Thread Rafael E. Ferrero
I don't quite understand very well your use case, but, i think that you can go with REST, maybe?? [http://www.django-rest-framework.org/] -- Rafael E. Ferrero 2015-09-02 16:20 GMT-03:00 : > I'm designing a program which was originally meant to be a server > application, and I planned to write it

Re: Basic M2M Self Reference Through Question

2015-09-02 Thread James Schneider
On Sep 2, 2015 9:51 AM, "jeff newburn" wrote: > > I apologize if this is basic and I am just missing something in the django docs. The Django ORM allows you to do a self reference through another table. I understand everything about this process EXCEPT how Django determines which of the foreign

Re: Django for data management in a no-UI application?

2015-09-02 Thread Avraham Serour
+1 to DRF, you may also use the django admin as a quick CRUD to your data On Sep 2, 2015 10:34 PM, "Rafael E. Ferrero" wrote: > I don't quite understand very well your use case, but, i think that you > can go with REST, maybe?? [http://www.django-rest-framework.org/] > > -- > Rafael E. Ferrero >

Re: Basic M2M Self Reference Through Question

2015-09-02 Thread monoBOT
to be able to diferentiate both follower and following you should define at least in one of those foreigkeys a related_name argument, so you can call back from your user. if you try to do it without related_name django will complain, showing you the error message and addressing you to the solluti

Electronic Notebook (ELN)

2015-09-02 Thread Aref
I am looking for an electronic notebook for general engineering notes. It seems that this would be a good candidate application for Django. Does anyone know if such an application has been written using Django or how difficult such an application would be to write? Thanks. Aref -- You receive

No module named http_client

2015-09-02 Thread Pawanesh Gautam
Hiii, i am getting following issue on my django project : ImportError at /admin No module named http_client please suggest some solution .. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: No module named http_client

2015-09-02 Thread sum abiut
Do you mind explain, what where you trying to do when you encounter this error?? On Thu, Sep 3, 2015 at 2:43 PM, Pawanesh Gautam wrote: > Hiii, > > i am getting following issue on my django project : > > ImportError at /admin > > No module named http_client > > > please suggest some solution ..

Receive post_save signal from another project

2015-09-02 Thread Kishan Mehta
Hi All, I am working on requirement where after user sign up, User model of one app should send some data to another app in different project. For that we are thinking if we can use "post_save" signal on model. Is there any way if I can listen to signal of other porject's app. Regards, -- [im

Re: Strip ArrayField input from admin

2015-09-02 Thread Erik Cederstrand
> Den 18/08/2015 kl. 10.54 skrev Erik Cederstrand : > > Hi list > > I have a model with a field defined like this: > > categories = ArrayField(models.CharField(max_length=32)) > > > This field is accessible via the admin interface, and when I enter > comma-separated values in the charfield