Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
Hmm, when I remove the raise CommandError statement and replace it with self.stdout.write, everything works well. This helps me to point further studies. Thx! On Wednesday, May 10, 2023 at 2:33:18 PM UTC+2 Bob Aalsma wrote: > Ah, yes, thanks. > > I hesitate to comment on "I

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
ons/8609192/what-is-the-difference-between-null-true-and-blank-true-in-django >> >> On Wed, May 10, 2023 at 5:45 PM 'Bob Aalsma' via Django users < >> django...@googlegroups.com> wrote: >> >>> Sorry Vishesh, thanks for the quick answer but I have no idea wha

Re: testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
ull but null=False is not set >> >> On Wed, 10 May, 2023, 17:27 'Bob Aalsma' via Django users, < >> django...@googlegroups.com> wrote: >> >>> I'm trying to test a django-admin command and don't understand why the >>> tests give errors on the code

testing newbie - help requested: app works, tests give errors

2023-05-10 Thread 'Bob Aalsma' via Django users
"character_number_ids", nargs="+", type=int) def handle(self, *args, **options): for character_number_id in options["character_number_ids"]: if character_number_id < 1: raise CommandError('Alleen hele getallen > 0 toegestaan') else: try: thingy = CharacterNumber.

Re: Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
I figured it out. Before cloning the site I had upgraded from 3.1 to 3.2. After the upgrade I had stopped and restarted nginx, but I had not bounced the uwsgi daemon which was caching the older version of Django (not the first time I've been bitten by that, so shame on me, I have no excuse ).

Re: Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
A few more data points: - no errors are shown in the browser's developer tools console for either instance of the site - no resources are shown as having failed to load in the browser's developer tools network tab - no errors are logged by either web server -- You received this

Re: Off topic slightly - Apache https redirect

2022-02-07 Thread Bob Kline
On Sunday, February 6, 2022 at 9:12:38 PM UTC-5 Mike Dewhirst wrote: > There seems to be a multitude of ways to redirect from http to https. > Any pointers to the absolutely correct way? > > How about something like this? ServerName example.com ServerAlias www.example.com Redirect

Discrepancy in rendering of content_subtitle block

2022-02-07 Thread Bob Kline
I have a Django site I've been running for years (since before the 1.x days). Right now it's running 3.2 and I have "cloned" it to another Ubuntu 20.4 server so that I can test the upgrade to 4.x. The cloning process involved: - pushing the site's code to a private GitHub repo - git

Re:

2019-11-20 Thread Bob Gailer
ng your question or give us an example of what you're trying to do. Bob Gailer -- 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...

Re: how to login to Django

2019-11-05 Thread Bob Gailer
Please always provide a subject in your email. Your question unfortunately is vague could you flesh it out with more detail? On Nov 5, 2019 8:00 AM, "Suraj Thapa FC" wrote: Send it then On Tue, 5 Nov 2019, 5:38 pm Paras Jain, wrote: > on hitting submit i have to send email and password to

Re: backend for Arduino

2019-11-05 Thread Bob Gailer
Google hotbot Arduino. On Nov 5, 2019 8:02 AM, "Pranjul Kimothi" wrote: > How Can I use Django as backend for an Arduino application .?? Any > suggestions > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group

Re:

2019-06-25 Thread Bob Gailer
Oh goodie. When will they be delivered? On Jun 25, 2019 2:53 AM, "Benjamin SOULAS" wrote: > -- > 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

Bugs: cannot start runserver since Django 2.2.2

2019-06-05 Thread Bob Voorneveld
Since the security fix there were 2 problems: The package cryptography is required (wasn't before updating the pip package). I'm running Django 2.2.2 with Daphne 2.3.0. See stacktrace: Loading .env environment variables… [05/Jun/2019 15:05:43] INFO [django.utils.autoreload:584] Watching for

Re: AutoField

2019-05-26 Thread Bob Gailer
On May 26, 2019 8:16 PM, "Saeed Pooladzadeh" wrote: > > > Hi > > When I add this line in my model: > > eid=models.AutoField() > > I see error in my migration!! > > What is the problem? > > I don't know what your problem is but our problem is that we have no idea what error you got. Please copy

Re: Working with Databases

2019-05-26 Thread Bob Gailer
mobile phone it's hard to refer back to your original email. So I will end here and perhaps write more later. Thank you for starting this discussion. Please let me know your thoughts regarding my comments. Bob gailer -- You received this message because you are subscribed to the Google Groups

Re: TypeError

2019-05-22 Thread Bob Gailer
On May 22, 2019 6:09 AM, "Soumen Khatua" wrote: > > Hi Folks, > > I'm getting this error "TypeError:" everytime, Can You guys tell me where is the problem in this code. it would help us a lot if you would copy the entire traceback and paste it into an email reply. > Cart > > views.py >

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread bob
class Monolithic(models.Model): facepng_id = models.IntegerField(blank=True, null=True) facepng_id as Integer not ForeignKey? > UPDATE items_monolithic SET facepng_id=items_monolithic.id FROM items_monolithic INNER JOIN items_facepng ON items_monolithic.object=items_facepng.obj ; Error: near

Re: ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread bob
Just want to make sure I understand. ForeighKeys need to be integers? Only integers? You need a ForeignKey relationship between the two models, which is an > integer value, not a char. You’d have to do migrations to get this adjusted > properly. > -- You received this message because you

ORM help with INNER JOIN and GROUP BY

2019-05-06 Thread bob
I've inherited an application written django 1.11. The old application uses raw() with INNER JOIN and GROUP BY. I cannot seem to figure out how to do inner join and group by properly the ORM way. The raw() query is below. SELECT * FROM items_monolithic INNER JOIN items_facepng ON

Re: ManyToManyField how to get the fields in a ListView?

2019-04-19 Thread bob
I feel something like this is what I need select obj,name,png from items_monolithic, items_facepng where object==obj; But I do not know how to do that in Django. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

ManyToManyField how to get the fields in a ListView?

2019-04-19 Thread bob
I do not understand how to get my queryset from the ManyToManyField in my ListView *Models* class Monolithic(models.Model): obj = models.CharField( max_length=128, blank=False, null=False, unique= True) face2 = models.ManyToManyField(FacePng) class FacePng(models.Model): obj =

Re: ML-Python

2019-03-13 Thread Bob Gailer
On Mar 13, 2019 7:44 AM, "Hafit Omar" wrote: > > Hi Everyone I'm Hafit from Libya, > Can anyone help me in in sklearn library I want to import cross_validation it doesn't work Please be more specific. What is the evidence that it doesn't work? -- You received this message because you are

Multi-level inheritance for the model and migrations?

2019-03-04 Thread bob
Can you have multiple levels if inheritance in your models? Not "multiple inheritance" multiple level inheritance. Something like class ArchBase(models.Model): obj = models.CharField(max_length=128, blank=False, null=False) class Meta: abstract = True class Armour(ArchBase): name_pl =

Re: Problems with first program

2019-02-28 Thread bob gailer
stion_text = models.CharField(max_length=200) Your copy of that file is different. Statement that end in : must be followed by at least one indented line. These are known as "compound statements" (if, elif, else, while, for, try, except, finally, with). -- Bob Gailer --- This email has been

Re: looking for team members as my technical Advisory

2019-02-22 Thread Bob Gailer
Sounds interesting. Tell me more. On Feb 22, 2019 5:02 AM, "Nura Bash" wrote: > Good day, all am Nura bashir CEO of Teamlead enterprise Nigeria, am > looking for Technical advisory members for my project which am about to > start here in West Africa, is a plot project from 10 selected schools

class view with filter on form input

2019-02-11 Thread Bob Bobsled
, because I'm only just starting out with this. Thank you for any advice. Regards, Bob -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: beginner

2019-02-01 Thread Bob Gailer
I would be glad to give mentoring a shot. Send me your questions. If we enjoy working with each other then we'd need to negotiate some kind of payment for my services. Bob Gailer On Jan 31, 2019 4:36 PM, "Emmanuel klutse" wrote: > I want to be one of the best in the field (python

Re: Error

2019-01-02 Thread Bob Gailer
tal ball ball was working. If I ran that code I would get an error reporting unknown name Chapters. So give us enough so that we could at least get started. If you got a trace back please copy and paste the entire traceback. If you included an attachment it did not come through. Bob

Re: New to this list question

2018-11-23 Thread Bob Gailer
it is to be not fully read. Could you give us a 10,000 foot overview? Bob Gailer -- 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+unsub

Re: Toby McGuire

2018-11-12 Thread Bob Gailer
On Nov 12, 2018 12:05 PM, "toby mac" wrote: > > Im a newbie to this. Used to program on COBOl, Fortran and 370 assembler, plus many others Welcome to A Whole New World. How can we help you? Bob Gailer -- You received this message because you are subscribed to the Google Group

Re: django admin widget

2018-10-15 Thread Bob Bobsled
Hi, The idea for a separate model for author with a foreign key back to book is interesting. I hadn't thought of that. Thanks for the ideas about how to approach this problem. On Sat, Oct 13, 2018 at 12:10 PM Ryan Nowakowski wrote: > I've done something similar in the past but I use a

Re: Creating superuser

2018-10-04 Thread Bob White
give me you id and password teamviwer i will help you El jue., 4 oct. 2018 a las 12:07, VIPIN VIPIN () escribió: > This is not working > > > On Thu, 4 Oct 2018, 11:25 pm Bob White, wrote: > >> you must do makemigrations and then migrate >> >> after that you

Re: Creating superuser

2018-10-04 Thread Bob White
you must do makemigrations and then migrate after that you will be enable to see panel admin python manage.ty makemigrations python manage.py migrate this process will make the tables for admin El jue., 4 oct. 2018 a las 11:07, VIPIN VIPIN () escribió: > -- > You received this message because

Re: django wamp

2018-07-08 Thread Bob Bobsled
t sure if it's a django project configuration, an apache httpd.conf >>> problem, or a wamp issue. I'm wondering if someone has experience with >>> this issue and could point me in the right direction for how to use django, >>> but continue to use localhost or myipxxx/ to

Re: Django object to json

2018-07-07 Thread Bob Gailer
On Jul 7, 2018 7:42 AM, "Kamal Sharma" wrote: > > hi, > > I am facing a problem to get data from database in form of JSON. > > data = model.objects.all() > > now i have a big list in data and want to convert it into JSON. > how can i do it. import json json_biglist = json.dumps(biglist) Django

Re: django windows apache tell if apache is working

2018-07-03 Thread Bob Bobsled
Hi, I think I see the problem now. WAMP is a special case for aliases, and it's root directory default setup in c:wamp\www for ex.. I need to do some more work on, say for ex. using Django Tut 01, setting up mysite as an alias in wamp, and then putting the polls app in it. I believe apache

Re: django windows apache tell if apache is working

2018-07-02 Thread Bob Bobsled
Hi, I'm still stuck on getting Apache to verify as working with wsgi. Wondering what I might be doing incorrectly. I'm reading lots of tuts, but it's a jungle out there. I changed the folder hierarchy for the project and app so venv, django_project, and django_app are all on the same level as

Re: django windows apache tell if apache is working

2018-06-30 Thread Bob Bobsled
Hi, Thanks. Yes, I went thru the Mozilla library tutorial on a fedora dev machine to the point where I realized I needed to do more with the last mile, so to speak working on setup of the production server part on Windows and wamp. Seems most tuts end at manage.py runserver, or start into

help me formset

2018-04-26 Thread Bob White
hello. i have an issue. i want to render formset as table then add row (form) using a modal. then in table should show just data instead of input. as vb we can use a modal to add row to table have you ever done this before? -- You received this message because you are subscribed to the Google

Static/constant dictionary for get_initial or get_form_kwargs

2018-02-27 Thread Bob Glassett
Hello, Trying to bring a django app into production, and I ran into a real headscratcher. I have a Class based view inherited from create. When the page reloads, after validation, I check the initial dictionary for a field's value to fill in the queryset for a different field. I'm getting

Re: Html Page rendered when i hit this below url instead of json objects

2017-09-29 Thread Bob Gailer
On Sep 28, 2017 7:31 AM, "Rakhee Menon" wrote: > > Hi Everyone, > > When i hit the url localhost:8000/forms it gives a html page and on the other hand when i do it through the django admin ie > > localhost:8000/admin/forms it gives me the result...What can be the

Re: count the selected chechboxes in multipleselectfield

2017-07-05 Thread Bob Gailer
On Jul 5, 2017 6:55 AM, "elloy" wrote: > > I need your help with a problem I'm trying to solve > I'm making a questionnaire and I have to count the selected choices that the user have checked in a certain question with 5 possible answers(choices) > The model I'm using is: >

Re: Does anyone in this group hire out to update code .

2017-04-12 Thread Bob Gailer
I'd be glad to take a look at the Django code. That way I could tell if I have the expertise to help you , and yes, I am available for hire. If you would give me access in some form to the Django modules and your requirements I will let you know what I can do, and my cost estimate. On Apr 11,

Re: Request for advice on refactoring a big Django project

2017-03-06 Thread Bob Haugen
Antonis, thank you very much for the feedback! You are absolutely correct! I apologize to you and the list, and will strive to follow your suggestions in the future. I suspect, however, that the very long explanation that would have been required to avoid the links would have been offputting,

Re: where does logging configuration go?

2016-11-26 Thread bob gailer
On 11/26/2016 9:02 AM, ludovic coues wrote: the settings.py file of your project Thank you. Is that documented anywhere? I followed various links; none of which pointed me to that. 2016-11-25 23:15 GMT+01:00 bob gailer <bgai...@gmail.com>: https://docs.djangoproject.com/en/1.9/

where does logging configuration go?

2016-11-25 Thread bob gailer
https://docs.djangoproject.com/en/1.9/topics/logging/ shows some logging configurations, but does not tell me where to put them. Where would you suggest? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

question re built-in server

2016-11-25 Thread bob gailer
Sometimes requests get displayed at the console, other times they do not. Example: (myproject) C:\Users\bgailer\mysite>manage.py runserver 0.0.0.0:8000 Performing system checks... System check identified no issues (0 silenced). You have 1 unapplied migration(s). Your project may not work

What is meaning of '[::1]'?

2016-11-20 Thread bob gailer
From https://docs.djangoproject.com/en/1.10/ref/settings/#std:setting-ALLOWED_HOSTS: "When DEBUG is |True| and |ALLOWED_HOSTS| is empty, the host is validated against |['localhost', '127.0.0.1', '[::1]']|." What is meaning of '[::1]'? -- You received this message because you are subscribed

how to run django under apache on windows 10

2016-11-18 Thread bob gailer
Goal: run django under apache on windows 10. I have tried many things, none of which have worked. Errror messages up to wazoo. Google has not been my friend: I found a lot of articles Everything I read is either oriented to linux and/or assumes knowledge I don't have. Example: today I

Basic configuration for running under Apache

2016-11-14 Thread bob gailer
https://docs.djangoproject.com/en/1.10/howto/deployment/wsgi/modwsgi/ This page offers: WSGIScriptAlias //path/to/mysite.com/mysite/wsgi.py WSGIPythonPath /path/to/mysite.com In my setup this becomes c:\Users\myname\mysite\mysite\wsgi.py I am puzzled by the .com in the example. Can you

Re: External access

2016-11-09 Thread bob gailer
Here is an update on my situation. Windows firewall - I setup in and outbound rules for port 8000 (UDP and TCP) Router - I set up port forwarding for port 8000 (UDP and TCP) Using example code in the socket module documentation I ram socket_client and socket_server on my local machine with the

Re: External access

2016-11-07 Thread bob gailer
machines that are not on my lan. On 7 Nov 2016, at 21:19, bob gailer <bgai...@gmail.com <mailto:bgai...@gmail.com>> wrote: On 11/7/2016 8:51 AM, GMail wrote: Hi! Seems like port forwarding doesn't work correctly. Do you have any other ports forwarded (like ssh or ftp)? If so, do t

Re: External access

2016-11-07 Thread bob gailer
resses did not fix the problem. Regards, Andréas 2016-11-07 14:48 GMT+01:00 bob gailer <bgai...@gmail.com <mailto:bgai...@gmail.com>>: I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip add

Re: External access

2016-11-07 Thread bob gailer
elnet" Bob -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-us

Re: External access

2016-11-07 Thread bob gailer
On 11/7/2016 8:50 AM, Larry Martell wrote: On Mon, Nov 7, 2016 at 8:48 AM, bob gailer <bgai...@gmail.com> wrote: I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip address I get "The server at 24.

External access

2016-11-07 Thread bob gailer
I am running a the django server, listening at port 8000. I can access the server using localhost. When I try using my external ip address I get "The server at 24.211.133.163 is taking too long to respond." I have port 8000 forwarded to my server computer in my router. What more do I need to

Re: Need help with a hostel management system project using django

2016-10-30 Thread Bob Gailer
On Oct 30, 2016 9:53 AM, "YOGITHA A N" wrote: > > I am beginner in django please help me out with my project To help us help you be more specific. What kind of help do you need? > > -- > You received this message because you are subscribed to the Google Groups "Django

Re: Newbie question - data structure for game

2016-10-29 Thread Bob Gailer
On Oct 28, 2016 7:59 PM, "Ken Albright" wrote: > > I'm just learning Python and Django so please be gentle... > > I've written a quote decryption game (like you see in the newspaper) in Python. I'd like to put it on a web page with Django. However, I'm not sure of the best way

Re: a question about redis cache

2016-04-10 Thread Bob Gailer
Why not just use Redit? On Apr 10, 2016 8:38 AM, "Xin Liu" wrote: > > Let's look at the following scenario: > A website has 1 player, to make question easier, I use mysql storage player with just one table: "player_table" > --table here- > name string >

Django on Codenmvy

2016-04-09 Thread bob gailer
I am new to Codenvy. Do you have any experience with Codenvy / Django? I could use some help. I will post questions if I hear from an experienced user. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop

Re: Multiple values to Django

2016-04-03 Thread bob gailer
like (I don't know the precise syntax) |ctr = ctr + 1; field = $("#name").clone(); field['id']="name"+ctr; ?? not sure if this is the way to set the ID field.appendTo("#food-container"); ditto for the other 2 fields. While you are at it how about making an array of t

Re: Django Model design

2016-03-27 Thread Bob Gailer
On Mar 27, 2016 9:41 AM, "Paria Parsamanesh" wrote: > > Hi , > I am new to Django and python and I want to connect to cloudera metadata database (postgre. ) > I have background in java, and db2, to design java model classes , we used logical data model and create UML

Re: DJANGO TUTORIAL

2016-03-22 Thread Bob Gailer
On Mar 21, 2016 7:24 PM, "Anthony W Smith" wrote: > > When I follow django tutorial on the django site for the polls app I keep getting the error after runnig the python manage.py runserver command it says no modsule named my site. You could 1) show us your directory

Re: Model or Form class

2016-03-10 Thread Bob Gailer
On Mar 10, 2016 9:01 PM, "Denis Makarov" wrote: > > Hello guys! In whitch cases need to use models.Model class and in whitch forms.Form? Models define tables in a database. Forms assist in creating HTML forms for gathering, valididating and saving user input. Does that

Re: execute python through ajax

2016-03-09 Thread Bob Gailer
On Mar 9, 2016 9:22 AM, "Florian Hoedt" wrote: > > Hello Django users, > I would like to execute some python code by JS. For example if somebody clicks on a openlayers map it should execute a python based query and get the result as JSON to render it on the map. > How would I

Re: Python on the web

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote: > > Hey, > > Need a simple python script put into a website. It uses the requests module. > > $20? Any takers? Strictly speaking this isn't the place to buy services. Also we would need a lot more information. Can you guess

Re: Single Page Application in Django

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 7:04 AM, "Avraham Serour" wrote: > > DRF I'll bite - what is DRF? Google does not help with that. -- 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

Re: Django OVH

2016-03-04 Thread Bob Gailer
On Mar 4, 2016 5:09 PM, "Cedric Vallee" wrote: > > To whom it may concern, > > I followed my friends' advice and coded a website in Django, but now it seems virtually impossible to find documentation about how to host a Django website on 'classic' hosting servers like

Re: Integrate appliction into Django

2016-02-28 Thread Bob Gailer
On Feb 28, 2016 7:50 AM, "Alain Muls" wrote: > > Hi All, > > I made a program that creates 4 plots and text files about the location of GNSS (Global Navigation Satellite Systems) based on TLEs downloaded from NORAD. > You can find it at

Re: Home Page

2016-02-23 Thread Bob Gailer
On Feb 23, 2016 7:59 AM, "Malik Rumi" wrote: > > Why is there so little information in the docs Documentation evolves. User input helps that process. Perhaps you can make a contribution as you learn. about how to build a home page I'm not sure what you're looking for

no module named ...

2016-02-21 Thread bob gailer
Following the tutorial I created projectmysite and the polls app. Everything is fine. I then started another app, tma, ran server and everything is fine. Then I added url(r'^ tma/', include(' tma.urls')),to mysite/urls.py Now when I runserver I get: Unhandled exception in thread

Re: problem with DJANGO_SETTINGS_MODULE

2016-02-20 Thread bob gailer
On 2/19/2016 1:25 PM, bob gailer wrote: After several days of running my server with no problem I am suddenly confronted with: "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the enviro

problem with DJANGO_SETTINGS_MODULE

2016-02-19 Thread bob gailer
After several days of running my server with no problem I am suddenly confronted with: "django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call

Re: How to install on windows?

2016-02-16 Thread bob gailer
with python35 and now I am making good progress. Thanks for the nudge. 3. Continue with https://docs.djangoproject.com/en/1.9/howto/windows/ Good luck and welcome! On 15/02/2016 11:48 AM, bob gailer wrote: I tried following the instructions at https://docs.djangoproject.com/en/1.9/howto/windows

How to install on windows?

2016-02-14 Thread bob gailer
I tried following the instructions at https://docs.djangoproject.com/en/1.9/howto/windows/. I installed Python in C:\python35. After that most things didn't seems to work as promised. Python 3.5 does not appear in the PATH. (Python 3.3 is there.) Yes I checked |Add Python 3.5 to PATH.

Re: Getting NoReverseMatch and can't find the mistake

2015-11-20 Thread Bob Aalsma
How big can a smile be? Works! Thanks! Bob -- 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

Re: Getting NoReverseMatch and can't find the mistake

2015-11-20 Thread Bob Aalsma
Cheers Daniel, I'll review, modify and try again! -- 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

Re: Getting NoReverseMatch and can't find the mistake

2015-11-19 Thread Bob Aalsma
Umm, one of the things I've found difficult is to determine the logic in the translation of the class names in models.py to other variables. And I'm sorry to have not included the models.py. This is the part of ZoekVraag: class ZoekVraag(models.Model): vrager =

Re: Getting NoReverseMatch and can't find the mistake

2015-11-19 Thread Bob Aalsma
Really sorry Tom, I've been looking at your text and thinking about it for most of today, but no penny dropping. I'm rather unsure which bits go where, I'm trying to understand this by rebuilding the tutorial. I can't seem to get my head around this 'reverse()' part: the reverse() as such is

Getting NoReverseMatch and can't find the mistake

2015-11-17 Thread Bob Aalsma
Sorry, can't seem to find what's wrong here, please help: what am I missing??? I'm seeing NoReverseMatch at /zoekopdrachten/4/resultaat/ Reverse for 'resultaat' with arguments '('',)' and keyword arguments '{}' not found. 1 pattern(s) tried: [u'zoekopdrachten/(?P[0-9]+)/resultaat/$'] Request

Re: I want to make todo List

2015-09-26 Thread Bob Gailer
That's a noble objective. To help us help you please be more specific and detailed. I assume since you are communicating with the Django list that you want a web app that will give the user a place where he can enter edit/delete etc search for to do activities and a place on the cloud to store the

Re: cms web buyilding

2014-08-16 Thread Bob Gailer
Go to the joomla site and see what you think. Bob gailer On Aug 16, 2014 6:05 AM, "ngangsia akumbo" <ngang...@gmail.com> wrote: > I was having an augment about learning how to code from scratch and using > content management systems like joomla, dupal to build websites. &g

Re: Django HTML5 & CSS validation - Best Practice?

2014-06-06 Thread Bob Cochran
On 06/05/2014 08:33 PM, 77c...@gmail.com wrote: what is the best practice to validate HTML5 and CSS? I use this: http://validator.w3.org/ & http://jigsaw.w3.org/css-validator/ Is there something better? Bob -- You received this message because you are subscribed to the Google Groups &qu

Re: csrf question

2014-05-15 Thread Bob Gailer
On May 15, 2014 2:36 AM, "G Z" wrote: > > So I read the documentation on passing csrf tokens, however its giving me an issue i think its because im trying to pass it as a dictonary variable with my form and customers. > > This is from the documentation > > from

Re: Newbie: do I need to upload in order to access data?

2013-08-11 Thread Bob Aalsma
Hi Tom, OK, thanks. The file I'd want to read is a parameter file which contains user specific information. I just need to know the data to guide the actions, no need to store or keep it. So I'll just accept the upload, extract the data and then delete the upload. Oh well ;) Regards, Bob

Re: Newbie: do I need to upload in order to access data?

2013-08-11 Thread Bob Aalsma
Thanks Nigel. OK, at least this has stopped me running around in circles and I can continue from here. I would think you can do stuff client side, but this is probably more Python and less Django - to be solved in future releases ;) Regards, Bob Op 11 aug. 2013, om 00:10 heeft Nigel Legg

