Re: Django books

2024-01-31 Thread William Vincent
he 'Django for Beginners Build websites with Python and Django >> By William S. Vincent' pdf for free? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Django users" group. >> To unsubscribe from this grou

Re: Web redirection

2024-01-23 Thread Obodoma Uzondu Vincent
Are you using cors? On Tue, Jan 23, 2024 at 4:34 PM Raymond Nsubuga wrote: > Am working on a django react project but everytime i run my django server > at port 8000, it instead redirects to port 3000 belonging to react > automatically, what is the issue that can be causing this ?. And how am i

Re: Django multistep form

2022-11-08 Thread Obodoma Uzondu Vincent
choice, so == here is > probably not going to work. > > On Mon, Nov 7, 2022 at 8:58 PM Obodoma Uzondu Vincent < > uobodoma...@gmail.com> wrote: > >> I have a multi-step form that is 3 steps but it has 4 forms. In the first >> form, the user has to choose from two ch

Re: Django multistep form

2022-11-07 Thread Obodoma Uzondu Vincent
I have sent the url On Mon, Nov 7, 2022 at 7:20 PM James wrote: > Hi, > > Can you also link the relevant urls.py please? > > Thanks! > > On Monday, November 7, 2022 at 2:58:01 AM UTC-7 uobod...@gmail.com wrote: > >> I have a multi-step form that is 3 steps but it has 4 forms. In the first >>

Re: Django multistep form

