Re: NEW USER

2023-06-05 Thread Jeff Kingsley
Hello Jawad Khan! It's great to hear that you've started working with Django and are looking for guidance on how to start and complete a proper website. Django is a powerful web framework that can help you build robust and scalable websites. To help you get started and complete your website, here

Re: NEW USER

2023-06-05 Thread Jeff Kingsley
Hello Jawad Khan! It's great to hear that you've started working with Django and are looking for guidance on how to start and complete a proper website. Django is a powerful web framework that can help you build robust and scalable websites. To help you get started and complete your website, here

Re: Serving Media and Static files on Shared Hosting

2023-01-13 Thread Jeff Kingsley
Why On Fri, Jan 13, 2023 at 11:56 AM Namanya Daniel wrote: > Hello members, > > Has anyone ever used Namecheap shared hosting to serve static and media > files? Apparently nginx can't be used, i only have WhiteNoise which serves > static files only. > > kindly share you've done it before.. than

Re: NEW BIE HERE HOW CAN I LEARN DJANGO FAST

2022-12-28 Thread Jeff Kingsley
can teach you On Sun, Dec 25, 2022 at 12:08 PM Namanya Daniel wrote: > While learning Django, pay attention to URLs and settings and models, the > rest you need basic python skills > > On Sunday, December 25, 2022 at 2:14:06 AM UTC+3 guru...@gmail.com wrote: > >> Hey, I just want to know how yo

Re: Reply: Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Do you have root access oba you are just using cpanel. I do think you will be able to succeed with cpanel, you need VSP. On Tue, Nov 8, 2022 at 3:58 PM bradie poa wrote: > its not a good idea > > i have settings.py in the same folder with wsgi.py > > > On Tuesday, November 8, 2022 at 4:07:09 AM

Re: Hosting django with Namecheap

2022-11-08 Thread Jeff Kingsley
Which web server do you use? On Tue, Nov 8, 2022 at 3:55 PM Namanya Daniel wrote: > i have settings.py in the same folder with wsgi.py > > > On Tuesday, November 8, 2022 at 4:07:09 AM UTC-8 Kasper Laudrup wrote: > >> On 08/11/2022 10.41, Namanya Daniel wrote: >> > Hello, am hosting a django appl

Populate script not working

2020-04-01 Thread Jeff Waters
ions would much appreciated. Thank you. Jeff EDIT : I have done both makemigrations and migrate. import os import django os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'mynowandthen.settings') django.setup() from django.contrib.auth.models import User from nowandthen.models import

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
Thanks Andreas When I do that, I get an error message: NoReverseMatch at /photo_feed/ Could the problem be with my add_comment.html? The code for that is as follows: {% extends 'nowandthen/base.html' %} {% load staticfiles %} {% block title_block %} Add self {% endblock %} {% block body_block %

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
Thank you Andreas. This is the views.py - https://github.com/EmilyQuimby/my_now_and_then/blob/master/nowandthen/views.py -- 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

Re: Associating comments with images

2020-04-01 Thread Jeff Waters
photographs present. {% endif %} {% endblock %} Thanks Jeff -- 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 v

Re: NoReverseMatch error message - Please help

2020-03-31 Thread Jeff Waters
wonder if it might be _id. Incidentally, I've also tried amending the relevant URL path to path('add_comment/', views.add_comment, name='add_comment') - with underscore and with a dot before the id - but that doesn't work. Jeff -- You received this message because

Associating comments with images

2020-03-31 Thread Jeff Waters
a comment {{ comment_form.as_p }} {% csrf_token %} Submit {% endif %} How do you suggest I overcome this problem, please? Thanks Jeff -- You received this message because you are subscribed to the Google Groups "Django u

NoReverseMatch error message - Please help

2020-03-31 Thread Jeff Waters
I am putting together a website which has a photo gallery where users can add comments. When I go to the photo gallery page, I get the following error message: NoReverseMatch at /photo_feed/ Reverse for 'add_comment' with arguments '('',)' not found. 1 pattern(s) tried: ['add_comment/$'] The c

Re: HTML code not being read

2020-03-30 Thread Jeff Waters
omment.body | linebreaks }} {% endfor %} The problem I now have is that I now get the following error message: Reverse for 'add_comment' with arguments '('',)' not found. 1 pattern(s) tried: ['add_comment/(?P[0-9]+)$'] Any sug