Re: Newbie: do I need to upload in order to access data?

2013-08-10 Thread Bob Aalsma
I think this means the contents of the file is copied from the user disk to my disk, right? - "pointing them to the correct directory and file." - could I not simply point to the *original* directory and file (on the user's machine) and read the contents from that location

Newbie: do I need to upload in order to access data?

2013-08-10 Thread Bob Aalsma
and FieldFile and connected methods Question 2: how do I find the indicated path and filename from the user? Regards, Bob -- 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, sen

Re: Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-10 Thread Bob Barcklay
the same thing but I'll need to serialize these lazy proxy objects to my database and that just seems more complicated. Why not just use the original string and invoke pgettext at the right time? Does the _lazy version do something else for me? -Bob On Tuesday, July 9, 2013 4:10:42 PM UTC-7

Django Translation: Why is there no pgettext_noop or npgettext_noop?

2013-07-09 Thread Bob Barcklay
--keywords for pgettext_noop and npgettext_noop. Is this the correct approach? -Bob -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-user

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-15 Thread Bob Haugen
responding on django-users lately. On Sat, Dec 15, 2012 at 4:13 AM, Bob Haugen <bob.hau...@gmail.com> wrote: > On Sat, Dec 15, 2012 at 1:16 AM, Chris Cogdon <ch...@cogdon.org> wrote: >> I never got the warnings you got, but I got three errors along the lines

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-15 Thread Bob Haugen
On Sat, Dec 15, 2012 at 1:16 AM, Chris Cogdon wrote: > I never got the warnings you got, but I got three errors along the lines of: > IntegrityError: valueaccounting_economicagent.created_date may not be NULL > Want me to grab a different revision from git ? Fixed that one.

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
Also, I recognize this is way beyond the call of duty, but if you really want to reproduce the problem, you might need to follow: https://github.com/valnet/valuenetwork/blob/master/docs/install.txt On Fri, Dec 14, 2012 at 7:06 PM, Chris Cogdon wrote: > Checked out the code and

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
I'm running ./manage.py test valueaccounting -- 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

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
On Fri, Dec 14, 2012 at 6:07 PM, Chris Cogdon wrote: > Throw the code up somewhere I can see the results for myself? https://github.com/valnet/valuenetwork/blob/master/valuenetwork/valueaccounting/tests.py -- You received this message because you are subscribed to the Google

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
But sincerely, Chris, thanks for hanging in there on this. I baffled. On Fri, Dec 14, 2012 at 5:51 PM, Bob Haugen <bob.hau...@gmail.com> wrote: > On Fri, Dec 14, 2012 at 5:42 PM, Chris Cogdon <ch...@cogdon.org> wrote: >> Okay, so when you create your datetimes,

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
On Fri, Dec 14, 2012 at 5:42 PM, Chris Cogdon wrote: > Okay, so when you create your datetimes, are you defining them with a > timezone ? I tried that; did not make any difference. The error messages came up before any of the test setup code ran. (I put a pdb trace in at the

Re: getting "DateTimeField received a naive datetime" error but have no DateTimeFields

2012-12-14 Thread Bob Haugen
On Fri, Dec 14, 2012 at 3:02 PM, Chris Cogdon wrote: > Nothing definitive, but from checking the location of the code that is > raising the warning, I suspect one of the following: > > 1. USE_TZ is not set in your production code, but _is_ set in your settings > file for your

Re: newbie: patch required? procedure? [closed ticket 16017 / createsuperuser]

2012-09-14 Thread Bob Aalsma
Well, I have tried your suggestion in all places I could think of and none of those helped: the createsuperuser kept returning the same error message. I posted this as a reply some 24 hours ago. Op donderdag 13 september 2012 16:58:11 UTC+2 schreef Bob Aalsma het volgende: > > I'm a

Re: newbie: patch required? procedure? [closed ticket 16017 / createsuperuser]

2012-09-14 Thread Bob Aalsma
SOLVED by Tom Evans: insert unset LC_CTYPE ; export LANG="nl_NL.UTF-8" into .bash_profile Op donderdag 13 september 2012 16:58:11 UTC+2 schreef Bob Aalsma het volgende: > > I'm a newbie following the tutorial. In this, creating a superuser is > described, using > >

  1   2   3   >