HELP needed in a service-worker in a react django project

2023-10-13 Thread Tejas Vaij
Hello there, I am working on a project where I want to post a blob recorded from RecordRTC to my django server from the service worker but I am not able to get whats wrong with it. Can anyone please help me understand what wrong am I going. Here is the link of stackoverflow question of mine:

Help needed in setting up User Auth JWT system

2022-09-14 Thread K Surya Kumar
Hi Team, The question is not much detailed but straightforward. I am looking for the best way to implement JWT authentication using Django. I'm currently developing an application. Where I have to authenticate the users using a JWT token also one user may create multiple token (Mobile App and

Re: Django help needed URGENTLY!!!!

2021-11-30 Thread Kasper Laudrup
On 30/11/2021 02.25, Kay TV wrote: Hi everyone. First of all, instead of a generic subject and screaming things like urgent. Try to write a more descriptive subject. It will increase the chances of someone being willing to help you. > Can anyone please help. I have a Django project which i

Django help needed URGENTLY!!!!

2021-11-29 Thread Kay TV
Hi everyone. Can anyone please help. I have a Django project which i want to distribute as a Windows executable file. What do I do please? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Async Help Needed

2021-08-12 Thread Andrew Godwin
The example you presented should Just Work - that error generally only occurs if you return an un-awaited coroutine, which if you're just returning a response, should be impossible. What version of Python and Django are you running? Andrew On Thu, Aug 12, 2021, at 11:03 AM, Steven Mapes

Async Help Needed

2021-08-12 Thread Steven Mapes
Does anyone have some links to good guides on getting asnyc to work with Django? I have a use case where I really need to have a view give an async response but I can't get even the most basic of examples working. I've tried the examples from https://testdriven.io/blog/django-async-views/ with

Re: Help needed

2021-02-23 Thread Rodrigo Delfino
Such as others have said, you should remove ```auto_now=True```, after that, you cant forget to run ```makemigrantions``` and ```migrate``` Em terça-feira, 23 de fevereiro de 2021 às 03:04:24 UTC-3, bhurk...@gmail.com escreveu: > Hello everyone, > > I am trying to select the custom date but

Re: Help needed

2021-02-23 Thread FIRDOUS BHAT
Why don't you change field type to Char and save the datetimestamp by your side? On Tue, Feb 23, 2021 at 12:21 PM neha bhurke wrote: > I have done all these codes but it is saving only the current date . > Any other method > *Regard,* > *Neha Bhurke* > > *Precise Industrial Solutions Private

Re: Help needed

2021-02-23 Thread Chelsea Fan
Replace auto_now to auto_add_now On Tue, 23 Feb 2021, 9:04 am neha bhurke, wrote: > Hello everyone, > > I am trying to select the custom date but > datetime=models.DateTimeField(auto_now=True) > is only taking current date > Please help me > > -- > You received this message because you

Re: Help needed

2021-02-23 Thread FIRDOUS BHAT
You definitely have to remove, auto_now=True On Tue, Feb 23, 2021 at 11:34 AM neha bhurke wrote: > Hello everyone, > > I am trying to select the custom date but > datetime=models.DateTimeField(auto_now=True) > is only taking current date > Please help me > > -- > You received this message

Re: Help needed

2021-02-23 Thread John
I think you are misunderstanding the use of `auto_now=True`. It will always set that field to the time when the object was last saved; it's not meant to be a form field. See https://docs.djangoproject.com/en/3.1/ref/models/fields/#datefield. What are you trying to do? Have a date field that is

Re: Help needed

2021-02-22 Thread neha bhurke
I have created the form this is my views.py. def newdata(request): if request.method == "POST": MyDataform = Dataform(request.POST) if MyDataform.is_valid(): MyDataform.save() results = machinelist.objects.all() #result = data.objects.all()

Re: Help needed

2021-02-22 Thread Danny
Maybe it is not related to the model definition, but rather the .save() object? On Tuesday, February 23, 2021 at 1:52:04 PM UTC+7 bhurk...@gmail.com wrote: > I have done all these codes but it is saving only the current date . > Any other method > *Regard,* > *Neha Bhurke* > > *Precise

