Re: Problem with Crispy-Forms

2016-09-26 Thread Jeff Silverman
f fun picking my way through the users group, which is where I found the necessary option. Thanks much for your assistance. On Monday, September 26, 2016 at 6:21:49 AM UTC-4, Jeff Silverman wrote: > I created an example application using Crispy-Forms. In forms.py I am > us

Re: Problem with Crispy-Forms

2016-09-26 Thread Jeff Silverman
eptember 26, 2016 at 6:21:49 AM UTC-4, Jeff Silverman wrote: > > I created an example application using Crispy-Forms. In forms.py I am > using > > radio_buttons = forms.ChoiceField( > choices = (('option_one', 'Option one is this and that be sure to

Re: Problem with Crispy-Forms

2016-09-26 Thread Jeff Silverman
Followup. I am playing with the teaser application on GITHUB. One more thing, which may be the problem, and keep in mind I am new to DJANGO and Python... What goes into the base.html file? On Monday, September 26, 2016 at 6:21:49 AM UTC-4, Jeff Silverman wrote: > I created an exam

Problem with Crispy-Forms

2016-09-26 Thread Jeff Silverman
I created an example application using Crispy-Forms. In forms.py I am using radio_buttons = forms.ChoiceField( choices = (('option_one', 'Option one is this and that be sure to include why it is great'),('option_two', 'Option two can is something else and selecting it will deselec

Re: sqlite3.NotSupportedError: URIs not supported

2016-08-24 Thread Jeff Silverman
Well I may have answered my own question. Seems it may be a version incompatibility. I built another virtual environment at Python 2.7 and the error is gone. Also I am using the pycontrol module which is also not work g with Python 3.4. On Wednesday, August 24, 2016, Jeff Silverman wrote

sqlite3.NotSupportedError: URIs not supported

2016-08-24 Thread Jeff Silverman
Can anyone point me in the right direction to solve this? I am running DJANGO with python3.4 in virtualenv. I get this error running manage.py. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving

Re: Django-registration tutorial + code

2012-07-09 Thread Jeff Silverman
I'm new as well, but I have run into similar issues when I don't have the environment settings assigned properly. On Mon, Jul 9, 2012 at 12:03 AM, scoop wrote: > i installed registration, added registration to installed apps and used > your > templates. > > i nav to accounts/register , enter the

Re: Still need help with the 405....please

2012-07-06 Thread Jeff Silverman
: > Out of curiosity, what is your end-goal with this? > > _Nik > > On 7/6/2012 12:44 PM, Jeff Silverman wrote: > > Nik, I appreciate your help, but I'm about at the end with this. I'm > > throwing in the towel. > > > > On Jul 6, 1:40 pm, Nikolas Stevenso

Re: Still need help with the 405....please

2012-07-06 Thread Jeff Silverman
p://django-rest-framework.org/(for example; there are others as > well) > > _Nik > > On 7/6/2012 10:32 AM, Jeff Silverman wrote: > > > > > What should the XML look like? > > > On Jul 6, 12:03 pm, Nikolas Stevenson-Molnar > > wrote: > >&g

Re: Still need help with the 405....please

2012-07-06 Thread Jeff Silverman
What should the XML look like? On Jul 6, 12:03 pm, Nikolas Stevenson-Molnar wrote: > Perhaps it's expecting XML in the request and trying to parse your POST data > (which is not XML)? > > _Nik > > On Jul 6, 2012, at 6:03 AM, Jeff Silverman wrote: > > > >

Re: Still need help with the 405....please

2012-07-06 Thread Jeff Silverman
x27;. For >     more info on the CSRF process: >    https://docs.djangoproject.com/en/1.4/ref/contrib/csrf/ >  3. Disable CSRF altogether. Simply remove the CsrfViewMiddleware from >     your settings and you're good to go. > > _Nik > > On 7/5/2012 6:22 PM, Jeff Silverman wrote: > >

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
, Jeff Silverman wrote: > > Nik, I will give that a try. The reason for the decorator was that I was > getting 403 forbidden, and the decorator made that one go away. If I > remove the csrf from the settings file, will that solve that problem? > > > On Tuesday, July 3, 2012 9

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
Nik, I will give that a try. The reason for the decorator was that I was getting 403 forbidden, and the decorator made that one go away. If I remove the csrf from the settings file, will that solve that problem? On Tuesday, July 3, 2012 9:32:20 AM UTC-4, Jeff Silverman wrote: > > Be

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
soap_application) On Jul 5, 2:54 pm, Nikolas Stevenson-Molnar wrote: > Would you please provide the source for mysite.BDSCheckUser.views? > > _Nik > > On 7/5/2012 11:37 AM, Jeff Silverman wrote: > > > > > Resulting output, > > > Help on function DjangoSoapA

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
just before the problem line: > > print help(DjangoSoapApp) > > That way, if the DjangoSoapApp symbol is getting reassigned to a > function somewhere along the way, that might clue you in. > > _Nik > > On 7/5/2012 11:17 AM, Jeff Silverman wrote: > > > > > I&#

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
38/?And the error is occuring on > ln 28? > > _Nik > > On 7/5/2012 11:01 AM, Jeff Silverman wrote: > > > > > The print output is: > > > > > > On Jul 5, 1:38 pm, Nikolas Stevenson-Molnar > > wrote: > >> Hmmm, not sure about this one.

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
The print output is: On Jul 5, 1:38 pm, Nikolas Stevenson-Molnar wrote: > Hmmm, not sure about this one. Try printing out the type of > DjangoSoapApp before that line is called: > > print type(DjangoSoapApp) > > _Nik > > On 7/5/2012 5:20 AM, Jeff Silverman wrote: &

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
thing > like Fiddler) instead. > > https://github.com/soaplib/soaplib/blob/master/src/soaplib/core/serve... > (line 84/85) > > _Nik > > On 7/3/2012 12:20 PM, Jeff Silverman wrote: > > > > >http://djangosnippets.org/snippets/2638/ > > > On Jul 3, 2:56 pm, Niko

Re: Still need help with the 405....please

2012-07-05 Thread Jeff Silverman
/core/serve... > (line 84/85) > > _Nik > > On 7/3/2012 12:20 PM, Jeff Silverman wrote: > > > > >http://djangosnippets.org/snippets/2638/ > > > On Jul 3, 2:56 pm, Nikolas Stevenson-Molnar > > wrote: > >> Would you please provide a reference to

Re: Still need help with the 405....please

2012-07-03 Thread Jeff Silverman
http://djangosnippets.org/snippets/2638/ On Jul 3, 2:56 pm, Nikolas Stevenson-Molnar wrote: > Would you please provide a reference to the snippet or to your complete > code? It's hard to understand what's going on from this small bit. > > _Nik > > On 7/3/2012 11

Re: Still need help with the 405....please

2012-07-03 Thread Jeff Silverman
ote: > I'm not sure that this is the problem, but typically constructors should > not have a return value. Try removing the "return" from your > DjangoSoapApp constructor. > > _Nik > > On 7/3/2012 6:32 AM, Jeff Silverman wrote: > > > > > Below is

Still need help with the 405....please

2012-07-03 Thread Jeff Silverman
Below is the code from the views.py The 405 is retunred from the 'return super(DjangoSoapApp, self).__init__(Application(services, tns))' statement. I am using python 2.6, soaplib20 and django 1.3. I am struggling to understand what exactly is wrong here. class HelloWorldService(DefinitionBas

Django 1.3 with soaplib2.0

2012-06-26 Thread Jeff Silverman
I'm trying to use the soaplib 2.0 web service snippet example and continue to receive a 405 method not allowed error when trying to access the method. I coded the example as is, with the views.py and urls.py exactly as shown. I'm new to web services, so I know i've missed something, but I cannot

New to DJANGO

2012-06-21 Thread Jeff Silverman
I am new to Django. I am trying to get the Class version of hello_world to work. I cannot find a good full example of the code that works. I have made multiple view.py files and urls.py files trying to get it to work. I cannot seem to come up with the right url to pass the variables name and