Re: HTML code not being read

2020-03-30 Thread Jeff Waters
Thanks guys I previously had 'comments' in the plural in views.py, but had the same problem. Am I right in thinking that Django recognises that 'comments' is the plural of 'comment', so if it knows from the view what a comment is, it knows what comments are? T

Re: HTML code not being read

2020-03-30 Thread Jeff Waters
Hi I'm not sure what you mean by 'Have you all ready use a content that define your content'. I'm new to Django, so am not familiar with all of the terminology yet. Can you elaborate please? Thanks Jeff -- You received this message because you are subscribed to the Go

Re: HTML code not being read

2020-03-30 Thread Jeff Waters
x27;comment': comment, 'new_comment': new_comment,'comment_form': comment_form} return render(request, template_name, context) Does that look correct to you? Jeff -- You received this message because you are subscribed to the Google Groups "Django users" group

HTML code not being read

2020-03-30 Thread Jeff Waters
created_on }} {{ comment.body | linebreaks }} {% endfor %} Does anyone have any suggestions as to how I can fix this, please? Thank you. Jeff -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Form not displaying

2020-03-30 Thread Jeff Waters
Will do, thanks -- 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 view this discussion on the web visit https://grou

Re: Form not displaying

2020-03-30 Thread Jeff Waters
tml, {'image': image, 'comments': comments, 'new_comment': new_comment, 'comment_form': comment_form}) What should the code be instead? Thanks Jeff -- You re

Re: Form not displaying

2020-03-30 Thread Jeff Waters
'comments': comments, 'new_comment': new_comment, 'comment_form': comment_form}) Thanks Jeff -- You received this message because you are subscribed to the Google Groups "Django users" group. To

Form not displaying

2020-03-29 Thread Jeff Waters
return 'Comment {} by {}'.format(self.body, self.user) When I go into the source code on the site, it shows that the form is hidden. Also, when I change comment_form.as_p to something random, no error messages are generated. It's like something is causing Django to skip past that bit

Form not being published

2020-03-29 Thread Jeff Waters
change comment_form.as_p to something random, no error messages are generated. It's like something is causing Django to skip past that bit of code. I'd really appreciate any suggestions anyone could please offer. Thanks Jeff -- You received this message because you are subscribed

Re: Python Django Training

2020-02-03 Thread Jeff Kramer
I am interested too. Please add me! Thank you- Jeff > On Feb 3, 2020, at 4:32 AM, Ethan Liu <1230...@gmail.com> wrote: > >  > I am interested, mark me up. >> On Feb 1, 2020, 21:42 +0800, Srikanth K , wrote: >> Hi, >> >> I am from Hyderabad. I am

Re: Pip installation

2019-01-12 Thread Jeff Kramer
E.I Kenneth, Thank you. I too was having an issue with my PC/Win10 and Pip install. Anaconda seems to be working much smoother for me. Thanks- Jeff > On Jan 12, 2019, at 6:25 AM, kennedy kay wrote: > > What you can also do is install Python from Anaconda. > It comes with

Re: file URL missing project name

2018-11-21 Thread Jeff Williams
I *had* added the above, but I put them in the 'lower down' URLS.PY file. As soon as I added them to the higher-level one everything worked! Thanks Roham! Thanks Akash! I really appreciate your time and help here. Jeff ‪On Wed, Nov 21, 2018 at 8:38 AM ‫رهام صادقی‬‎ wrote:‬ &

Re: file URL missing project name