Re: Help needed

2021-02-22 Thread neha bhurke
I have done all these codes but it is saving only the current date . Any other method *Regard,* *Neha Bhurke* *Precise Industrial Solutions Private Limited* Mob: +91 7738946067 I O: +91 22 28943214 Add: 115, 1st Floor, Hari Om Plaza, Behind Omkareshwar Mandir, Near National Park, Borivali (E),

Re: Help needed

2021-02-22 Thread Omkar Parab
datetime=models.DateTimeField(auto_now=False) ? Or remove "auto_now" datetime=models.DateTimeField() On Tue, Feb 23, 2021, 11:34 AM neha bhurke wrote: > Hello everyone, > > I am trying to select the custom date but > datetime=models.DateTimeField(auto_now=True) > is only taking current date

Help needed

2021-02-22 Thread neha bhurke
Hello everyone, I am trying to select the custom date but datetime=models.DateTimeField(auto_now=True) is only taking current date Please help me -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Wilson Duarte
Hi, I prefer developer this solution, using REST API, it is more elegante. -- 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

How to Run script on remote server from Django Webserver - Help needed

2020-05-12 Thread Sharanagouda Biradar
Hello All, I have started learning Django last one week and able to fairly understand basic poll application in tutorial, Now I need any of your help in meeting my requirements: *Requirement below :* I have a basic (server1) Django development web server and another server (server2) which

Re: urgent help needed with my rest

2020-04-24 Thread Andréas Kühne
Hi, The problem you are having is that the ID you are sending to your deleteTask angular method is undefined - that's what the log shows. Check the angular code to see why you are not sending a valid id to the deleteTask method. This has nothing to do with the rest api - it is functioning

urgent help needed with my rest

2020-04-24 Thread ola neat
i'm working on with django rest-api & angular but i'm having issues making a delete request to my model see below my url, apiView, angular-api-delete-request codes and err msg -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from

Custom error messages not working in Django ModelForm - help needed

2019-08-09 Thread אורי
Django Users, I want to release Speedy Net and Speedy Match to production in September or October 2019. I need help with the following issue on GitHub and Stack Overflow: https://github.com/speedy-net/speedy-net/issues/3 Any suggestions? There are other issues on Speedy Net which I also need

Re: Help Needed For .Error Solving

2019-03-26 Thread Manas Nikam
Where is the error at response from paytm or at your request for payment information? On Tue, Mar 26, 2019, 6:57 AM Mike Dewhirst wrote: > On 26/03/2019 4:35 am, Kumar Ashirwad Mishra wrote: > > I am trying to send a request to paytm gateway checkout api for online > > transaction so I have

Re: Help Needed For .Error Solving

2019-03-25 Thread Mike Dewhirst
On 26/03/2019 4:35 am, Kumar Ashirwad Mishra wrote: I am trying to send a request to paytm gateway checkout api for online transaction so I have created a form that has hidden values for request. So how to solve the csrf_token problem .. Thankyou You need to include the CSRF token immediately

Help Needed For .Error Solving

2019-03-25 Thread Kumar Ashirwad Mishra
I am trying to send a request to paytm gateway checkout api for online transaction so I have created a form that has hidden values for request. So how to solve the csrf_token problem .. Thankyou -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Help needed - new very first django App

2018-03-01 Thread Jayaram Namburaj
Hi Kasper, Thanks for your findings. It is working now as per your suggestion. Regards JayaramN On Wednesday, February 28, 2018 at 11:41:27 PM UTC+5:30, Kasper Laudrup wrote: > > Hi Jayaram, > > On 2018-02-28 15:45, Jayaram Namburaj wrote: > > > > When running the url

Re: Help needed - new very first django App

2018-02-28 Thread Kasper Laudrup
Hi Jayaram, On 2018-02-28 15:45, Jayaram Namburaj wrote: When running the url http://127.0.0.1:8000/myapp/exRenderDict/ output doesn't display the values which is from the for loop. You named your list 'MyListArg' not 'mylist' in the dictionary you passed to the render function. Try