2022-11-07 Thread Obodoma Uzondu Vincent
from django.urls import path, include from .views import step1formview, step2aformview, step2bformview, step3formview from . import views app_name = 'datacollector' urlpatterns = [ path('', views.step1formview, name="form1views"), path('customerinfo2a/', views.step2aformview,

Django multistep form

2022-11-07 Thread Obodoma Uzondu Vincent
I have a multi-step form that is 3 steps but it has 4 forms. In the first form, the user has to choose from two choices. The user’s first form choices will determine the next form that will be displayed. The code is not working as it should. The first form choices are radio buttons which are

Not sure if this is bug or not

2021-03-07 Thread vincent
Hi Guys, I came here for a question. Few days ago, I made some app(i.e. proxy_polls) and happened to put proxy models(i.e. ProxyQuestion, ProxyChoice) into *admin.py* (which is not adequate place), and I didn't make *models.py*. After running 'makemigrations' and 'migrate' commands, I realized

Re: Vue.js support in PyCharm IDE

2021-01-21 Thread Obodoma Uzondu Vincent
Use Vscode On Friday, January 22, 2021, Ram wrote: > This is cool. We'll probably go for this license type. I really appreciate > pointing this out. > > Thank you, Oon. > > > > On Thu, Jan 21, 2021 at 10:31 PM oon arfiandwi > wrote: > >> >> Hi Ram, >> I'm not sure if I can answer your last

Re: load static in css file

2020-08-03 Thread Obodoma Uzondu Vincent
Hello your have to follow the direction where you stored your file . Generally, in Django you create a static folder then maybe an image files where you store the images. You should link the image this way src= "{% static 'images/imag.png' %}" On Mon, 3 Aug 2020, 10:06 Yemin Sajid, wrote: >

Re: University management system

2019-10-09 Thread Obodoma Uzondu Vincent
Try using the mezzanine plugin for django . if you want me to teach you how to use mezzanine you have to pay me. On Wed, Oct 9, 2019 at 9:54 AM Ankita Gupta wrote: > Hello everyone! > I have a project to make on university management system. > BASIC requirements- > 1. Heirarichal mode(multiple

Re: Image not loading

2019-09-20 Thread Obodoma Uzondu Vincent
use this format : style = "background-image: url ( ' {{ STATIC_URL}} images/about.jpg' )" . use this pattern to link the static files. On Thu, Sep 19, 2019 at 7:20 AM Joseph Emeka wrote: > The highlighted section of the code is not loading the image was the > solution > > -- > You received this

Re: Localtunnel with my Django Project

2019-07-31 Thread Vincent
Hello, how did you do it please help? On Monday, October 30, 2017 at 9:51:16 AM UTC+3, yingi keme wrote: > > Thanks alot > > I did it and it worked, added the address to ALLOWED_HOSTS in my > settings.py > > Thanks once again > > Yingi Kem > > On 30 Oct 2017, at 2:02 AM, shreekant bohra >

Re: Easiest front end JavaScript framework to integrate with a Django backend?

2018-11-30 Thread William Vincent
Hi Joel, Your view is correct. I wrote a book on Django APIs (https://restapiswithdjango.com) and struggled with this same issue. The answer is to just pick one (Vue, React, Angular are the big 3 right now) based either on a whim or on whichever seems to have more jobs available. Probably

please i need assistance with mine css file .Mine base.html file failed to load my style.css.

2018-11-21 Thread Obodoma Uzondu Vincent
base.html file https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css; integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> https://code.jquery.com/jquery-3.3.1.slim.min.js";

please my css file is not reflecting on mine page .the css file failed to load from mine base.html file

2018-11-20 Thread Obodoma Uzondu Vincent
my base.html filee ink rel="stylesheet" href=" https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css; integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> https://code.jquery.com/jquery-3.3.1.slim.min.js";

Re: I Suck

2018-11-02 Thread William Vincent
Try this out if you're a beginner: https://djangoforbeginners.com/. Not every teacher works for every student. The key thing is this stuff is hard but it's not rocket science. Step by step. And as you've done here, don't be afraid to reach out for help. Django is a great community in that

Re: Where to start - New to Django and Python

2018-11-02 Thread William Vincent
Well I'm biased but add Django for Beginners to the mix too. Also Django Girls is a great first step. On Monday, October 22, 2018 at 8:02:01 AM UTC-4, Lokendar Singh wrote: > > Hi Community, > > I'm new to django and

Re: Django bugfix release: 2.1.3

2018-11-02 Thread William Vincent
Well done Carlton et al! On Thursday, November 1, 2018 at 10:44:39 AM UTC-4, Carlton Gibson wrote: > > Details are available on the Django project weblog: > > https://www.djangoproject.com/weblog/2018/nov/01/bugfix-release/ > > -- You received this message because you are subscribed to the

Re: Use Email to Login With Django Auth

2018-11-02 Thread William Vincent
Here you go: https://wsvincent.com/django-login-with-email-not-username/. On Thursday, November 1, 2018 at 8:09:13 AM UTC-4, Ryan Shepard wrote: > > How could i go about allowing people to also use their email to sign into > Django instead of a username? I have done research my self and tried >

Re: Use Email to Login With Django Auth

2018-11-02 Thread William Vincent
svincent.com ? Great stuff you have out > there. Keep working man !! > > On Fri, 2 Nov 2018, 19:08 William Vincent wrote: > >> As others have noted, the short answer is use django-allauth. Here's a >> basic implementation that might help: >> https://github.com/wsvi

Re: Use Email to Login With Django Auth

2018-11-02 Thread William Vincent
As others have noted, the short answer is use django-allauth. Here's a basic implementation that might help: https://github.com/wsvincent/djangox. On Thursday, November 1, 2018 at 8:09:13 AM UTC-4, Ryan Shepard wrote: > > How could i go about allowing people to also use their email to sign into

why is the static file not loading.i need solution

2018-10-20 Thread Obodoma Uzondu Vincent
THIS IS THE HTML FILE login https://stackpath.bootstrapcdn.com/bootstrap/4.1.3/css/bootstrap.min.css; integrity="sha384-MCw98/SFnGE8fJT3GXwEOngsV7Zt27NXFoaoApmYm81iuXoPkFOJwJ8ERdknLPMO" crossorigin="anonymous"> {% load static %} welcome Welcome to my page!

Re: How to support to connect GreenPlum with the 'django.db.backends.postgresql_psycopg2' ?

2018-09-07 Thread Vincent Pemberton
Hi Ruping, I realise you posted this over two years ago but my company is trying to integrate Django with Greenplum for a small project. I more or less believe it isn't possible without changing Django's own code (which we strictly do not want to do) so I'm wondering if you ever got it to

Re: ManyToMany relationship with through_fields and Admin

2018-08-28 Thread Vincent
, ] admin.site.register(Events, EventsAdmin) Le mardi 28 août 2018 00:44:49 UTC+2, Vincent a écrit : > > Hello, > > I'm new to Django and i'm trying to made a simple app in which users can > attend to an event. I'm trying to have this manageable through the admin > site but i get t

Making django.contrib.admin compatible with Bootstrap4?

2018-03-25 Thread Vincent Ng
Are there any efforts right now to make Django Admin compatible with Bootstrap4? It's one of the most popular css frameworks out there and I think a lot of developers will find this useful. -- You received this message because you are subscribed to the Google Groups "Django users" group.

Unable to save forms to the database for inline formsets using form wizard

2017-12-02 Thread Vishal Vincent
I am currently working on building a survey. The parent model 'Person' is linked to a 'Question' model via ManytoMany relationship. Both Question and Person model are linked to an 'Answer' model via foreign key. Currently, I am having issues using the Form Wizard which consists of two

TruncHour with tzinfo throws AmbiguousTimeError

2017-10-30 Thread Vincent T.
I have a model with a datetime field that is filled with UTC datetime values (time_aware) I am trying to aggregate data by hours on another timezone ('Europe/Paris'). Last sunday at 2am there has been the day-saving-time impact to local time. pytz.exceptions.AmbiguousTimeError: 2017-10-29

Re: How to make https work fine under django server?

2015-09-05 Thread vincent . j . xin
I find there are some configuration about using Django with Apache and mod_wsgi in Django document. So, I install apache-2.4.7 and mod_wsgi. But the thing is that I'm confused about how it can work. Should I start a server on mod_wsgi? Is that possible to support https? -- You received this

How to make https work fine under django server?

2015-09-04 Thread vincent . j . xin
Hi, everyone. I'm a new user of Django. I have established an app and run a server on Django. However, when I open a URL of my app(e.g. *https*://example.com/.../), it always shows the following error on the command line. *You're accessing the development server over HTTPS, but it only supports

Re: Unable to reverse URL

2015-07-14 Thread Vincent
Hi James, substance_list is indeed the name of the view. I've now applied namespaces, and added quotes around each URL statement, and it works! thanks! What I do not understand is how it could have worked in the past. Regards, Vincent On Monday, July 13, 2015 at 6:36:00 PM UTC+2, James

Unable to reverse URL

2015-07-13 Thread Vincent
(r'^component_check_ajax$', component_check_ajax,name = 'component_check_ajax'), url(r'^supplier_check_ajax$', supplier_check_ajax, name = 'supplier_check_ajax'), url(r'^report', substance_report, name = 'substance_report'), url(r'^worksheet/(?P\d+)

Re: newbie question

2015-03-20 Thread Vincent Davis
ps.google.com/d/msgid/django-users/0fb52afc-17ec-4301-add2-85fc962f73b4%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/0fb52afc-17ec-4301-add2-85fc962f73b4%40googlegroups.com?utm_medium=email_source=footer> > . > For more options, visit https://groups.google.com/d/opto

How is /admin/jsi18n/ created

2013-12-05 Thread Vincent Hussey
to figure out how this url is generated - it looks like a dynamically created link based on django/conf/global_settings.py, modified by django/conf/locale/xx/formats.py, but we are struggling to figure out the exact mechanism. https://waterlevel.ie/admin/jsi18n/</a>>"> Thanks Vincent

djangoadmin: Multiple record created upon mulitple clicks on "Save" button

2013-09-05 Thread Vincent Tou Liu
an I limit it to create just one record? I am using django 1.5 on Postgresql 9.2. Thanks. Vincent -- 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 em

Re: Background pattern files on S3 not being found while hosted on Heroku

2013-06-25 Thread Vincent Fulco
retried #3 without quotes and link works now. -- 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,

Re: Background pattern files on S3 not being found while hosted on Heroku

2013-06-23 Thread Vincent Fulco
Should add running the normal django-storages, boto setup for serving static from S3. On Sunday, June 23, 2013 9:45:40 AM UTC-5, Vincent Fulco wrote: > > Verified S3 files are there and app on Heroku finds custom.css as other > bits come thru correctly. > > Within body{} of

Background pattern files on S3 not being found while hosted on Heroku

2013-06-23 Thread Vincent Fulco
Verified S3 files are there and app on Heroku finds custom.css as other bits come thru correctly. Within body{} of custom.css have tried the following based on scouring the Net help sites (assume same for background:url and background-image:url): 1) url(img/backgrounds/foo.png) ref'ed to

Simple Static Content Site on Heroku?

2013-06-16 Thread Vincent Fulco
Fairly new to the framework and have been reading a ton of material. While I have found a couple of great git repos using Bootstrap with Django, I haven't found too many examples of dead simple sites other than some single page blogs. I am working on an informational site with at most 5

Re: How to run cdn link in a local setup without screwed up hyperlink?

2013-04-13 Thread Vincent Fulco
[SOLVED] Oddly, copied right from an online resource and colon was missing in web address, accesses external site correctly now. On Saturday, April 13, 2013 9:37:07 AM UTC-5, Vincent Fulco wrote: > > Attempting to use bootstrapcdn.com in a local bootstrap template on a VM > (with 2nd I

Re: Help implement CSS into Django!!!!

2013-04-13 Thread Vincent Fulco
Running a dev server, is the following required or not--> "manage.py collectstatic"? The official docs would indicate no and there is too much mis-information floating around so it is hard to verify one way or the other for a noob. Django 1.4 would appear to be able to find static files in

How to run cdn link in a local setup without screwed up hyperlink?

2013-04-13 Thread Vincent Fulco
Attempting to use bootstrapcdn.com in a local bootstrap template on a VM (with 2nd IP address to outside world) before pushing to heroku. Standard code in the head: http://netdna.bootstrapcdn.com/twitter-bootstrap/2.3.1/css/bootstrap-combined.min.css; rel="stylesheet"> Static urls ref in

Re: django<-->twitter bootstrap philosophy

2012-09-25 Thread Vincent Fulco
definitely include the bootstrap library in your > templates, and use its classes to style your pages. > Example<https://github.com/azizmb/mingus-bootstrap-theme/blob/master/mingus_bootstrap_theme/templates/base.html> > . > > I hope this clears your confusion. > > On Tue

django<-->twitter bootstrap philosophy

2012-09-25 Thread Vincent Fulco
Been thru the Django manual, bootstrap website instructions and other resources a few times so have working understanding of MVC structure. However, the incorporation of bootstrap throwing me off a little. Working on a ecommerce idea, for now plan is to create homepage (using bootstrap) as

Re: Beginner problem linking pages from homepage?

2012-09-23 Thread Vincent Fulco
. Best, V. On Sunday, September 23, 2012 4:54:46 PM UTC-5, JirkaV wrote: > > Hi Vincent, > > Django is telling you what the problem is - none of strings in urls.py > matches the requested URL. All lines in your file say that the regular > expression fas nothing before the &

Re: Beginner problem linking pages from homepage?

2012-09-23 Thread Vincent Fulco
Addendum: the views.py also has the required 'from django.foo import" lines naturally. On Sunday, September 23, 2012 2:47:39 PM UTC-5, Vincent Fulco wrote: > > Thank you for the timely advice. Before I move my "base/homepage" site to > its own app dir, thought I wo

Re: Beginner problem linking pages from homepage?

2012-09-23 Thread Vincent Fulco
Thank you for the timely advice. Before I move my "base/homepage" site to its own app dir, thought I would give it another pass using your changes. Verified 'mysite.urls' in settings.py, added 'mysite' to the urlpatterns arg and put quotes around the hello func. I have had debugging from the

Beginner problem linking pages from homepage?

2012-09-22 Thread Vincent Fulco
Missing something basic here even after scouring web and running thru online tut a few times. Started a project 'mysite' and added twitter bootstrap then created a static homepage "index.html' to act as a simple launchpad to other more information & feature laden pages. Used

Django base Facebook Games

2012-07-13 Thread Martin Vincent
Looking to hire Django dev with experience in web development please email at mvinc...@isolutionspro.com or call me at 310 751 0833 Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit

Re: Stuck already on step one, django on windows

2012-06-18 Thread Vincent
the environment variables didn't change was because I did not restart my shell/cmd prompt. Hope this helps. --Vincent On Monday, June 18, 2012 3:15:53 AM UTC+8, Melvyn Sopacua wrote: > > On 14-6-2012 17:25, Daniel Roseman wrote: > > >> I rent space on a server run by hostm

Importing data using loaddata from exported data using dumpdata

2012-03-03 Thread Vincent Bastos
Hi, I am having trouble importing data using loaddata from a .json file that I created from a dumpdata export. I have a production application which runs MySQL on one server and a development machine which runs SQLite. I simple executed ./manage.py dumpdata > file.json on the production

Testing with managed tables

2011-05-23 Thread Vincent
Whenever I try to run unit tests with my managed tables, Django insists on re creating the test database, and then the tables do not get created for testing. in providing initial data, there seems to be no place to create a table. How should I do unit testing on unmanaged tables? -- You received

Re: Django FCGI process randomly dying

2011-05-18 Thread Vincent den Boer
On Monday 16 of May 2011 14:12:45 Alexander Schepanovski wrote: > Do you log django's stdout/stderr. You could do that with --outlog and > --outerr options of runfcgi command It's running with those options now. And I'm waiting for it to die again ;). -- You received this message because you

Django FCGI process randomly dying

2011-05-16 Thread Vincent den Boer
Hi, I'm using Django 1.3 with Lighttpd 1.4.28 via FCGI. It works fine, but the Django process tends to die randomly. After it dies I have to manually restart it. Does anyone have an idea what could cause this? Kind regards, Vincent den Boer -- You received this message because you

Re: Dajaxice and CSRF issues

2011-04-18 Thread Vincent den Boer
0 LoC) to handle Ajax requests. I can now use a GET when I don't need a POST, so CSRF is not an issue for me anymore :). Another thing you could maybe do is retrieve a CSRF token through a GET request, and use that for your POSTs. Kind regards, Vincent -- You received this message becau

Re: Dajaxice and CSRF issues

2011-04-13 Thread Vincent den Boer
On Friday 08 of April 2011 13:37:53 Casey Greene wrote: > Can you change the request type from POST to GET? It sounds like this > is not a database modifying operation. > > Casey Yes, I could but the generated Dajaxice script doesn't give me the option to use a GET request. Perhaps I should

Dajaxice and CSRF issues

2011-04-08 Thread Vincent den Boer
, but could become risk in the future. Kind regards, Vincent -- 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-user

Re: Django on Apache

2010-09-26 Thread Vincent den Boer
On Saturday 25 of September 2010 20:36:52 Derek wrote: > Can someone briefly explain the difference between PHP apps -- which > run your code "as is" without need for refreshing the server -- and > Django? The difference is that Django starts once, loads all modules it needs and then starts

Error when starting server

2010-07-19 Thread Vincent Davis
I am trying to host a django app at http://vprojects.org/pydocweb I think I have the .htaccess and pydocweb.fcgi file right but whn I try to run the server I get an error and I have little idea what the problem is. Thanks Vincent vproj...@vprojects.org [~/.local/lib/python2.6/site-packages

menu from database based on url

2010-06-12 Thread Vincent
the menu items dynamic based on url For example the current base template looks like (see below) Thanks Vincent http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;> http://www.w3.org/1999/xhtml; xml:lang="en" lang="en"> {% block title %}{% endblock %}

Re: File validation process

2010-03-15 Thread Vincent
clean way to interrupt file upload, though. > > On Mar 12, 11:27 pm, Vincent <jellygr...@gmail.com> wrote: > > > I would like some help in figuring out how to handle file validation > > in my application. I have a series of processing that I'd like to > > happen at

File validation process

2010-03-12 Thread Vincent
I would like some help in figuring out how to handle file validation in my application. I have a series of processing that I'd like to happen at various stages. Some of this validation might have to happen outside of Django itself, like using JavaScript in the actual form as the files that are to

Re: Added-value over PHP?

2010-02-06 Thread Vincent
On 3 fév, 16:08, Javier Guerra wrote: > that means, a well-coded framework can be extensive, sophisticated, > even heavy; but still perform very quickly. Thanks much Javier for the feedback. -- You received this message because you are subscribed to the Google Groups

Re: Added-value over PHP?

2010-02-02 Thread Vincent
Thanks Richard. -- 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 django-users+unsubscr...@googlegroups.com. For more options,

Re: Added-value over PHP?

2010-02-02 Thread Vincent
On 2 fév, 15:15, Shawn Milochik wrote: > There is much to say on this topic. I suggest doing some Google searching on > "Django versus PHP" and read until you know the answer to your question. > > My brief summary is that Django lets you do everything you can do in PHP, and

Development server exiting after entering login info in admin site

2010-01-06 Thread Pascal Vincent
I'm reposting this question here, since I didn't get any answer the first time, and I'm struck there. Where can I find help with this, should I rather post the problem to another group? --- I'm new to django, and was going through the tutorial (on Mac Os X 10.4.11, installed latest stable version

Development server exiting after entering login info in admin site

2009-12-17 Thread Pascal Vincent
Hello, I'm new to django, and am just going through the tutorial (on Mac Os X 10.4.11, installed latest stable version from tarball). All seems to go well until I enter the damin login nd passwd, after which the development server just exits without notice. I've traced this back to autoreload.py

Re: models.py

2009-10-28 Thread Vincent Jones
where would you suggest is a good basic learning site or book so i can become proficient? On Wed, Oct 28, 2009 at 1:05 PM, Karen Tracey <kmtra...@gmail.com> wrote: > On Wed, Oct 28, 2009 at 12:50 PM, Vincent Jones <jones...@gmail.com>wrote: > >> Thats what i don't un

Re: models.py

2009-10-28 Thread Vincent Jones
Thats what i don't understand.i am trying to learn django using"Learning Website development with django" when i get to the step of using models it gives me the second script below and says to insert the top script and after i type ' python manage.py syncdb i get an *NameError : name 'models'

Re: Error

2009-10-27 Thread Vincent Jones
Thanks i am still a newbie and didn't realize how important upper and lower case letters are in programing. it works correctly now. On Tue, Oct 27, 2009 at 4:26 PM, Gabriel . wrote: > > On Tue, Oct 27, 2009 at 3:27 PM, Vman wrote: > > > > I created

RE: syntax error what am i doing wrong???

2009-10-26 Thread Vincent Jones
x.net" <jon...@cox.net> wrote: > SyntaxError at / > > ('invalid syntax', ('c:\\Users\\Vincent\\Documents\\django_bookmarks\ > \..\\django_bookmarks\\bookmarks\\views.py', 15, 20, 'return Http > Response(output)\n')) > > SCRIPT FROM VIEWS.PY > > from django.http

Re: code of models from oracle to mysql

2009-07-15 Thread Vincent
thank you lan. i solve the problem with your idea. On Jul 15, 11:44 pm, Ian Kelly wrote: > On Jul 15, 7:07 am, Karen Tracey wrote: > > > On Wed, Jul 15, 2009 at 4:18 AM, pho...@gmail.com wrote: > > > > the code of models: > > >    

Re: Scientific Data Frontend with Django

2009-06-18 Thread Vincent
Good question. Don't know. My guess is that if you just want to show the data in a view using data structures Django knows might be quicker. However, if you are going to process the data (graphs, summary stats, etc.) you might prefer to have numpy arrays to work with. Vincent On Jun 18, 2:02 pm

Re: Scientific Data Frontend with Django

2009-06-18 Thread Vincent
If you have a lot of data pytables may be an option (see link below). It can store data as numpy arrays directly rather than having to convert to such an array after reading from an sql database. http://www.pytables.org Vincent On Jun 18, 1:15 pm, Blaine Booher <frik...@gmail.com>

Re: Scientific Data Frontend with Django

2009-06-17 Thread Vincent
googlecharts templates instead (see link below). http://github.com/jacobian/django-googlecharts/tree/master The following also looks nice. http://code.google.com/p/google-chartwrapper/ Hope you share code examples. Vincent On Jun 17, 4:21 pm, Rajesh D <rajesh.dha...@gmail.com> wrote: > On

Re: Production install 'admin' failing with 500 internal server error

2009-05-14 Thread Vincent
Allow from all On May 14, 11:11 am, Vincent <jellygr...@gmail.com> wrote: > Hi Dan, > > Thanks for the tips. I think I've figured out what went wrong. > > First up: no, I am not using a virtualenv. I was able to serve the > site using "

Re: Production install 'admin' failing with 500 internal server error

2009-05-14 Thread Vincent
e wrong user & group for my django application. Chown-ing things to apache:apache did the trick. I realize that all of these things are most likely trivial issues and silly mistakes but my hope is that this post here may act as an example should someone else make the same mistakes as I did. ~V

Re: Production install 'admin' failing with 500 internal server error

2009-05-13 Thread Vincent
correctly, in particular, my 404 template loads just fine. There's no shortage of configurations and settings to list but I am not sure what else to post. On May 13, 4:19 pm, Vincent <jellygr...@gmail.com> wrote: > Hi all: > > I have loaded my application on our production server

Production install 'admin' failing with 500 internal server error

2009-05-13 Thread Vincent
Hi all: I have loaded my application on our production server but I am unable to load the supplied admin interface. What's really odd is that everything else seems to work fine. Databrowse works along with the django 'configuration success' page. When using databrowse, I can view all of my

Re: How to deal with problem about ForeignKey

2009-04-29 Thread Vincent
answer, because there are a lot of similar problems, and some of which should be delete, the others should not be delete. is there any suggestion. 2009/4/29 Marcelo Ramos <marce...@gmail.com> > > On Wed, Apr 29, 2009 at 2:57 AM, Vincent <pho...@gmail.com> wrote: > > Hi,

How to deal with problem about ForeignKey

2009-04-28 Thread Vincent
Hi, I got a problem like this: class A(models.Model): id = models.AutoField(primary_key=True) field1 = models.TextField() class B(models.Model): a = models.ForeignKey(A) field1 = models.TextField() then there are some records of A/B, how can i delete records of A and do not

Creating an object with a FileField programmatically

2009-04-14 Thread Vincent Foley
f so, what could be causing my problem? Thanks, Vincent --~--~-~--~~~---~--~~ 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 f

Re: Help with adding custom validation to the admin

2009-03-12 Thread Vincent
On Mar 12, 10:16 am, Vincent <jellygr...@gmail.com> wrote: > Thanks Alex. > > I spent the better part of my day yesterday pouring over both of those > pages prior to posting a request for help here. I think part of the > problem is that I only loosely understand the wh

Re: Help with adding custom validation to the admin

2009-03-12 Thread Vincent
't understand what is to go where based on what is in docs.djangoproject.com. Again, thanks. ~Vincent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Help with adding custom validation to the admin

2009-03-11 Thread Vincent
tate, I would really like to be able to do this from within the provided admin interface. I am not able to figure out how to even validate this file from within the admin, let alone perform additional operations on it. Thanks, ~Vincent --~--~-~--~~~---~--~~ You r

Re: Django 1.0.2 Final fails to install

2009-03-11 Thread Vincent
Thanks Karen. Seems like the plug-in that I use in TotalCommander to untar TGZ had an issue. Using the open-source CLI program bsdtar.exe did the trick. For those interested: http://gnuwin32.sourceforge.net/packages/libarchive.htm --~--~-~--~~~---~--~~ You

[XP] Django 1.0.2 Final fails to install

2009-03-10 Thread Vincent
Hello I have ActivePython 2.5.1.1 installed on an XPSP2 host. I downloaded and untarred Django 1.0.2 Final, but when I type "setup.py install", I get the following error: === C:\Downloads\Django-1.0.2-final>setup.py install Traceback (most recent call last): File

Re: mod_python vs. Django?

2009-02-09 Thread Vincent
On 9 fév, 12:25, Graham Dumpleton wrote: > By using a separate system they ensure there application is portable > to different hosting mechanisms, which will be good protection given > that mod_python is dying a slow death and is unlikely to be ported to > Python 3.0.

mod_python vs. Django?

2009-02-09 Thread Vincent
Hello I'd like to write a Web 2.0-type web application. I find Python a lot more pleasurable than PHP. I'd like to have information about the pro's and con's of using Apache's mod_python vs. an application server like Django, Turbogears, etc. Thank you.

What happened to the template engine in SVN?

2008-03-26 Thread Vincent Foley
with the latest Django builds? Vincent. --~--~-~--~~~---~--~~ 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,

ManyToMany fields in database lookups

2008-03-04 Thread Vincent Foley
in the object has the same effect. It seems that a ManyToMany field with no elements nullifies the entire query. Is this a bug, or am I misunderstanding something? Thank you, Vincent. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Help with form-builder application

2007-12-31 Thread Vincent Woon
appreciate any advice or feedback on this, and any readings which you think would be helpful. :) Regards, Vincent Woon --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Re: stuck with tutorial 3 at - Write views that actually do something

2007-12-28 Thread Vincent
reasons. Quoted from the site: "When you’ve done that, create a directory polls in your template directory. Within that, create a file called index.html. Note that our loader.get_template('polls/index.html') code from above maps to “[template_directory]/polls/index.html” on the filesys

How to iterate through an int within template ?

2007-09-17 Thread vincent garonne
? Cheers, Vincent. -- ---<[EMAIL PROTECTED]>---- Vincent Garonne http://cern.ch/vincent.garonne CERN PH, CH-1211, Geneva 23, Switzerland Tel. +41 22 76 71181

Re: first naive question for a new fresh Django user

2007-09-11 Thread vincent garonne
would prefer a python solution. Django seems to me a good candidate for that. Vincent. MikeHowarth a écrit : > To be honest I'm not really sure the use of Ajax in printing a piece > of text from a field is that necessary. This could easily be acheived > using good old javascript. >

Re: first naive question for a new fresh Django user

2007-09-11 Thread vincent garonne
* would like vincent garonne a écrit : > Hi, > > I would to do the same than this example: > > http://www.hackorama.com/ajax/ > > Vince > > MikeHowarth a écrit : > >> I'm not entirely sure I follow your request. >> >> However using Ajax

Re: first naive question for a new fresh Django user

2007-09-11 Thread vincent garonne
>> Testr >> >> >> >> >> >> >> {{ form.as_table }} >> >> >> >> >> {% if Entry %} >> >> Entry : {{Entry}} >> >> >> {% endif %} >> >> &g

Re: Float Field not displaying the two zeros at the end of a price

2007-08-19 Thread Vincent Foley
{{ price|floatformat:2 }} On Aug 19, 4:44 pm, Greg <[EMAIL PROTECTED]> wrote: > I have a FloatField called price that stores the price of different > elements. When the price is 19.99, 19.79, 19.01 etc... everything is > displayed correctly. However, when I have a price of 19.00. The > price

Generalizing media files URLs

2007-08-14 Thread Vincent Foley
nd a little outside. 4. Using a filter such as {{ "images/foo.png"|media_file }}, but this is pretty ugly. It would however work in tags and keep everything in braces. This is currently the best solution I can think of. If anyone has other ideas or experience with this particular

Re: Multilingual site best practices

2007-08-10 Thread Vincent Foley
There's django-multilingual for that. On Aug 10, 1:05 pm, Grupo Django <[EMAIL PROTECTED]> wrote: > Vincent Foley ha escrito: > > > > > Hello, > > > I work for a company who develops web sites and web applications for > > clients in Quebec

Re: Presentations about Django?

2007-08-10 Thread Vincent Foley
Has your "Django Master Class" at OSCON 07 been taped? Vincent On Aug 10, 11:12 am, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]> wrote: > On 8/10/07, Brian Rosner <[EMAIL PROTECTED]> wrote: > > > I saw the video of you presenting Django to Google at one of

  1   2   >