2018-11-20 Thread Jeff Williams
own appit stopped working :-(. On Tue, Nov 20, 2018 at 3:06 AM Akash Purandare wrote: > Hey Jeff > > It is completely alright to try until we find a solution to this. > I quote from the Django Documentation: > Note that request.FILES > <https://docs.djangoproject.com/en/2.1/

Re: file URL missing project name

2018-11-19 Thread Jeff Williams
rrent guess is that I have something wrong in my HTML that is somehow causing an errorI think I've noticed that Dango gives a 404 error if it sees an HTML error (?). I copied a small working file-upload example and it worked. I can't see any difference between the example and my code

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
That part is added by urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)so I doubt that is the issue. This is going to sound odd.but I've had some files display and then stop working when I don't think I changed anything. very odd. On Sun, Nov 18, 2018 at 6:46 PM J

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
MEDIA_ROOT and MEDIA_URL both seem fine.and the URL I'm getting in the template looks fine...but URLS.PY is kicking it out. I changed the security on the directory to full access to everyone. Any ideas on how to debug this? I can't see why the path isn't matching the pattern. Page not f

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
Akash, You are good.but I already changed that to get to the error I have now. Still not working :-( The file is in the right place but the URL matching is messing up somehow. On Sun, Nov 18, 2018 at 1:00 PM Akash Purandare wrote: > Hey Jeff > > I tried the models that you were

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
Nope. Same error. I can see the file being loaded. Doesn't like the URL still. On Sun, Nov 18, 2018 at 11:30 AM Akash Purandare wrote: > Hey Jeff > > I think that you might need to upload the file again and try. > > Let me know if it works out. > > Regards > Ak

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
e='family'] 8. oldgrub/ recipe/add/ [name='addrecipe'] 9. oldgrub/ ^oldgrub/media/(?P.*)$ 10. 11. accounts/ The current path, oldgrub/media/56288852088__208FCEF9-5890-4633-8BF6-C5C9A82D87EE.JPG, didn't match any of these. On Sun, Nov 18, 2018 at 11:08 AM Jeff Willi

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
Thanks Akash. Haven't quite fixed it yet but this is definitely the right area. Jeff On Sun, Nov 18, 2018 at 10:52 AM Akash Purandare wrote: > Hi Jeff > > I believe that the URL that you want to show is completely irrelevant as > the Django's FileField does that for you

Re: file URL missing project name

2018-11-18 Thread Jeff Williams
': Textarea(attrs={'cols': 40, 'rows': 1}), recipe_list.html Recipe List {% if recipe_list %} {% for recipe in recipe_list %} {{ recipe.title }} {{recipe.author}} {{recipe.text}} {{ recipe.notes }} {% load static %} {

file URL missing project name

2018-11-18 Thread Jeff Williams
'm getting http://127.0.0.1:8000/media/media/56288852934__75FACD12-1711-4655-96D5-716198FE10B7.JPG back.and I need http://127.0.0.1:8000/*oldgrub* /media/media/56288852934__75FACD12-1711-4655-96D5-716198FE10B7.JPG back to have it work. What am I missing? I've poured over my configs. Je

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
> Sender > notified by > Mailtrack > <https://mailtrack.io?utm_source=gmail&utm_medium=signature&utm_campaign=signaturevirality5&;> > 11/12/18, > 2:57:02 AM > > On Mon, Nov 12, 2018 at 2:11 AM Jeff Williams > wrote: > >> sorry. I meant the full

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
sorry. I meant the full path to the file.like below if you downloaded it into C:\downloads. pip install c:\downloads\mysqlclient-1.3.13-cp37-cp3 On Sun, Nov 11, 2018 at 2:58 PM Ansh Srivastava wrote: > Full path means? If you can send the screenshot or command instead @Jeff > Wi

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
give it the full path to the file. I had the same issue yesterday and this fixed it for me. On Sun, Nov 11, 2018 at 2:27 PM Ansh Srivastava wrote: > Yes @,Jeff Williams , I did but it still prompts the same: > > C:\Users\ansh>pip install mysqlclient-1.3.13-cp37-cp37m-w

Re: How to connect mysql with django

2018-11-11 Thread Jeff Williams
Did you download the .whl file first? On Sun, Nov 11, 2018 at 11:57 AM Ansh Srivastava < ansh.srivastav...@gmail.com> wrote: > Thank you @pujiarahman. I have tried out the above command but it > didn't work!It says::C:\Users\ansh\Desktop\Dje\p1\marvellous> pip install > mysqlclient-1.3.13-cp37-cp

Clarification on __in when attribute on left is a many to many field