Master-Detail Form help needed

2017-01-16 Thread jon
I have been struggling mightily with Master-Detail forms in Django. I have done a number of online tutorials but have yet to find a complete tutorial which completely explains models, views, templates, URL patterns related to master-detail forms. I use the Oracle toolsets where creating a

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Xiao Bo
Thanks! 在 2016年12月10日星期六 UTC-5下午4:43:47,Avraham Serour写道: > > don't use runserver for production ever. > > read the django documentation: > https://docs.djangoproject.com/en/1.10/howto/deployment/ > > after that I suggest using nginx with uwsgi > > it is also worth reading uwsgi documentation,

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Avraham Serour
don't use runserver for production ever. read the django documentation: https://docs.djangoproject.com/en/1.10/howto/deployment/ after that I suggest using nginx with uwsgi it is also worth reading uwsgi documentation, there are a lot of options you can tweak nginx also has some options you

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Xiao Bo
Yes, I did. 在 2016年12月10日星期六 UTC-5下午3:37:17,Avraham Serour写道: > > are you using manage.py runserver? > > > On Fri, Dec 9, 2016 at 10:13 PM, Xiao Bo > wrote: > >> I'm building a Django server for data collection. However, the program >> seems not capable when the sensing

Re: Help Needed: Django Server For High Frequent Requests

2016-12-10 Thread Avraham Serour
are you using manage.py runserver? On Fri, Dec 9, 2016 at 10:13 PM, Xiao Bo wrote: > I'm building a Django server for data collection. However, the program > seems not capable when the sensing network expands. As time goes on, the > program doesn't even enter the code

Help Needed: Django Server For High Frequent Requests

2016-12-09 Thread Xiao Bo
I'm building a Django server for data collection. However, the program seems not capable when the sensing network expands. As time goes on, the program doesn't even enter the code piece and report broken pipe/connection reset by peer/too many open files errors: Exception happened during

Oracle DB, some help needed

