too many values to unpack

2009-07-04 Thread Carlos Eduardo Sotelo Pinto
aker_filter=maker_id, data=None, instance=ProductModel) return render_to_response('helping.html', {'mform': pmform}) please give a hand -- Carlos Eduardo Sotelo Pinto a.k.a. krlos GNULinux RU #379182 || GNULinux RM #277661 GNULinux Arequipa Users Group || Debian Arequ

type object 'MyModel'' has no attribute 'id'

2009-07-04 Thread Carlos Eduardo Sotelo Pinto
ctModelForm(request.POST) if mform.is_valid(): maker = topic = mform.cleaned_data['maker'] path = '/support/helping/product/%s' % maker return HttpResponseRedirect(path) else: pmform = ProductModelForm(maker_filter=ma

Expert System

2009-07-17 Thread Carlos Eduardo Sotelo Pinto
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi peolple some one knows somthing about works about expert system maden on python with django thanks a lot - -- . ''`. Carlos Eduardo Sotelo Pinto ( KrLoS ) ,= ,-_-. =. : :' : Free and OpenSource Software De

Re: Expert System

2009-07-17 Thread Carlos Eduardo Sotelo Pinto
hanks > > > On Fri, Jul 17, 2009 at 11:22 PM, Joshua Partogi > mailto:joshua.part...@gmail.com>> wrote: > > What kind of expert system do you want to know. I think expert > system is a very broad topic. > > > On Sat, Jul 18, 2009 at 10

Re: Expert System

2009-07-18 Thread Carlos Eduardo Sotelo Pinto
ystem with django > > > - -- . ''`. Carlos Eduardo Sotelo Pinto ( KrLoS ) ,= ,-_-. =. : :' : Free and OpenSource Software Developer((_/)o o(\_)) `. `'` GNULinux Registered User #379182 `-'(. .)`-' `-GNULinux Registered Machine #277661\_/ GN

Re: Expert System

2009-07-18 Thread Carlos Eduardo Sotelo Pinto
ert system to take it as a start poit to study about it that's i mean regards > > > - -- . ''`. Carlos Eduardo Sotelo Pinto ( KrLoS ) ,= ,-_-. =. : :' : Free and OpenSource Software Developer((_/)o o(\_)) `. `'` GNULinux Registered User #379182

Re: Expert System

2009-07-18 Thread Carlos Eduardo Sotelo Pinto
ld have added that Django is more like the glue that > connects your code for an expert system for instance) more easily > to html output and databases. An expert system is just one engine you > can slap into it. That's right, I am looking for a expert system joinig the engine and dj

Re: Database connection closed after each request?

2009-07-23 Thread Carlos A. Carnero Delgado
Hi, On Thu, Jul 23, 2009 at 5:24 PM, Glenn Maynard wrote: > Why is each thread's database connection closed after each request? I believe that this is related to Django's shared-nothing-by-default approach. HTH, Carlos. --~--~-~--~~~---~--~~ You

Re: Question about request.user

2009-08-10 Thread Carlos A. Carnero Delgado
Hi, On Mon, Aug 10, 2009 at 4:46 PM, David wrote: > Why request.user.username did not bind to "john" in this scenario? > Anybody knows what caused such a problem? And any ideas how to fix > it? Are you using the same web browser? Maybe two

Re: How to run a static html page as a section of django website?

2009-08-20 Thread Carlos A. Carnero Delgado
will help? More @ http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views-generic-simple-direct-to-template HTH, Carlos. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: auto populating primary key

2009-09-06 Thread Carlos A. Carnero Delgado
red in the form and save it to the > database by overloading the save() method. > > I am looking for pointers. http://docs.djangoproject.com/en/dev/topics/db/models/#overriding-predefined-model-methods HTH, Carlos. --~--~-~--~~~---~--~~ You received this

Re: FileField uploading into an user-specific path

2009-04-28 Thread Carlos A. Carnero Delgado
request.FILES['audio_file'].chunks(): destination_file.write(chunk) destination_file.close() HTH, Carlos. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: FileField uploading into an user-specific path

2009-04-28 Thread Carlos A. Carnero Delgado
Oops, too quick to press reply :o On Tue, Apr 28, 2009 at 11:53 PM, Carlos A. Carnero Delgado > destination_file = open('somewhere based on the user', 'wb+') >  for chunk in request.FILES['audio_file'].chunks(): >      destination_file.write(chunk) >  

Aggregation of field properties?

2009-05-13 Thread Carlos A. Carnero Delgado
;plumbing" (relations) work, I can readily do Site.objects.annotate(downloads=Sum('archive__downloads')) and I'm getting what I expect. But I just hit a roadblock with the size, since it is an attribute of file_system_object. Can I aggregate over a field property? Best regards, Carlos. --~--~

Unintended date to Unicode string conversion

2009-05-23 Thread Carlos A. Carnero Delgado
objects.annotate(hits=Sum('hits__hits'))[0] >>> media_file.title u'This is a media file' >>> media_file.added_on u'2009-05-23 12:06:14.484000' >>> media_file.hits 11 Notice how, after the aggregation and annotation, the added_on

Re: Unintended date to Unicode string conversion

2009-05-23 Thread Carlos A. Carnero Delgado
QLite, is that > what you're using? Yes, that very same combo. But now that you mention it, will try later on Linux with both SQLite and PostgreSQL. Thanks, Carlos. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: Unintended date to Unicode string conversion

2009-05-23 Thread Carlos A. Carnero Delgado
hat than upgrade to a > level of Python that has a better sqlite included: > > http://docs.djangoproject.com/en/dev/ref/databases/#sqlite-3-3-6-or-newer-strongly-recommended I see. Sorry for the noise and thank you both! Best regards, Carlos. --~--~-~--~~~--

OT: running custom management command from cron & Unicode output error

2009-06-06 Thread Carlos A. Carnero Delgado
but I'm getting the same error. Any ideas? Best regards, Carlos. >>> import sys >>> print sys.platform linux2 >>> print sys.version 2.5.2 (r252:60911, Jul 31 2008, 17:28:52) [GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)]' >>> import django >

ModelChoiceField Question

2010-07-28 Thread Carlos Daniel Ruvalcaba Valenzuela
thoughts on this? Regards, Carlos Daniel Ruvalcaba Valenzuela -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to dj

Re: Newbie: how to tell a URL for a page?

2010-07-28 Thread Carlos Daniel Ruvalcaba Valenzuela
: http://www.w3schools.com/jsref/dom_obj_frame.asp The iframe should contain a document object which should contain the URL loaded on the frame. Regards, Carlos Daniel Ruvalcaba Valenzuela On Wed, Jul 28, 2010 at 10:57 PM, BobAalsma wrote: > This question has been in the forum for about almos

Re: Get request path without having a request object

2010-07-31 Thread Carlos Daniel Ruvalcaba Valenzuela
If TEMPLATE_CONTEXT_PROCESSORS contains this processor, every RequestContext will contain a variable request, which is the current HttpRequest. Note that this processor is not enabled by default; you'll have to activate it. Regards, Carlos Daniel Ruvalcaba Valenzuela -- You received this message because

Re: Django IDE

2010-08-04 Thread Carlos Daniel Ruvalcaba Valenzuela
iting tools, it may be the best option but Wing is also preparing it's Django specific features for next release (available in beta builds). Regards, Carlos Daniel Ruvalcaba Valenzuela On Wed, Aug 4, 2010 at 12:27 PM, bagheera wrote: > For python/django development i'm us

Re: intermediate table in manytomany relationship not created

2010-08-05 Thread Carlos Daniel Ruvalcaba Valenzuela
There is an option to default to InnoDB tables on the configuration: http://docs.djangoproject.com/en/dev/ref/databases/#creating-your-tables Regards, Carlos Daniel Ruvalcaba Valenzuela On Thu, Aug 5, 2010 at 12:48 PM, bksfu wrote: > When Django created the above tables, they were created w

Re: Reporting Library??

2010-08-11 Thread Carlos Daniel Ruvalcaba Valenzuela
use templates to generate the report), it is a nice addon which I'm currently using for a project, however, it is very new and the documentation is scarce at best, I had to patch it myself to fix some annoyances [3], but I can recommend this module. Regards, Carlos Daniel Ruvalcaba Valenzuel

Re: Many to many fields to string

2010-08-11 Thread Carlos Daniel Ruvalcaba Valenzuela
://docs.djangoproject.com/en/1.2/ref/templates/builtins/#for Regards, Carlos Daniel Ruvalcaba Valenzuela On Wed, Aug 11, 2010 at 12:53 PM, Wendy wrote: > Hello, > I'm just getting started, and I'm returning a many to many object in > my template: > > p>{{ film.filmmakers.all }} >

Re: IDE for Python/django

2010-09-27 Thread Carlos Daniel Ruvalcaba Valenzuela
. Personally I like PyCharm so far. Regards, Carlos Ruvalcaba On Mon, Sep 27, 2010 at 6:00 AM, girish shabadimath wrote: > actually i use vim for writing python scripts , i wanted IDE to easy my > tasks of writing script (like auto-completion) ,,,i dont want GUI based,,i > prefer  editor like

Re: admin usage

2010-10-29 Thread Carlos Daniel Ruvalcaba Valenzuela
for certain tasks (such as adding data like inventory part numbers) that are not your daily use case o central functionality. Regards, Carlos Daniel Ruvalcaba On Fri, Oct 29, 2010 at 1:55 PM, Frank Wiles wrote: > On Fri, Oct 29, 2010 at 3:13 AM, Alex Kreimer wrote: >> Hi All, >>

Re: admin usage

2010-11-02 Thread Carlos Daniel Ruvalcaba Valenzuela
routing or pinpointing locations. What kind of applications/situations do you find more suited for reusing the admin module? Regards, Carlos Ruvalcaba On Tue, Nov 2, 2010 at 12:12 PM, derek wrote: > I always had the opposite impression. The Admin can be modified quite > extensively to

Re: ReportLab and Django - templates? ; FK object has no attribute split

2010-11-19 Thread Carlos Daniel Ruvalcaba Valenzuela
There is also template2pdf which is basically and RML subset interpreter, you write your RML from a django template and pass it to a function from template2pdf which will generate a PDF from it. http://code.google.com/p/template2pdf/ That is what we are using, I have even contributed a few patche

Re: database relationships, many to one

2010-11-20 Thread Carlos Daniel Ruvalcaba Valenzuela
ngth=60) head_gender = models.CharField(max_length=2, choices=GENDER) Regards, Carlos Ruvalcaba On Sat, Nov 20, 2010 at 6:19 PM, Bruno Amaral wrote: > I have been trying to create a database for Universities, Departments > and Courses. > > The idea is that a University has many

Re: database relationships, many to one

2010-11-21 Thread Carlos Daniel Ruvalcaba Valenzuela
here is throwing you the error, but with the above change should do the trick, just don't forget to remove your ManyToMany departments definition on University model, that would make the name university.department clash. Regards, Carlos Ruvalcaba On Sun, Nov 21, 2010 at 7:10 AM, Bruno Amaral

Re: User additional profile

2010-11-23 Thread Carlos Daniel Ruvalcaba Valenzuela
What you want is to add more field to the User model, the common way to do this is to create an UserProfile model which will be linked to a given user, check the documentation on the django book on this: http://www.djangobook.com/en/1.0/chapter12/#cn222 Regards, Carlos Ruvalcaba On Mon, Nov 22

Re: Slow page load performance with a large number of formsets (over 25)

2022-02-26 Thread Carlos R. Pacheco F.
The solution is to use select2 with ajax El vie, 25 feb 2022 a la(s) 19:58, Jacob Greene (jacobgreene1...@gmail.com) escribió: > If you're using model choice fields, it's very likely you are making an > SQL query for each form set. It should be pretty obvio

- CRUD To Learning

2022-05-03 Thread Carlos Alberto Gonçalves Pereira
Hello Do you have a step by step to learning to programming with Django? Carlos -- 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-user

Re: New way to run your Django projects

2012-03-19 Thread Carlos Daniel Ruvalcaba Valenzuela
it up, I will personally give it a try! Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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 thi

Re: find django template developers

2012-03-21 Thread Carlos Daniel Ruvalcaba Valenzuela
There is also djangopeople.me where you can directly find people and it is free. I'm not affiliated to them in any way but I have had jobs before from people cold calling me after finding me in djangopeople. Regards, Carlos Ruvalcaba -- You received this message because you are subscrib

Re: I need a programmer Python Django

2012-06-14 Thread Carlos Daniel Ruvalcaba Valenzuela
I work with a freelancer group with a focus on django/python clients, we can send you a quote if you can tell us more about this project. Drop me an email to either: clsdan...@gmail.com clsdan...@blackchairsoft.com Regards, Carlos Ruvalcaba Blackchair Software -- You received this message

Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
Try Hetzner in Germany, they are a solid hosting company with reasonable prices, their dedicated hardware is well know for being a great value. http://www.hetzner.de/ On Sat, Jun 16, 2012 at 1:24 PM, sjtirtha wrote: > Hi, > > can somebody recommend a good and cheap web hosting for django and > p

Re: Django and PHP webhosting in Germany

2012-06-16 Thread Carlos Daniel Ruvalcaba Valenzuela
with medium load, but thats where my limited experience with them goes as we mostly have servers in america. Regards, Carlos Ruvalcaba On Sat, Jun 16, 2012 at 2:06 PM, sjtirtha wrote: > thank you carlos. For me the options are only virtual server and > webhosting, because the other i.e. root

Re: Is upgrading to a newer Django version generally hassle-free?

2012-07-13 Thread Carlos Daniel Ruvalcaba Valenzuela
On Fri, Jul 13, 2012 at 1:14 PM, sadpluto wrote: > I have is whether transitioning to newer versions of Django > is generally easy and well documented. I can only imagine that it is, but I > haven't found convincing evidence while searching online. It would be great > to see what's the consensus

Re: To Use or Not to Use the admin backend

2012-09-04 Thread Carlos Daniel Ruvalcaba Valenzuela
de of rolling your own. Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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

Re: If anyone needs a Django pay check

2011-09-10 Thread Carlos Daniel Ruvalcaba Valenzuela
Following the thread, we at Blackchair Software are also looking for django developers in the near future so if anyone would like to send their resume. Regards, Carlos Daniel Ruvalcaba Blackchair Software -- You received this message because you are subscribed to the Google Groups "D

Re: Don't understand still

2011-10-15 Thread Carlos Daniel Ruvalcaba Valenzuela
Perhaps the problem lies on the view code, are you passing the query data to the template? Is que query returning any data? Try posting the relevant code from your views. Regards, Carlos Ruvalcaba El 15/10/2011 14:12, "Piotr Hosowicz" escribió: > Hello, > > I still do not un

Re: Don't understand still

2011-10-15 Thread Carlos Daniel Ruvalcaba Valenzuela
Also don't forget to load your data in the database, otherwise the results of the query will be empty, you can use the django-admin to help you get started and fill some data in (as outlined on the tutorials from django docs). -- You received this message because you are subscribed to the Google

Re: Slow page load

2011-11-18 Thread Carlos Daniel Ruvalcaba Valenzuela
production environment)? Regards, Carlos Daniel Ruvalcaba Valezuela -- 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 dj

Re: Simple task dispatching (How heavy is celery + RabbitMQ)

2011-11-28 Thread Carlos Daniel Ruvalcaba Valenzuela
to use Redis as a broker, redis is light and very fast, you can limit the amount of memory used by it too. Check the celery page for alternative brokers. I have tested DB broker and works ok, redis broker worked wonders in another setup where it was also being used for caching. Regards, Carlos D

Re: Website Statistics - What should I use to have Google Analytics in Django?

2011-11-30 Thread Carlos Daniel Ruvalcaba Valenzuela
A quick Google revealed that there is already a django-google-analytics package, why not try to check it out? otherwise you could as last resort just put their tracking code on your master template and be done with it. http://code.google.com/p/django-google-analytics/ Regards, Carlos Ruvalcaba

Re: Alternatives to celery

2012-01-15 Thread Carlos Daniel Ruvalcaba Valenzuela
look at supervisord: http://supervisord.org/ Regards, Carlos Daniel Ruvalcaba Valenzuela -- 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 g

Re: Best Practices for Outsourcing Partial Development?

2012-01-17 Thread Carlos Daniel Ruvalcaba Valenzuela
painful and a friction cause, so I tend not to use them I very much prefer the platforms I'm already using (for developing Free Software) such as github / bitbucket, trac, redmine, etc. The best jobs I ever had have been outside such platforms, but alas YMMV. Regards, Carlos Daniel Ruva

multiple user profile solution

2012-11-22 Thread Juan Carlos Vargas Valencia
I have spend all yesterday making this run, and I have a solution. I dont know if its the best, but see it and please tel me if there is a mor professional way to do it: first I add in customize my user profile i

Re: How to create superuser?

2013-01-07 Thread Carlos Daniel Ruvalcaba Valenzuela
Check the docs, there is a manage.py command to create superusers once the DB is sync'd: https://docs.djangoproject.com/en/1.4/ref/django-admin/#createsuperuser Regards, Carlos Ruvalcaba On Mon, Jan 7, 2013 at 7:50 PM, Skip Montanaro wrote: > get_system_username >>

Re: webhosting for django projects with SQLite

2013-01-25 Thread Carlos Daniel Ruvalcaba Valenzuela
I can only speak for what I have tried, Webfaction can be an option that supports what you want and is a simple as regular hosting, if you are going for the cheap vps route any will do as you have direct control over the python install, modules or virtualenv in the server. Regards, Carlos

Re: using existing database with django

2013-01-30 Thread Carlos Daniel Ruvalcaba Valenzuela
match 1:1 to the DB Tables, you can map them, so instead of having a model for a table named non_descriptive_name_0001 you can just call the model "Products" and have it map the table "non_descriptive_name_0001", you can evolve slowly the schema with south if the DB supports

Re: Webfaction vs DigitalOcean

2013-04-02 Thread Carlos Daniel Ruvalcaba Valenzuela
ry nice, DO you have to configure everything yourself but you can have anything you want, however you want, where instances can be deployed fast (a bit like amazon AWS). It is a tradeoff between easy to use and control. Regards, Carlos Ruvalcaba On Tue, Apr 2, 2013 at 10:31 AM, Venkatraman S w

Nested Result

2013-04-10 Thread Carlos Eduardo Sotelo Pinto
me a hand -- Carlos Eduardo Sotelo Pinto | http://carlossotelo.com | csotelo@twitter GNU Linux Admin | PHP Senior Web Developer Mobil: RPC (Claro)+51, 958194614 | Mov: +51, 959980794 GTalk: carlos.sotelo.pi...@gmail.com | Skype: csotelop MSN: carlos.sotelo.pi...@gmail.com | Yahoo

Re: Help please xml2-config from libxml2

2011-08-02 Thread Carlos Daniel Ruvalcaba Valenzuela
Hello, your problem is most probably the lack of the development package for libxml2, try installing the libxml2-dev package via apt-get command or synaptic under Ubuntu. Regards, Carlos Ruvalcaba El 02/08/2011 15:39, "theseventhletter" escribió: > Good Day to all > i been t

Re: How to get a web development job (i.e. Django/Python) if someone is an amateur programmer?

2010-12-17 Thread Carlos Daniel Ruvalcaba Valenzuela
ts, I personally have received Jobs and offers just because I'm a django/python developer and listed in a few sites (such as djangopeople). Regards, Carlos Daniel Ruvalcaba Valenzuela Blackchair Software http://www.blackchairsoft.com/ On Fri, Dec 17, 2010 at 10:03 AM, Dopster wrote: > This is a

Re: size of an image

2011-01-24 Thread Carlos A. Carnero Delgado
Hi, On Mon, Jan 24, 2011 at 3:09 PM, refreegrata wrote: > hello list, I have a question. How can I get the width and the size of > an image previously saved?... is the image a field in a model? AKA, ImageField. If that's the case, what's wrong with the width and height fields?

Re: Add multiple objects of same model at the same time in admin

2015-06-14 Thread Carlos Arturo Sanchez Rivera
It is easier with decorators @admin.register(Transfer) class TransferAdmin(admin.ModelAdmin): pass El sábado, 13 de junio de 2015, 4:28:38 (UTC-5), Robin Lery escribió: > > I have a model to upload pictures: > > models.py: > > >> class Snap(models.Model): >> image = models.ImageFiel

Re: Running DJango with uWSGI with a user that has sudo access?

2015-06-14 Thread Carlos A. Carnero Delgado
hat in a production settings you should go for privilege separation as far as possible. Besides, you could always host more than one service in the same box with different credentials quite nicely. HTH, Carlos. -- You received this message because you are subscribed to the Google Groups "

Re: django unique email id model

2015-06-27 Thread Carlos Arturo Sanchez Rivera
class Meta: unique_together = ('email', 'other') Can use unique_together El sábado, 27 de junio de 2015, 6:47:36 (UTC-5), Arindam sarkar escribió: > > i am just starting with django. I need create a site with signup/sign in . > i want user to sign up by email id . how do i proced ? > > --

Búsquedas en una aplicacion

2015-07-05 Thread Carlos Alonso Turner Benites
Buen día, me podrían dar una idea sobre como seria la forma mas adecuada para búsquedas en una aplicación. -- 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 djang

Re: Django 1.6 + Mysql

2014-07-07 Thread Carlos Arturo Sanchez Rivera
Check this tw: https://twitter.com/iscenigmax/status/485657005567115264 El sábado, 5 de julio de 2014 19:03:56 UTC-5, Henrique Oliveira escribió: > > hi there, > > I am getting this error when using Mysql connector: > > File "/opt/b360/lib/python3.4/site-packages/django/core/handlers/base.py",

Applying migrations to (non-interactive) production server

2014-10-02 Thread Carlos A. Carnero Delgado
I missing something? TIA, Carlos. -- 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 e

Re: Difference between signals and celery

2013-11-29 Thread Carlos Daniel Ruvalcaba Valenzuela
are executed locally. Regards, Carlos Ruvalcaba On Fri, Nov 29, 2013 at 11:52 AM, Robin Lery wrote: > This may be a lame question, but I am really confused with these two. I > know *signals* are used to do some task when something has happened. But > what about celery? In the documen

Re: what is the Fastest django application server?

2014-02-17 Thread Carlos Daniel Ruvalcaba Valenzuela
lot of useful features (emperor mode, zerg, mules). I can tell you that I would pick on what I need rather than speed between those two, they are very close to each other to make a huge difference at all. Regards, Carlos Ruvalcaba On Mon, Feb 17, 2014 at 11:39 AM, Javier Guerra Giraldez wrote

Re: Django with rabbit (but without async celery) - can be done?

2014-02-25 Thread Carlos Daniel Ruvalcaba Valenzuela
I'm still not sure of what you need, so there is something (a process) sending a message through rabbitmq with data that needs to be written to the DB, now, this needs to be synchronized, sync with what? an http request? ordered execution of writes? Regards, Carlos Ruvalcaba On Tue, Feb 25,

Re: Do you know good guides to use ajax in django

2018-04-26 Thread CARLOS EDUARDO DAVALOS CORNEJO
thanks for you answer y wiil read the documentation 2018-04-26 4:42 GMT-07:00 Avraham Serour : > I suggest taking a look at http://intercoolerjs.org > > > On Thu, Apr 26, 2018 at 7:36 AM, > wrote: > >> Im starting a social network for my school and i need to show the coments >> of my post witho

Re: ManyToMany relationship

2015-08-23 Thread Carlos A. Carnero Delgado
El ago. 23, 2015 3:34 PM, "venkat" escribió: > > How can i overcome this?? > I think you should be using the related_name property in the ManyToMany fields of the model. Giving different names, of course, since that maybe the cause of your problems. It is documented, BTW. HT

Re: Should Django handle uploaded files in PUT as well as POST?

2010-04-23 Thread Chester (Carlos Duarte do Nascimento)
This is a somewhat old topic, but a workaround for those (such as myself) who need to process parameters from the request body on non-POST methods (such as PUT) is to write: body_params = QueryDict(request.raw_post_data, encoding=request.encoding) and use this dictionary (body_params) in the same

Re: Accessing my local backend

2023-03-12 Thread Carlos André Dantas de Lima
Have you chose url in settings, allow tô access and you try access with mobile deixe in other address or port Em dom, 12 de mar de 2023 14:42, Donald KANTI escreveu: > Hey you should start the Django server on 0.0.0.0 something like this > python > > python manage.py runserver 0.0.0.0:8000 >

<    1   2   3   4   5   6