2018-01-15 Thread Jeff Tchang
NY publication in [1,2]. So does Django go through every publication in every article and if any of them are in the list on the right that Article is included in the result? -Jeff -- You received this message because you are subscribed to the Google Groups "Django users" group. To

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

How to create a database for my website in Django

2016-08-30 Thread Jeff Goes
I have little knowledge when it comes to the creation of databases. I would like to know if someone can help me set a database for my website step by step since I have a deadline due to next month to finish a project that requires that kind of knowledge. The idea is to input information on the

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 simple Captacha

2016-07-20 Thread Jeff Willette
I wrote a simple app to use googles recaptcha, you can read about how to install it here... http://jrwillette.com/post/how-to-use-django-g-recaptcha/ On Tuesday, July 19, 2016 at 11:54:32 PM UTC+9, Ajay Kumar wrote: > > hi Guys > > I tried django-simple-captcha on refering > http://django-simple

why am I able to create and save a user via the shell without any username?

2016-07-19 Thread Jeff Willette
I have a custom user model via AbstractUser and I think the django-app `spirit` (which is a forum) has also modified my user model a bit. I am trying to write some tests and I do not know if this behavior is normal or not. Here is my model.py file that defines the user with the extra fields th

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

Re: NoReverseMatch in Django (url ploblem)

2015-07-05 Thread Jeff Gaoey
James - Thank You Very Much that true it doesn't need /. everything work fine as I want :D. เมื่อ วันศุกร์ที่ 3 กรกฎาคม ค.ศ. 2015 7 นาฬิกา 38 นาที 54 วินาที UTC+7, James Schneider เขียนว่า: > > > > > I'm a beginner of Django I want to set my url with database field_name > > > instead of use prim

NoReverseMatch in Django (url ploblem)

2015-07-02 Thread Jeff Gaoey
I'm a beginner of Django I want to set my url with database field_name instead of use primary key from Django tutorial. This is my code. *mysite***dwru/urls.py** urlpatterns = [ url(r'^$', include('product.urls', namespace="product")),] *myapp***product/urls.py** urlpatterns = [ url(r'^$

Django model for non web applications

2015-07-01 Thread Jeff Fritz
not be developing a web application, not using views, templating, etc? 2. Is the django model layer thread safe? Specifically, when using sqlite3 as a back end? 3. Are there other clean ORM/database model layer frameworks/packages that I should consider for python 3.4? Thanks very much for

DjangoCon US: Call For Proposals: Last Call

2015-05-15 Thread Jeff Triplett
will not be extending the deadline this year. We will accept submissions until midnight Anywhere on Earth <http://en.wikipedia.org/wiki/Anywhere_on_Earth> today (May 15th). Regards, Jeff Triplett Chair, DjangoCon US 2015 @webology / @djangocon -- You received this message because you are

Looking for remote python/django software engineers

2015-04-06 Thread Jeff
If this post is not allowed, please delete. Thanks I lead a development team that uses django and python to build an online web portal. I am looking for additional help short or long term, if you are **very comfortable with all of the following skills** please let me know and send your resume/

Enterprise software patterns for django/Python ?

2015-03-30 Thread Jeff Mangan
Looking for info or links on design patterns and architecture references on building a web portal using Python and Django. Looking for things like how to model your solutions, layers, services, data and business logic, to promote scale, security, and performance. I have a Microsoft background an

Re: Recommendations for hosting service?

2015-01-06 Thread Jeff Kerr
I'm a total noob, but I was able to get a basic Django app (Postgresql as DB) running on DigitalOcean without much trouble. It wasn't *easy--*in fact, I was ready to throw my computer out the window a few times--but I'm happy that I now have that skill. DigitalOcean also has a great interface a

Re: deploying django

2014-08-05 Thread Jeff Trawick
On Monday, August 4, 2014 6:12:16 PM UTC-4, Adrian Marshall wrote: > > I've went through a few different ways. If your set on using apache, > Configure Apache with Mod-WSGI on a server. > > Here's a Good Tutorial: > http://thecodeship.com/deployment/deploy-django-apache-virtualenv-and-mod_wsgi/ >

Re: Opening up multiple database connections per request?

