Re: Help! I begginer...

2022-04-29 Thread Derek
You may need to update the version of Django you're running; the current source code (https://github.com/django/django/blob/main/django/db/models/sql/query.py) shows this import: from collections.abc import Iterator, Mapping Hope that helps. On Tuesday, 26 April 2022 at 18:34:34 UTC+2

Help! I begginer...

2022-04-26 Thread Ricardo Pereira de Azevedo
Error: File "C:\Users\tecnico.ricardo\PycharmProjects\pythonProject01\venv01\lib\site-packages\django\db\models\sql\query.py", line 11, in from collections import Counter, Iterator, Mapping, OrderedDict ImportError: cannot import name 'Iterator' from 'collections'

Re: Django begginer

2019-11-27 Thread Daniel Almeida
Thank you guys I set as charfield and will be ok for now. So maybe u can help me further, this is a timesheet app and I have all set in django admin. I can add and delete data from my table in the administration mode. Now my question is how can I import this to a html template to be able to

Re: Django begginer

2019-11-26 Thread JVALREY JVALREY
Hola Daniel, Creo que al no declarar el campo "project" como un atributo (CharField, etc) que pueda interpretar el ORM de Django, no lo detecta al momento de declararlo en el admin.register. Tal vez te pueda funcionar declarar ese campo "project" de la clase Task, que apunte a la clase

Django begginer

2019-11-26 Thread Elijah O. Raji
What exactly do you want the variable 'project' to do because you did not Include any field with it. -- 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 begginer

2019-11-26 Thread Daniel Almeida
HI guys I´m trying to make a simple timesheet app, first time I´m programming. So I have this code where I set in models.py the Client and then I want to have the Project class sync with the Client class. So for each Client I have a different set of Projects. Now my problem is in Task class I

Re: I Am A Begginer Web Developer - Need Help With Finding A Term

2019-04-02 Thread nm
Hi Rok, I suppose you want to *list* all your posts :) List is where you display many instances on one page (and your url is e.g. `.../classes/`). And as you probably already know, if you want to retrieve just one post (or class, or whatever you call it), you need a detail view, and the url

Re: I Am A Begginer Web Developer - Need Help With Finding A Term

2019-04-01 Thread ANi
Just query the data maybe by filtering and set the results in different variables, then pass them and you can get different data in one template. for querying you can see the document https://docs.djangoproject.com/en/2.1/topics/db/queries/ hope it helps Rok Klancar於 2019年4月2日星期二

I Am A Begginer Web Developer - Need Help With Finding A Term

2019-04-01 Thread Rok Klancar
Hello developers! Much respect to you all. I have just finished a couple of hours browsing the web, but found no solution. I guess my problem is simply *not knowing the right term *for the thing that I am trying to make (in Django of course). Brief description: I have made a class 'Post' in

Re: Django: Begginer Problems

2016-05-31 Thread Akhil Lawrence
As Ryan mentioned. Go through the forms tutorial. Formsets may also help. Have a look. https://docs.djangoproject.com/en/1.9/topics/forms/formsets/ On Monday, 30 May 2016 04:54:16 UTC+5:30, David Zárate wrote: > > Hi! I'm making a financial analysis app in Django and to have some data to >

Re: Django: Begginer Problems

2016-05-31 Thread 'Ryan Nowakowski' via Django users
On Sun, May 29, 2016 at 02:22:48PM -0700, David Zárate wrote: > Hi! I'm making a financial analysis app in Django and to have some data to > play with i have to store historical data of balance sheets and profit/loss > statements. I need some suggestions on how i can accomplish that. > >

Django: Begginer Problems

2016-05-29 Thread David Zárate
Hi! I'm making a financial analysis app in Django and to have some data to play with i have to store historical data of balance sheets and profit/loss statements. I need some suggestions on how i can accomplish that. These are my models so far: class Entity(models.Model): """ Holds information

Re: syncdb issue (begginer stuff)

2013-08-26 Thread Andre Terra
On Mon, Aug 26, 2013 at 1:19 PM, Natko Perko wrote: > @laurent i guess it worked, but now i get the error no module named > wikicamp.wiki.. this is all the code i have so far.. make sure the folder containing wikicamp is inside your PATH so you don't get import errors.

Re: syncdb issue (begginer stuff)

2013-08-26 Thread Natko Perko
@laurent i guess it worked, but now i get the error no module named wikicamp.wiki.. this is all the code i have so far.. from django.db import models # Create your models here. class Page(models.Model): name = models.CharField(maxlength="20", primary_key=True) content =

Re: syncdb issue (begginer stuff)

2013-08-26 Thread Mantas Zilinskis
for your environment: you should definitely look into this http://www.jeffknupp.com/blog/2012/02/09/starting-a-django-project-the-right-way/ if you're using mac also this http://hackercodex.com/guide/python-virtualenv-on-mac-osx-mountain-lion-10.8/ setup your settings.py

Re: syncdb issue (begginer stuff)

2013-08-26 Thread Laurent Meunier
On 26/08/2013 14:34, Natko Perko wrote: Hi out there, I just dove into Django (literally) and had so many issues installing it and knowing where to start from that I don't even know how I made it this far, so i finally started working on a project by mimicing this tutorial

Re: Begginer

2013-02-27 Thread Akshay Ramesh
Thank you Abhijeet :) On Wed, Feb 27, 2013 at 6:00 PM, abhijeet shete wrote: > Hi Akshay, > > Django's online documentation is very good. > Here is the link for documentation. https://docs.djangoproject.com/en/1.4/ > > > > On Wed, Feb 27, 2013 at 1:59 PM, Akshay

Re: Begginer

2013-02-27 Thread Roberto López López
Try https://docs.djangoproject.com/en/1.5/intro/ On 02/27/2013 09:29 AM, Akshay Ramesh wrote: > Hi I am new to Djnago and would like to have some help from you. Where > should I start from ? > -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Begginer

2013-02-27 Thread abhijeet shete
Hi Akshay, Django's online documentation is very good. Here is the link for documentation. https://docs.djangoproject.com/en/1.4/ On Wed, Feb 27, 2013 at 1:59 PM, Akshay Ramesh wrote: > Hi I am new to Djnago and would like to have some help from you. Where >

Begginer

2013-02-27 Thread Akshay Ramesh
Hi I am new to Djnago and would like to have some help from you. Where should I start from ? -- 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