2015-09-08 Thread Jani Tiainen
Hi everyone, I'm currently trying to maintain Oracle backends for Django and found interesting issue that I would like Oracle users to run in their databases. (I'm not sure can you run these in XE, you may try but I think these require full Oracle) Two SQL clauses that I would like you to run

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-07-23 Thread Avraham Serour
I know this is an old thread, but I bumped on it while cleaning my inbox. In any case if it still relevant I recommend looking at treee.io, the website is down but you can take a look at the code at github ( https://github.com/treeio/treeio) On Sat, Jun 6, 2015 at 6:55 PM, Luis Zárate

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Some useful links: 1. CRM system > https://github.com/kunitoki/nublas -> client database > -> ticket system (client communication including sending emails from > backend) > https://github.com/wyldebeast-wunderliebe/mrwolfe https://github.com/rossp/django-helpdesk 2. Shop > ->

Re: Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-06 Thread Luis Zárate
Did you serch for something like this https://www.*odoo*.com/, It is not django but it is in python and released under the AGPL license. If you want to build your software stack based in django then start searching in https://www.djangopackages.com/. 1. *CRM* system -> client database ->

Help needed for big django project (crm+shop+cms+autoresponder). What apps shall I build on?

2015-06-02 Thread ThomasTheDjangoFan
Hi guys, I am planning on a bigger django project with a lot of functionality. The thing is that I have NO experience with existing django-apps that might fit and definetly need your help. Can you give me a hint which existing (and stable) django-apps I could use as a foundation for my

Re: Help needed in constructing __in query

2014-08-05 Thread Collin Anderson
AlertTable.objects.filter(pendingalertstable__in=inner_qs) Or I you could even do: AlertTable.objects.filter(pendingalertstable__id__gt=0) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Help needed in constructing __in query

2014-08-04 Thread Subodh Nijsure
I have two tables as shown below. class AlertTable(models.Model): id = models.AutoField(primary_key=True) alarm_text = models.CharField(max_length=800,blank=False,null=False) event_type = models.SmallIntegerField(blank=False,null=False) created = models.DateTimeField() class

Re: virtualenv help needed

2014-05-28 Thread Lachlan Musicman
Two things: 1. Put your media local to your site - I use /home/user/www/dj-project/static and /home/user/www/dj-project/collected_media for project at /home/user/www/dj-project/ 2. The place you are referring to is inside the virtual env's little jail. You can find that by using the

Re: virtualenv help needed

2014-05-28 Thread Kelvin Wong
Why are you placing user media in your /usr/local/.../dist-package directories? (Debian?) Wouldn't it make more sense to place them somewhere in /srv or /var? https://docs.djangoproject.com/en/1.6/howto/static-files/ K On Wednesday, May 28, 2014 9:40:54 AM UTC-7, Deepak Sharma wrote: > > A

Re: virtualenv help needed

2014-05-28 Thread carlos
Hi, when install virtualenv you need create yours enviroments then you need install all application you need example: $virtualenv django14 #create your enviroments $source django14/bin/activate #activate your enviroments $pip install django==1.4.5 #install all you need application o third party

virtualenv help needed

2014-05-28 Thread Deepak Sharma
A year before I developed an applciation in django==1.4.5 version. Few days before I installed virtualenv with django version 1.4.5. In my application I have to place "media" folder inside /usr/local/lib/[ython2.7/dist-package/django/contrib/admin/media but after installating virtualenv I

Help needed with Django Slug Url Caveat

2013-07-06 Thread JJ Zolper
Hello fellow Django developers, I would like to request your assistance on a caveat I ran into when doing slugs in the django url's. First off please let me lay out what I've been building: Here are the internals of my urls.py: (r'^artists/register/$',

Re: Little help needed writing models for star-ratings app

2013-04-29 Thread Shawn Milochik
I reiterate: Please read the ORM documentation. That will answer all of your questions. Once you understand how to do queries in the ORM (and which queries are easier than others) then you will know how to design your models so that they'll be easy to work with. As you're reading, make notes about

Re: Little help needed writing models for star-ratings app

2013-04-29 Thread surya
On Monday, April 29, 2013 10:31:34 PM UTC+5:30, Shawn Milochik wrote: > > It looks like you're not looking for a "little help." You're looking for > someone to do the work for you. > > You'll get the best help if you try something, get stuck, and explain what > you tried and what the error

Re: Little help needed writing models for star-ratings app

2013-04-29 Thread Shawn Milochik
It looks like you're not looking for a "little help." You're looking for someone to do the work for you. You'll get the best help if you try something, get stuck, and explain what you tried and what the error is. Here is the documentation for using the ORM. This is not a snarky response -- I

Little help needed writing models for star-ratings app

2013-04-29 Thread surya
Here is the story so far class Rating(models.Model): positive_rating = models.FloatField(default=0) negative_rating = models.FloatField(default=0) class Book(models.Model): year_pub = models.IntegerField(max_length=4) category = models.ForeignKey(Category) rating = models.ForeignKey(Rating)

Table2 populated by raw SQL query, help needed

2013-01-17 Thread Andy Woods
Hi, I need to use a raw SQL query and populate a table2 table with the results. The query works fine and returns a list of Dicts using this function from the helpfile : def dictfetchall(cursor): "Returns all rows from a cursor as a dict"

Re: help needed with multiple profile images with UserProfile

2012-02-24 Thread richard
Thanks tom, that worked and now understand what i was doing wrong. much appreciated. On Feb 24, 7:08 am, Tom Evans wrote: > On Fri, Feb 24, 2012 at 2:55 PM, richard wrote: > > Hi Tom, > > > Thanks for your reply. So for clarity i thought i

Re: help needed with multiple profile images with UserProfile

2012-02-24 Thread Tom Evans
On Fri, Feb 24, 2012 at 2:55 PM, richard wrote: > Hi Tom, > > Thanks for your reply. So for clarity i thought i was getting the > userprofile to pass into the bound form so that the userprofile_id in > the UserProfilePic would get populated/saved. as if i leave the >

Re: help needed with multiple profile images with UserProfile

2012-02-24 Thread richard
Hi Tom, Thanks for your reply. So for clarity i thought i was getting the userprofile to pass into the bound form so that the userprofile_id in the UserProfilePic would get populated/saved. as if i leave the instance as None then i get an error saying that userprofile_id cannot be empty? also, is

Re: help needed with multiple profile images with UserProfile

2012-02-24 Thread Tom Evans
On Fri, Feb 24, 2012 at 2:20 PM, richard wrote: > Hi, Am i doing this in the correct way? > […] > > any help would be greatly appreciated. > > […] > > from .models import UserProfilePic > class UserProfilePicForm(ModelForm): >    class Meta: >        model =

help needed with multiple profile images with UserProfile

2012-02-24 Thread richard
Hi, Am i doing this in the correct way? I am trying to accomplish a UserProfile having multiple profile images. IE if a user uploads a profile photo it gets saved as the default profile pic but if they upload another pic then that becomes the default pic but i need to keep records of all the

RE: form select box how to (help needed)

2011-02-16 Thread Chris Matthews
Of Bobby Roberts Sent: 16 February 2011 15:14 To: Django users Subject: Re: form select box how to (help needed) i have no idea what this means is there an example anywhere? On Feb 16, 12:43 am, Kenneth Gonsalves <law...@thenilgiris.com> wrote: > On Tue, 2011-02-15 at 19:05 -0800, Bobb

Re: form select box how to (help needed)

2011-02-16 Thread Bobby Roberts
i have no idea what this means is there an example anywhere? On Feb 16, 12:43 am, Kenneth Gonsalves wrote: > On Tue, 2011-02-15 at 19:05 -0800, Bobby Roberts wrote: > > I can't load it through the "CHOICES" parameter in my forms field... > > how can I do this? > >

Re: form select box how to (help needed)

2011-02-15 Thread Kenneth Gonsalves
On Tue, 2011-02-15 at 19:05 -0800, Bobby Roberts wrote: > I can't load it through the "CHOICES" parameter in my forms field... > how can I do this? override __init__ in your form and populate there -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox http://ilugcbe.techstud.org/ --

form select box how to (help needed)

2011-02-15 Thread Bobby Roberts
I've got several select boxes in a user profile that the we can manipulate in /admin. One of these select boxes is called "locations" and has locations to which you can assign a user. for explanation, let's say that that the select box is populated like such: 1,location1 2,location2

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Jason
http://virtualboxes.org/images/debian/ Download a ready to use Debian image here. Make sure you know how to use VirtualBox. On Jan 21, 8:08 am, Mike Ramirez wrote: > On Friday, January 21, 2011 07:00:51 am Steven Elliott Jr wrote: > > > > he is not doing dual boot - he is

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Mike Ramirez
On Friday, January 21, 2011 07:00:51 am Steven Elliott Jr wrote: > > he is not doing dual boot - he is running linux under windows! > >Right, which I think is horrible and usually very slow as well; it might > be better to install the Linux OS on a separate partition on the computer. > I

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Steven Elliott Jr
> > > While I am sure we can all sympathize with confronting a technical problem > that we don't understand, this OP has the flavor of trolling perhaps. At any > rate this is the wrong list for these pleadings. I don't even see a question You're so right; I don't know why I am wasting my

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Joel Goldstick
On Fri, Jan 21, 2011 at 10:00 AM, Steven Elliott Jr wrote: > > > he is not doing dual boot - he is running linux under windows! > >Right, which I think is horrible and usually very slow as well; it might > be better to > install the Linux OS on a separate partition on the

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Steven Elliott Jr
> he is not doing dual boot - he is running linux under windows! Right, which I think is horrible and usually very slow as well; it might be better to install the Linux OS on a separate partition on the computer. I personally hate running anything in a virtual machine. I'd rather

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-20 Thread Kenneth Gonsalves
On Thu, 2011-01-20 at 18:21 -0500, Steven Elliott Jr wrote: > Why don't you try partitioning your hard drive instead and doing a > dual boot installation? > > he is not doing dual boot - he is running linux under windows! -- regards KG http://lawgon.livejournal.com Coimbatore LUG rox

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-20 Thread Russell Keith-Magee
On Fri, Jan 21, 2011 at 7:21 AM, Steven Elliott Jr wrote: > Why don't you try partitioning your hard drive instead and doing a dual boot > installation? > > Also, it's Debian not Derbian. And, as was pointed out on the last thread on this topic, this isn't a Linux support

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-20 Thread Steven Elliott Jr
Why don't you try partitioning your hard drive instead and doing a dual boot installation? Also, it's Debian not Derbian. -Steve On Jan 20, 2011, at 4:59 PM, Kimberly wrote: > This is now a LINUX-Derbian problem I am experiencing. I open the > virtualbox and clicked

Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-20 Thread Kimberly
This is now a LINUX-Derbian problem I am experiencing. I open the virtualbox and clicked on the Linux-Windows that I wanted, and clicked on "start" to run it. Once it run, it is black screen. I already mount the Derbian iso to the program, so I am lost for words on what is going on. This is a

Revisioning and fullhistory help needed

2010-12-14 Thread Tanis
I have an app that contains an Item model. I want to track changes to this model so that I can see that on day X item looked like this and on day Y it looked like that. Since fullhistory seemed to be the most recently updated module for this, I decided to go with that. However, it doesn't seem to

Re: HELP NEEDED

2010-11-23 Thread Michael Sprayberry
--- On Tue, 11/23/10, Dipo Elegbede <delegb...@dudupay.com> wrote: From: Dipo Elegbede <delegb...@dudupay.com> Subject: HELP NEEDED To: django-users@googlegroups.com Date: Tuesday, November 23, 2010, 1:26 PM Hi, I have done some extensive reading on python. i want to design a clas

Re: HELP NEEDED

2010-11-23 Thread Huy Ton That
I would recommend selecting an easier first project. Good luck. On Nov 23, 2010 1:28 PM, "Dipo Elegbede" wrote: Hi, I have done some extensive reading on python. i want to design a classifieds site for jobs. The service is meant to send people who register an sms with

HELP NEEDED

2010-11-23 Thread Dipo Elegbede
Hi, I have done some extensive reading on python. i want to design a classifieds site for jobs. The service is meant to send people who register an sms with available jobs that fit their criteria/cv. But the main idea is that people come and register for quick jobs(like www.freelancer.com) and put

Re: Help needed for XML to xslt conversion

2010-08-13 Thread Boguslaw Faja
Hi, are you trying to do that using django or this group had been choosed at random? :-) I suggest looking for 'xpath'. hint: /[...@attr="val"] best regards, On Fri, Aug 13, 2010 at 8:36 AM, Rahul wrote: > > Hi > I have seen a lots of example to pick the data from

Help needed for XML to xslt conversion

2010-08-13 Thread Rahul
Hi I have seen a lots of example to pick the data from simple xml for example Empire Burlesque Bob Dylan USA Columbia 10.90 1985 to convert it into a table following xsl works But

RE: Field Subclassing, or setter help needed.

2010-07-03 Thread Sells, Fred
. -Original Message- From: django-users@googlegroups.com [mailto:django-us...@googlegroups.com] On Behalf Of Dennis Kaarsemaker Sent: Saturday, July 03, 2010 11:04 AM To: django-users@googlegroups.com Subject: Re: Field Subclassing, or setter help needed. On za, 2010-07-03 at 10:07 -0400

Re: Field Subclassing, or setter help needed.

2010-07-03 Thread Dennis Kaarsemaker
On za, 2010-07-03 at 10:07 -0400, Sells, Fred wrote: > I need to override the setter behavior of all the fields in all my > models. They all subclass from the same abstract model. > > Specifically if the fields already contains a special character (used > to indicate "Not Applicable") I don'

Field Subclassing, or setter help needed.

2010-07-03 Thread Sells, Fred
I need to override the setter behavior of all the fields in all my models. They all subclass from the same abstract model. Specifically if the fields already contains a special character (used to indicate "Not Applicable") I don' want to allow it to be changed. The same field will be applicable

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread Bill Freeman
Well, where are things happening? Do you make a new request for each click, or do you want the changes to appear without a browser reload? If the former, the ability to customize seems to imply a model representing a choice, with a foreign key on the same model, allowing it to specify of which

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Thanks Bill. I'll clarify. Basically what I want to do is give each option under the choice field a function. So once the user has selected an option under the drop down box, that would initiate a script which would generate a set of links (buttons) at the bottom of the page to take the user to

Re: Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread Bill Freeman
Since it's urgent, I'll give an opinion despite not fully understanding your description of the problem. If it's going to be so far removed from what the admin app does by default, I'd go with a custom view outside of the admin, which you can customize to your heart's content. That is, when it's

Urgent Help Needed On Python/Django ModelChoiceFields

2010-04-07 Thread pedjk
Ok, I'm quite new to Python and Django so this might actually have a simple solution. I'm coding for a form using Django and I have a ModelChoiceField. Now what I want to do is make the options for this field customizable. So if you choose an option, a set of links would be generated allowing you

Re: help needed in ModelForm __unicode__

2010-03-26 Thread Kenneth Gonsalves
On Friday 26 Mar 2010 3:38:10 pm Emanuel wrote: > both combo's. > I want to filter only men or women depending the case. Is it possible? Or > should I create another method for independent cases? If it is the > solution how can I use it? I'm not getting there because it is a instance > of a

Re: help needed in ModelForm __unicode__

2010-03-26 Thread Daniel Roseman
On Mar 26, 10:08 am, Emanuel wrote: > Hi! > > I Have this model: > class Person(models.Model): >     user = models.ForeignKey(User) >     nr = models.IntegerField(blank=True,) >     gender = models.CharField(max_length=1, blank=True, > choices=gender_choices) > >     def

help needed in ModelForm __unicode__

2010-03-26 Thread Emanuel
Hi! I Have this model: class Person(models.Model): user = models.ForeignKey(User) nr = models.IntegerField(blank=True,) gender = models.CharField(max_length=1, blank=True, choices=gender_choices) def __unicode__(self): return self.user.get_full_name() I'm

Desperate Help needed. manage.py runserver no longer works.

2009-06-04 Thread CrabbyPete
I am new to django and I am running it on a Windows server. I installed mod_wsgi with Apache and go it to work, but now when I run python manage.py runserver. I get the error Error: Could not import settings 'spot.settings' (Is it on sys.path? Does it have syntax errors?): No module named

Re: help needed: apache httpd.conf and urls

2009-04-30 Thread zayatzz
Thanks! Its working just fine now :) Alan. On Apr 30, 10:37 pm, Malcolm Tredinnick wrote: > On Thu, 2009-04-30 at 12:27 -0700, zayatzz wrote: > > Hello > > > I have this in my template : > > > > > settings file is following: > > MEDIA_ROOT = '/var/www/media/' > >

Re: help needed: apache httpd.conf and urls

2009-04-30 Thread Malcolm Tredinnick
On Thu, 2009-04-30 at 12:27 -0700, zayatzz wrote: > Hello > > I have this in my template : > > > settings file is following: > MEDIA_ROOT = '/var/www/media/' > MEDIA_URL = "http://localhost/media/; > > when i go to the webpage then the stuff that i get from server says > > > Even when i

help needed: apache httpd.conf and urls

2009-04-30 Thread zayatzz
Hello I have this in my template : settings file is following: MEDIA_ROOT = '/var/www/media/' MEDIA_URL = "http://localhost/media/; when i go to the webpage then the stuff that i get from server says Even when i replace {{ MEDIA_URL }} with anything else i still get this in browser: Why?

Re: Beginner's Help needed

2009-04-05 Thread Florian Strzelecki
Yes you can ! *WSGI :* Alias /another /path/to/your/phpApplication WSGIScriptAlias / /path/to/file.wsgi *MOD_PYTHON :* Use Location apache directive. I don't remember what to do for php... sorry, but I know that on this way. 2009/4/5 Dougal Matthews > It depends how you

Re: Beginner's Help needed

2009-04-05 Thread Dougal Matthews
It depends how you mean combine really. You can have them both running on the same server, you can have them share the same database (then you can still manage it with django) Dougal --- Dougal Matthews - @d0ugal http://www.dougalmatthews.com/ 2009/4/5 atik > > Ok.

Re: Beginner's Help needed

2009-04-05 Thread atik
Ok. Again Thanks. I will do it. Can i combine django application with PHP? --~--~-~--~~~---~--~~ 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

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:35 PM, atik wrote: > > Thanks! That is solved. Another Question. > I can only run project at development server. How to run on apache? > > > You can run under Apache using either mod_python or mod_wsgi, start by taking a look at their documentation:

Re: Beginner's Help needed

2009-04-05 Thread atik
Thanks! That is solved. Another Question. I can only run project at development server. How to run on apache? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:28 PM, atik wrote: > > > here is my urls.py file- > > from django.conf.urls.defaults import * > > urlpatterns = patterns('', >(r'^polls/$', 'mysite.polls.views.index'), >(r'^polls/(?P\d+)/$', 'mysite.polls.views.detail'), >

Re: Beginner's Help needed

2009-04-05 Thread atik
here is my urls.py file- from django.conf.urls.defaults import * urlpatterns = patterns('', (r'^polls/$', 'mysite.polls.views.index'), (r'^polls/(?P\d+)/$', 'mysite.polls.views.detail'), (r'^polls/(?P\d+)/results/$', 'mysite.polls.views.results'), (r'^polls/(?P\d+)/vote/$',

Re: Beginner's Help needed

2009-04-05 Thread Alex Gaynor
On Sun, Apr 5, 2009 at 3:17 PM, atik wrote: > > Hello! > I am new to django and using version 1.0.1. I have done some basics > shown on official target='_blank'>tutorials. I have a question: Every > thing is quite ok to me except that when i have come through part two > of

Beginner's Help needed

2009-04-05 Thread atik
Hello! I am new to django and using version 1.0.1. I have done some basics shown on official tutorials. I have a question: Every thing is quite ok to me except that when i have come through part two of the tutorial (a admin site) it gives me admin interface. But after finishing part three and

Re: Saving Deserialized Objects -- Help Needed

2009-03-09 Thread Malcolm Tredinnick
On Mon, 2009-03-09 at 21:13 -0700, Brian wrote: > I'm having trouble saving deserialied model objects. My setup is that > I have two django instances, let's call them A and B. The intial > request comes into server A which then serializes some objects and > sends them off to server B for the

Saving Deserialized Objects -- Help Needed

2009-03-09 Thread Brian
I'm having trouble saving deserialied model objects. My setup is that I have two django instances, let's call them A and B. The intial request comes into server A which then serializes some objects and sends them off to server B for the results of some computation. When server B tries to save the

formfield_for_foreignkey help needed.

2009-01-18 Thread mweather
This is probably really sinple, but I'm pretty new to Sjango, and I can't seem to figure it out. I've used Django before, and came back to it once I saw the recent commit that added ability to override admin formfields, which looks to be exactly what I need. I have a Product model and an

Re: Post tutorial help needed - generic.create_update.create_object

2008-12-22 Thread Greg Schwimer
OK, that makes sense then. Thank you! On Mon, Dec 22, 2008 at 5:11 PM, Malcolm Tredinnick < malc...@pointy-stick.com> wrote: > > On Mon, 2008-12-22 at 15:32 -0700, Greg Schwimer wrote: > [...] > > > > > I suspect I've now moved on to a problem in a new area. The thing I > > don't quite get is

  1   2   >