2014-02-04 Thread jeff do
Thank you Russ. Your solution to define multiple database sources to a single database was very straightforward On Tuesday, January 21, 2014 4:11:43 PM UTC-8, Russell Keith-Magee wrote: > > Hi Jeff, > > Correct - Django has one database connection per request. > > If you wan

Opening up multiple database connections per request?

2014-01-21 Thread jeff do
Is it possible to open up multiple database connections inside of one request in Django? I am using Django 1.6 and Python3.3. In my use case, I have a web application that executes raw SQL against a data warehouse we have. For example, one page may require five different SQL queries to be ex

UI Engineer with Django @ Very Early Stage Startup

2013-06-12 Thread jeff
http://www.collegefeed.com/cf/featured-jobs/ *Entry Level UI Engineer @ Zubhium* *About Us:* We're a passionate team of accomplished mobile technologists building a mobile app framework that

Re: input data will be lost if there are errors in the form

2013-05-30 Thread Jeff Hsu
Thank you, Tom. It's exactly what I need. On Thu, May 30, 2013 at 3:55 AM, Tom Evans wrote: > On Thu, May 30, 2013 at 3:31 AM, Jeff Hsu wrote: > > Hi, > > > > I find this very interesting. In my html template form: > > > > > enctype

input data will be lost if there are errors in the form

2013-05-29 Thread Jeff Hsu
for this. Thank you Jeff -- 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, sen

Re: django-social-auth problem with facebook

2013-04-16 Thread Jeff Hsu
tutorial on south: http://south.readthedocs.org/en/latest/tutorial/part1.html Jeff On Tue, Apr 16, 2013 at 8:35 AM, Alex Ksenzov wrote: > Hi Jeff .I have this problem too, but still can't figure out. Can you >> please provide resolving more detail and step by step please. Thanks. &

Re: django-social-auth problem with facebook

2013-04-15 Thread Jeff Hsu
I solved the problem. The problem is that I set up my project with south. So, I have to use south migration to set up the proper database schema for social_auth. Thanks, Jeff On Mon, Apr 15, 2013 at 10:50 AM, Jeff Hsu wrote: > Hello Serdar, > >Thank you so much, I do use p

Re: django-social-auth problem with facebook

2013-04-15 Thread Jeff Hsu
Hello Serdar, Thank you so much, I do use postgresql as my database. The problem might be what you listed above, I'll take deep look at it. If I have more questions, I'll post it in that group. Thank you! Jeff On Mon, Apr 15, 2013 at 1:36 AM, Serdar Dalgic wrote: > H

Re: django-social-auth problem with facebook

2013-04-15 Thread Jeff Hsu
, Jeff On Mon, Apr 15, 2013 at 8:49 AM, Brad Pitcher wrote: > In my experience, that particular error always means that the database > doesn't match what you have in your models. Try a syncdb and/or check your > south migrations to make sure your database is up to date. > >

django-social-auth problem with facebook

2013-04-14 Thread Jeff Hsu
fter I log in with my facebook account and before I redirect to the profile page. The request url shows http://127.0.0.1:8000/complete/facebook/?redirect_state=xxx&code=xxx&state=xxx. I'm using Django 1.5. Can anybody give me some directions to debug this? Thank you tons, Jeff

Re: Django-SEO issue

2013-01-23 Thread Jeff Ammons
Looks like a bug or partial implementation issue. I just submitted a pull request, so hopefully it'll get accepted quickly. https://github.com/willhardy/django-seo/pull/35 -Jeff On Tuesday, January 22, 2013 1:36:54 PM UTC-7, jondbaker wrote: > > I wasn't. If anyone has a solut

Re: Django-SEO issue

2013-01-22 Thread Jeff Ammons
Were you able to figure out what was happening here? I'm experiencing the same issue. On Friday, August 17, 2012 2:16:53 PM UTC-6, jondbaker wrote: > > I've successfully installed Django-SEO, but when I try to limit the number > of backends (I only need/want my admin to have 'path' and not the o

DateTimeField received a naive datetime (2013-01-10 00:00:00) while time zone support is active.

2013-01-11 Thread Jeff Hsu
or a hyphen ) Every time I access a detail page from the archive index page, the error will pop out. I'm using generic view to do my detail page, and I can figure out what's wrong. Can anybody give me some direction? http://dpaste.com/871999/ Thank you, Jeff -- You received this

Re: Problem with auto tests Get an error creating the test database: (1044, "Access denied for user 'viewbank_django'@'localhost' to database 'test_viewbank_django'")

2012-12-30 Thread Jeff
is not destroyed by the script when it finishes running. So while not perfect it does seem to work ok. Again thanks Jeff On Sunday, December 30, 2012 3:02:25 AM UTC+8, Ryan Blunden wrote: > > Hey Jeff, > > There sure is. Just specify a "TEST_NAME" key in the database >

Problem with auto tests Get an error creating the test database: (1044, "Access denied for user 'viewbank_django'@'localhost' to database 'test_viewbank_django'")

2012-12-29 Thread Jeff
erver that will only allow me to create a database prefixed with viewbank_. Using the MYSQL client I can create viewbank_django_test or any variation I like as long as it starts with viewbank_. Is there a way to change the way django names the test database? Thanks in advance Jeff -- You received thi

Re: New to Django; walking through djangoproject tutorial; can't get poll to work

2012-12-18 Thread Jeff Tchang
o back and look at the tutorial but try creating some choices for the poll. -Jeff On Tue, Dec 18, 2012 at 7:56 PM, Deron wrote: > Hi, > > First post here. I'm extremely new to Django and I have been fumbling my way > through the DjangoProject "poll" app tutorial for a coup

Re: Site Architecture

2012-09-07 Thread Jeff Regan
e consistent with the things I do, and was in favor of accessing resources using Http requests. Thanks, Jeff On Fri, Sep 7, 2012 at 4:34 AM, Babatunde Akinyanmi wrote: > I'm hardly a pro but I think the answer to your question will depend > on why you want to add django to the stack >

Re: Multiple elements with one element?

2012-09-06 Thread Jeff Regan
You might look into using jQuery to get the results and then post the results (also using jQuery) to some url. This approach doesn't really fit the Django pattern, but it should work. On Thu, Sep 6, 2012 at 9:53 PM, Gchorn wrote: > Hi All, > > I'm trying to create a form on a web page where the

Site Architecture

2012-09-06 Thread Jeff Regan
e see a problem with this approach? Is there anything I should be aware of? Are there other sites that took a similar approach? I appreciate any help. Thanks, Jeff -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this

Django Friendly URLs

2012-08-25 Thread Jeff Tchang
ew to return. -Jeff -- 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

Re: Layout and global.css files

2012-08-22 Thread Jeff Tchang
I see some stuff under: /python/lib/python2.6/site-packages/django/contrib/admin/static/admin/css On Wed, Aug 22, 2012 at 6:41 PM, Gregory Strydom < gregory.strydom...@gmail.com> wrote: > Could anyone perhaps tell me where i could find the layout.css and > global.css for the base admin site? >

Re: View loaded twice / Database entry saved twice

2012-08-22 Thread Jeff Tchang
Is it possible you are testing using a browser and it is doing a request for the page and for favicon.ico? That would end up being 2 requests. You can use something like Chrome Developer Tools or Firebug to see. -Jeff On Tue, Aug 21, 2012 at 4:07 PM, James Verran wrote: > Hi there, I'

Re: join models on Timestamp field without foreign keys

2012-08-15 Thread Jeff Dickens
On Tuesday, August 14, 2012 1:43:18 PM UTC-4, Dennis Lee Bieber wrote: > > On Mon, 13 Aug 2012 21:58:59 -0700 (PDT), Jeff Dickens > > declaimed the following in > gmane.comp.python.django.user: > > > Hi all. I have a number of models, each of which is based on an &g

join models on Timestamp field without foreign keys

2012-08-14 Thread Jeff Dickens
Hi all. I have a number of models, each of which is based on an abstract class that includes a Timestamp field. The model definitions look like this: class Md_model(models.Model): Timestamp = models.DateTimeField(auto_now_add=True,unique=True,db_index=True) def __unicode__(self):

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

  1   2   3   4   5   6   7   >