Re: View "functions" that are callables?

2024-05-16 Thread Anthony Flury
I can't see why not - as far as Python is concerned a callable is a callable. There is a deep in the weeds way for a caller to determine if a callable is a __call__ method on a class, but I really doubt Django does anything close to that - what would be the benefit. On Wed, May 15, 2024 at 8:39 

Re: Account verification

2024-05-13 Thread Anthony Flury
Your register view is setting is_active to True - regardless of email verification. Remember that the email confirmation will happen asynchronously to the registration. What I do is have a separate table that records that a user needs to complete the verification process. So registration sends

Re: Exciting Opportunity: Join Our Django WhatsApp Bulk Messaging Project!

2024-02-19 Thread Delsan Anthony Soliva
I would love to contribute on this project My account is github.com/delsananthony On Mon, Feb 19, 2024, 12:48 AM SURAJ TIWARI wrote: >  Join Our Django WhatsApp Bulk Messaging Project! > >  Hello everyone, > > Are you looking for an exciting opportunity to gain hands-on experience in > Django

Re: Looking for collaborators for an online marketplace project with Python, Django, React.js and Next.js

2024-02-11 Thread Anthony Blake
Hey I’m interested On Sat, Feb 10, 2024 at 11:54 AM Jorge Bueno wrote: > The project: > > I am working on an exciting project that I think you might be interested > in. It's about an online marketplace similar to the US farmers and > livestock markets, but with an online focus. The project is

Re: Internship and job in python and Django related

2023-06-07 Thread Anthony Allen
Hello Brother. Please am currently learning python/Django. Please I will need your help wherever necessary please my brother; On Wed, Jun 7, 2023 at 3:17 PM Shubham DJ wrote: > Hello, I’m Shubhang Jori from Nerul Navi Mumbai. I have been learning web > development for a few months now and have

django site using allauth in an iframe inside a wiki

2020-07-24 Thread Anthony Petrillo
We have a django site that we have created, which requires authentication (using allauth). We would love to have that django site in an iframe inside a wiki. We can get other things to show up in the iframe (google docs, etc), but our site refuses to run. Is there a secret we should know,

RE: Open Source IDE to start with Django Web development

2019-11-07 Thread Anthony Winner
(for Python, CSS, strait text, …) , a debugger, DB admin and management, some web admin,… Cheers Anthony From: django-users@googlegroups.com On Behalf Of Siratim Mustaquim Sent: Thursday, November 7, 2019 5:39 AM To: django-users@googlegroups.com Subject: Re: Open Source IDE to start

Re: Django bootstrap calendar

2019-10-04 Thread Anthony Goslar
Simpleisbetterthancomplex.com Kind Regards On Fri, 4 Oct 2019, 09:32 lemme smash, wrote: > it's more about client, so you probably want to look for calendar > libraries and then JUST make an api for it. > > On Tuesday, September 24, 2019 at 12:47:37 AM UTC+3, Perceval Maturure > wrote: >>

Re: Staticfiles on S3

2019-09-16 Thread Anthony Goslar
were correct. Anthony On Mon, 16 Sep 2019, 22:01 Elias Coutinho, wrote: > It seems that one of the problems is occurring while downloading the files. > > See this error image: > > [image: image.png] > > If I go to Direct Link it usually downloads: > > > https://gsm-

Sticky keyboard creating multiple objects from a create form

2019-09-16 Thread Anthony Goslar
Hey guys I have a user who has a problem with his keyboard. When he's captured an expense from my form, it seems like his key was sticking and it created ~50x objects in the database. Is there a post validation function I can use to raise an error with this type of problem? Obviously *fix the

Re: Django how to print pstree in a webpage?

2019-02-26 Thread anthony . tedde . 85
Hi, I suppose that it depends on the form and type of your pstree variable (tuple, list, dict...) and also if you put it as a context variable. Could you send us the related view ? Thx Le lundi 25 février 2019 13:18:19 UTC+1, Eswar Dileep a écrit : > > I have created a django project and now

Re: Tag block and endblock

2019-02-26 Thread anthony . tedde . 85
Hi Nexx Simply put, and as explained by Motaz, *block *is a django special purpose function called *template tag *which help to organize hierarchically your templates. Short better than long, see the following documentation: https://docs.djangoproject.com/en/2.2/ref/templates/builtins/#block

Re: 'URLPattern' Object is not a mapping

2019-02-26 Thread anthony . tedde . 85
Hello, Don't you have another urls.py file inside the directory that have the same name as your project. Probably something like that: + yourproject + yourproject - __init__.py - settings.py - -* urls.py* - If yes, what does it

Re: 'URLPattern' Object is not a mapping

2019-02-26 Thread anthony . tedde . 85
Hi, Django's version is in the screenshot (2.1.4) Le mardi 26 février 2019 13:38:24 UTC+1, ANIL UMARANE a écrit : > > which version django you have used > > > On Tue, Feb 26, 2019 at 5:51 PM Tina Upadhyay > wrote: > >> Getting this error and the urls.py of my model is as shown below: >> >> >>

Re: Invalid pk \"1\" - object does not exist.

2019-02-26 Thread anthony . tedde . 85
Hello, What if you use kind of the following as json data: nb: The following model is a simplified version with only two fields (name and manager which is a FK to itself such as in yours). [ { "model": "YourApp.YourModelName", "pk": 1, "fields": { "name": "toto",

Re: How to save multiple model form in one template?

2018-09-07 Thread Anthony Petrillo
Here is an example. I've cut out some of the code, but I this will give you the general idea. Note, I move the data from the Day form in to the Classes table. But you could just save both sets of data to their respective tables if desired. in views.py class

Re: DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
listo solo coloque en el settings de mi proyecto la siguiente configuración. DEBUG_TOOLBAR_CONFIG = { 'JQUERY_URL': '', } El 16 de julio de 2018, 9:36, robert anthony perez araujo < io.perez.rob...@gmail.com> escribió: > Buenas amigos, alguien me puede ayudar con algo de DEBUG_TOOLBAR

DEBUG_TOOLBAR

2018-07-16 Thread robert anthony perez araujo
Buenas amigos, alguien me puede ayudar con algo de DEBUG_TOOLBAR necesito que no utilice el Jquery que trae por defecto... Espero me puedan ayudar con eso, he leido sobre una configuracion pero donde debo hacerla? -- You received this message because you are subscribed to the Google Groups

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread 'Anthony Flury' via Django users
On 14/07/18 15:59, Mickael Barbo wrote: Hi Anthony  Michael Thanks for sharing your experience. "1 file one object doesn't mean what you think it means." I hope you get the meaning I described  I understand what you mean - I just don't agree with your analysis of one file

Re: App structure : "One file - One object" - Is there a better way ?

2018-07-14 Thread 'Anthony Flury' via Django users
On 14/07/18 15:59, Mickael Barbo wrote: Hi Anthony  Michael Thanks for sharing your experience. "1 file one object doesn't mean what you think it means." I hope you get the meaning I described  I understand what you mean - I just don't agree with your analysis of one file

Re: Beginner

2018-07-14 Thread 'Anthony Flury' via Django users
collections with the python developers. Documentation of the existing feature sets would be useful too. On Thu, Jul 12, 2018, 11:41 AM Harsh Rawat <mailto:harsh.rawa...@gmail.com>> wrote: Thanks a lot . On Thu, Jul 12, 2018, 3:11 AM 'Anthony Flury' via Django users mail

Re: How start django server automatically using pytest-django

2018-07-11 Thread 'Anthony Flury' via Django users
ps.com <https://groups.google.com/d/msgid/django-users/d18ca5b1-6426-405b-8348-91c13ace1bb9%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury

Re: Beginner

2018-07-11 Thread 'Anthony Flury' via Django users
['shopping-cart'] rather than say :         pip install Django[anthony] while 'anthony' is a perfectly fine name (my parents definitely liked it), it isn't particularly useful in this case; if you saw that in an installation script you would wonder why Django was being installed using that option

Re: Beginner

2018-07-11 Thread 'Anthony Flury' via Django users
ooter>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" gr

Re: help

2018-07-09 Thread 'Anthony Flury' via Django users
.com>. To post to this group, send email to django-users@googlegroups.com <mailto:django-users@googlegroups.com>. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAPkbFbbjYhT0joH%2BF

Re: help

2018-07-09 Thread 'Anthony Flury' via Django users
= models.ForeignKey(Board, related_name='topics')" the actual error is that the line is missing the on_delete argument - it really is that simple. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received thi

Re: Beginner

2018-06-28 Thread 'Anthony Flury' via Django users
it https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this g

Re: simple django application since im a beginner I'm unable to doit..

2018-06-27 Thread 'Anthony Flury' via Django users
449b-85b2-e7e91ab86b82%40googlegroups.com <https://groups.google.com/d/msgid/django-users/40926567-952b-449b-85b2-e7e91ab86b82%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com*

Re: how to pass the ID of a slected item in a list to ORM

2018-06-15 Thread Anthony Anonde
Sorry your question is a bit complicated, you have a form that contains a list of names and id, what data types are they contain in? Understand how the list box is structured will help to give you a better ans -- You received this message because you are subscribed to the Google Groups

Re: Django Admin verification

2018-06-15 Thread Anthony Anonde
I will suggest to have a field with active set to false, so when the use signs in you cleaned the data send a notice to the admin, mean while the user info is save to the database but user account is not active because the field active is set to false. When the admin sees the user data he can

Re: saving django session data for anonymous user

2018-06-15 Thread 'Anthony Flury' via Django users
with the new session key. On 13/06/18 13:40, Siddharth Srivastava wrote: Thanks  Anthony for your prompt reply. current implementation is that i am using django orm query to pull the user cart details and cart id(session key) is the key so when user switch from anonymous user to actual user then i

Re: saving django session data for anonymous user

2018-06-12 Thread 'Anthony Flury' via Django users
google.com/d/msgid/django-users/d17bbc16-4c0b-4d06-bfa5-af814a20cbc6%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.co

Re: Reusable Code like Helper OR Component.

2018-06-12 Thread 'Anthony Flury' via Django users
tps://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop re

Re: Problem with get_absolute_url() in admin

2018-06-10 Thread Anthony Anonde
the example.com is am example django give for Site. Which means there is a way for you to manage more than one site at a time, basically using the site_id. To you Questions, i don't understand why you want to hard code your uri routing like that when you can easily use the app_name and name

Re: what does the below mentioned error means and how do i resolve this error.something is wrong with my admin.py file.Please comment:

2018-06-08 Thread 'Anthony Flury' via Django users
tps://groups.google.com/d/msgid/django-users/CAEx5wm7JH77g9JfU%3DzHY3%2BCiDbnD3vDnaXLy%3DV1mE8E2wCrd2g%40mail.gmail.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlur

Re: is this my correct results.html and detail.html code?i am only a beginer, please check

2018-06-06 Thread 'Anthony Flury' via Django users
or more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscri

Re: Generating server-side off-line HTML of Django pages ...

2018-06-06 Thread 'Anthony Flury' via Django users
oglegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Go

Fwd: Re: relation “” does not exist in django for app name with mixed-case

2018-06-06 Thread 'Anthony Flury' via Django users
Forwarded Message Subject: Re: relation “” does not exist in django for app name with mixed-case Date: Wed, 6 Jun 2018 17:22:13 +0100 From: Anthony Flury To: Majid Hojati The problem isn't the name of the model. I doubt Django is going to have an issue

Re: python manage.py (anything) NOT WORKING ANYMORE

2018-06-04 Thread 'Anthony Flury' via Django users
sit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Updating django database

2018-06-02 Thread 'Anthony Flury' via Django users
mail.gmail.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the G

Re: Updating django database

2018-06-02 Thread 'Anthony Flury' via Django users
.com/d/msgid/django-users/CAEohp0dkVzwRZWe9ig8cWWVyXq08K_qndfVmSpj8AM9Zxgaf-Q%40mail.gmail.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You

Re: Error while doing django tutorial part 2

2018-05-27 Thread 'Anthony Flury' via Django users
What is the code for your Choice model. The error message clearly states that the Choice model is the one with the problem. -- Anthony Flury email : anthony.fl...@btinternet.com Twitter : @TonyFlury > On 26 May 2018, at 18:47, Kranthi Kiran <1991.kran...@gmail.com> wrote: > >

Re: Is there a WYSIWYG app I can use for an inherited Django created website?

2018-05-26 Thread 'Anthony Flury' via Django users
page to an existing site requires you to understand something of the Django framework (so that you know how page requests get translated into views on templates). -- Anthony Flury email : anthony.fl...@btinternet.com Twitter : @TonyFlury > On 26 May 2018, at 17:34, DjamgoNewbie <mikerom...

Re: Multisite strategy

2018-05-24 Thread Anthony Petrillo
Thanks Melvyn. That helps a lot. Anthony On Thu, May 24, 2018 at 1:18 PM, Melvyn Sopacua <m.r.sopa...@gmail.com> wrote: > On donderdag 24 mei 2018 16:39:34 CEST Anthony Petrillo wrote: > > > > > So I was thinking that was an option so that I could build one site and >

Re: Temporal table in Django 1.6

2018-05-24 Thread 'Anthony Flury' via Django users
. To create a well rounded extension (like the one above) is more work - but for a specific solution for your project, implementing your own shouldn't be that difficult -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/> *On 21/05/18

Re: Multisite strategy

2018-05-24 Thread Anthony Petrillo
I'm new at this Django stuff, so this is more of a question than a suggestion. I keep seeing a references to translating. I found in the manual the following: 3.15 Internationalization and localization 3.15.1 Translation Overview In order to make a Django project translatable, you have to add

Re:

2018-05-23 Thread 'Anthony Flury' via Django users
Does the file actually exist - it should be in : *my_site/polls/templates/polls/* https://docs.djangoproject.com/en/2.0/intro/tutorial03/#write-views-that-actually-do-something     Assuming you haven't changed the TEMPLATES settings in some way. -- -- Anthony Flury email : *anthony.fl

Re: getting error while reloading the url"http://localhost:8000/polls/".The error is given below.Please tell my why i am seeing this error?

2018-05-22 Thread 'Anthony Flury' via Django users
because the app name is 'polls' - you have to be explicit about the url path that needs to be matched. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 22/05/18 16:27, Avitab Ayan Sarmah wrote: Mysite\urls.py: from django.c

Re: Unit testing models.py

2018-05-14 Thread 'Anthony Flury' via Django users
iscussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91oeJYPGbLaJAZbJqd3jxbDcY6m3d8e2fSE06_E_ZwXXosQ%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAHn91oeJYPGbLaJAZbJqd3jxbDcY6m3d8e2fSE06_E_ZwXXosQ%40mail.gmail.com?utm_medium=email_source=footer>. For more options, visi

Re: I canot upload files how can i fix it

2018-05-14 Thread 'Anthony Flury' via Django users
m/d/msgid/django-users/353c96a5-5946-4530-beb4-71ad83c0366b%40googlegroups.com <https://groups.google.com/d/msgid/django-users/353c96a5-5946-4530-beb4-71ad83c0366b%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Antho

The path to my login template after registration is incorrect, but the path to the registration template in the same directory is correct, I don't understand why.

2018-05-12 Thread Anthony Orona
I set up user registration by subclassing generic.CreateView in an app called Accounts. and I then set up my urls using django.contrib.auth.urls. I can register a user but when I try to redirect to the login page, I get this error:

Re: sphinx is showing the django base views instead of my own views.py

2018-05-08 Thread Anthony Petrillo
doc.org/en/stable/ext/autodoc.html#confval-autodoc_mock_imports Anthony On Friday, May 4, 2018 at 11:25:20 AM UTC-4, Anthony Petrillo wrote: > > The view being shown when using Sphinx on a Django site is: > > > <https://lh3.googleusercontent.com/-IyVWh5g

Re: Username same as user id

2018-05-07 Thread 'Anthony Flury' via Django users
- this isn't a Django issue. On 07/05/18 01:56, lakshitha kumara wrote: hi anthony Look at the facebook registration form. there are no username field first time user registration. but once user registered they can set username what they want. Thanks On Sunday, May 6, 2018 at 8:13:55 PM UTC+5:30

Re: Username same as user id

2018-05-07 Thread 'Anthony Flury' via Django users
s/a5474895-5676-449f-834f-4d3ab30594dd%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this

Re: Username same as user id

2018-05-06 Thread 'Anthony Flury' via Django users
I can't imagine having an application where username is optional ... On 06/05/18 17:48, lakshitha kumara wrote: hi anthony Thank you for reply on this site username field not required field for user  but its set as required field on backend so i need assing user id as as username if username

Re: While going through django tutorial i found some errors when i tried to execute the python manage.py runserver.The error is attached below:

2018-05-06 Thread 'Anthony Flury' via Django users
go-users/12b0418f-7979-4d07-b827-68b0c227%40googlegroups.com <https://groups.google.com/d/msgid/django-users/12b0418f-7979-4d07-b827-68b0c227%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony

Re: sphinx is showing the django base views instead of my own views.py

2018-05-05 Thread Anthony Petrillo
orks fine. I'm hoping my mistake is obvious to you. Thanks so much for your time. On Friday, May 4, 2018 at 11:25:20 AM UTC-4, Anthony Petrillo wrote: > > The view being shown when using Sphinx on a Django site is: > > > <https://lh3.googleusercontent.com/-IyVWh5g

Re: sphinx is showing the django base views instead of my own views.py

2018-05-05 Thread 'Anthony Flury' via Django users
: On 04/05/18 16:09, Anthony Petrillo wrote: The view being shown when using Sphinx on a Django site is: <https://lh3.googleusercontent.com/-IyVWh5gFHgg/Wux2UtHMdTI/XAM/ttdoOJAmaa0PZZSuKxsoEs27EJi45tssACLcBGAs/s1600/HMzGQ.png> The beginning of my views.py is: import os

Re: I got error when working on "Writing your first Django app, part 5" of tutorial

2018-05-05 Thread 'Anthony Flury' via Django users
4528-8bdb-9bccf351e5b7%40googlegroups.com <https://groups.google.com/d/msgid/django-users/22414d59-c59b-4528-8bdb-9bccf351e5b7%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.

sphinx is showing the django base views instead of my own views.py

2018-05-04 Thread Anthony Petrillo
The view being shown when using Sphinx on a Django site is: The beginning of my views.py is: import os from django.shortcuts import render, redirect from

Re: OperationalError

2018-05-03 Thread 'Anthony Flury' via Django users
groups.com <https://groups.google.com/d/msgid/django-users/e17d8d56-d57c-4f3d-ae6f-a004a5beda70%40googlegroups.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury &l

Re: Working through the Django tutorial and have run into a problem I cannot figure out. Help would be appreciated. What am I missing here? whenever is search the url "http://127.0.0.1:8000/polls/" th

2018-05-03 Thread 'Anthony Flury' via Django users
up at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAEx5wm6dhT3ZLPvKcFObV1Po26w82b3u%3DwFoj7GQm_iYUg2xzw%40mail.gmail.com <https://groups.google.com/d/msgid/django-users/CAEx5wm6dhT3ZLPvKcFObV1Po26w82b3u

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread 'Anthony Flury' via Django users
, Duška Miloradović wrote: Anthony, I got this: D:\projectdir>python create_dir.py Traceback (most recent call last):   File "create_dir.py", line 2, in     top_dir = path.join(os.getcwd(), 'python_created_me') NameError: name 'path' is not defined I searched for it through windows e

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread 'Anthony Flury' via Django users
On 03/05/18 08:06, Anthony Flury wrote: On Thursday, 03 May, 2018 03:25 PM, Daisy wrote: I tried what you suggested and got this: D:\projectdir>python create_dir.py Traceback (most recent call last):   File "create_dir.py", line 1, in     from os

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread 'Anthony Flury' via Django users
k ok. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* четвртак, 03. мај 2018. 01.08.04 UTC+2, TonyF-UK је написао/ла: Lets troubleshoot:   * Does the directory show up when you do a *dir* command in projectdir ?  

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-02 Thread 'Anthony Flury' via Django users
e options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubsc

Re: OperationalError

2018-05-02 Thread 'Anthony Flury' via Django users
this : $ python manage.py migrate -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/> *On 02/05/18 00:56, Gerald Brown wrote: I have a Django application that I am having problems with.  In the Admin page I have 3 section

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-30 Thread 'Anthony Flury' via Django users
and test this custom Field. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 30/04/18 08:24, guettli wrote: Am Donnerstag, 26. April 2018 15:54:31 UTC+2 schrieb Matthew Pava: I’ve been thinking about your idea,

Re: Django--Making query use part of the matching name

2018-04-28 Thread 'Anthony Flury' via Django users
2D8321EC1%40gmail.com?utm_medium=email_source=footer>. For more options, visit https://groups.google.com/d/optout. -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because you are subscribed to th

Re: Crazy Idea: OOP for "Hyperlink"

2018-04-25 Thread 'Anthony Flury' via Django users
ugin etc - it seems like there is a lot of commonality between the use cases. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 25/04/18 09:30, guettli wrote: Thank Adrien for sharing your knowledge. Our use cases have

Re: tutorial01 is not working

2018-04-24 Thread 'Anthony Flury' via Django users
le. Change that to False, and Django will display a standard 404 page. when i open http://127.0.0.1:8000/polls/ what could be the reason? -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* -- You received this message because yo

Re: ARGPARSE ERROR

2018-04-18 Thread 'Anthony Flury' via Django users
on 3 installed. Good luck. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFlury/>* On 12/04/18 20:58, Ankush Sharma wrote: Hi Babatunde , I installed other listed tools ! Here the main concern im talking about is Argsparse - the Pr

Re: Verify Emails

2018-04-07 Thread 'Anthony Flury' via Django users
will only go so far. In theory there is a defined protocol to allow clients to  query email servers for is valid email addresses - but most servers are set to ignore those requests - for obvious reasons. -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <ht

Re: why when using the tag AMP or ⚡, the server django load four times or more, and when deleting this tag only load one time? I need help

2017-08-13 Thread ANTHONY WAINER
El sábado, 12 de agosto de 2017, 5:49:05 (UTC-5), ANTHONY WAINER escribió: > > > <https://lh3.googleusercontent.com/-SmvLD8obKaI/WY6b4NfqoEI/Czc/phOuO0pVVLg04CG5G7BEaWTAZS4WmqGLwCLcBGAs/s1600/Captura.PNG> > > <https://lh3.googleusercontent.com/-bTNJztkxw8Q

why when using the tag AMP or ⚡, the server django load four times or more, and when deleting this tag only load one time? I need help

2017-08-12 Thread ANTHONY WAINER
-- You received this

Yet Another Can't get static files to show up in shared linux website on Godaddy

2017-04-10 Thread Anthony Percy
the "Alias" directive as I have no control over the http.conf file. It seems a pity to get this far and run into this brick wall!!! Do I have to run the whole mez project from the public_html dir??? Any suggestions? Best Regards Anthony -- You received this message because you are subscr

DJANGO TUTORIAL

2016-03-21 Thread Anthony W Smith
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. Please help Anthony -- You received this message because you are subscribed to the Google Groups "Django

Re: Django Newbie - Tutorial Recommendations?

2016-03-19 Thread Anthony W Smith
On Friday, March 18, 2016 at 8:31:56 AM UTC-4, Santosh Srinivas wrote: > > Hi Folks, > > I'm new to both Python and Django. > I am looking for high quality video tutorials on Django and Python from > your experience (paid is also fine). > > Please advise. > > Thank you. > Santosh > -- You

Re: VIdeo Lectures ?

2015-06-03 Thread Anthony Crawford
Codingforentrepreneurs.com On Monday, October 6, 2014 at 8:08:20 AM UTC-6, rishabh yadav wrote: > > Can anyone of u suggest me any good video tutorials for django ? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Turn off migrations completely in Django 1.7

2014-09-19 Thread Anthony Tuininga
migrations definitely make sense. I am able to add new fields within a > few seconds without having to do any extra work. It takes 2 minutes to > learn how to use migrations, and I will personally never look back. > > Mike > > > > On Thu, Sep 18, 2014 at 5:04 PM, Antho

Turn off migrations completely in Django 1.7

2014-09-18 Thread Anthony Tuininga
or alter any database objects and up to Django 1.6 I could quite happily ignore syncdb but it seems I can't ignore migrations. Please advise! Thanks. Anthony -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Django Queryset with filtering on reverse foreign key failing

2014-07-31 Thread Anthony
um=email_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- Anthony Hawkes E-Mail: lifesillus...@gmail.com Ph: 0400 372 260 -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Django Queryset with filtering on reverse foreign key failing

2014-07-24 Thread Anthony Hawkes
Hi All, I'm currently using a MSSQL DB to access some data and am using django's inspectdb results. I've had to tweak some of the model but so far things have been smooth sailing. Today I needed to run a lookup that spanned through some tables forward and reverse and tested the following in

Re: Django case, when, then on querysets

2014-05-14 Thread Anthony
for thousands of records, surely this wouldn't be effective? Or am I simply overestimating the effort required for Python to work with the results? On Thu, May 15, 2014 at 4:14 AM, Daniel Roseman <dan...@roseman.org.uk>wrote: > On Wednesday, 14 May 2014 01:20:39 UTC+1, Anthony Haw

Re: Django case, when, then on querysets

2014-05-13 Thread Anthony
could dynamically create it. Ant On 14/05/2014 7:25 AM, "Tom Evans" <tevans...@googlemail.com> wrote: > On Tue, May 13, 2014 at 11:04 PM, Anthony <lifesillus...@gmail.com> wrote: > > Basically when a queryset like > > instance.annotate(totals=Count('item_descr

Re: Django case, when, then on querysets

2014-05-13 Thread Anthony
t; <tevans...@googlemail.com> wrote: > On Tue, May 13, 2014 at 1:00 AM, Anthony Hawkes <lifesillus...@gmail.com> > wrote: > > Hi Guys, > > > > I need to replace results in a queryset and then perform counts and > further > > queries on the set and have been

Django case, when, then on querysets

2014-05-12 Thread Anthony Hawkes
Hi Guys, I need to replace results in a queryset and then perform counts and further queries on the set and have been trying to find a way of doing it. Basically in some but not all cases I get a set of results eg select * from table and then I want to do a: case when column = 'some value'

Re: if statement in django

2014-04-05 Thread Anthony Smith
amount_price def save(self): self.total_price = self.calc_total_price() super(SaleNote, self).save() def __unicode__(self): return self.buyer cheers anthony On Sun, Apr 6, 2014 at 3:20 PM, Jay Lozier <jsloz...@gmail.com> wrote: > > On 04/05/2014

if statement in django

2014-04-05 Thread Anthony Smith
Hi I have a small project and I have been unable to get the following statement to work. Any help would great.User inputs can either self_sale_head which is a $ value,if a $ value is not add a self.estimated_weight_hd is used to get the total weight, the code below should return a

Re: Making functions callable

2014-03-26 Thread Anthony Hawkes
Thanks Guys, especially Javier! I've spent so much time trawling Google for this info! On Thursday, 27 March 2014 04:57:30 UTC+8, Anthony Hawkes wrote: > > Hi Guys, > > I'm running into a problem with django(I guess this would also affect > Python in general) where if I create

Re: Making functions callable

2014-03-26 Thread Anthony
DeRosa <jo...@ipstreet.com> wrote: > For the default value to work as you expect, do this: > > def view(request, year=None): > if year is None: > year = today.year() > > > Kwarg defaults are evaluated when the module is interpreted for the first > time. > >

Making functions callable

2014-03-26 Thread Anthony Hawkes
Hi Guys, I'm running into a problem with django(I guess this would also affect Python in general) where if I create a view eg def view(year=today.year()) The year is never re-evaluated until the server is reloaded/restarted I'm trying to figure out how to make a callable method accessible as a

Oracle 'invalid identifier' and SQL select structure

2014-01-15 Thread Anthony Hawkes
I'm having trouble with django 1.6 running queries on a table I need to pull data from When I run the following from shell CRMData.objects.filter(Incident_Date='2014-01-14') I get: DatabaseError: ORA-00904: "ODBC_EXTRACT_DAILY"."INCIDENT_DATE": invalid identifier I've run queries in sqlplus

Re: Any Django users in Reims (France) ?

2013-08-21 Thread anthony tresontani
Salut, Je suis sur Metz mais ca peut m'intéressé :) Anthony Le 21/08/2013 08:28, Fabrice Romand a écrit : Bonjour, Je cherche des dev Django dans la région de Reims (France) pour organiser des rencontres sympas et échanger sur notre plateforme préférée voire développer ensemble nos

Pickling of dinamically created models.Model subclasses: "attribute lookup failed", django 1.5

2013-03-20 Thread Sir Anthony
Hello, I'm using django-audit-log witch actively creates dynamic models by calling type('%sAuditLogEntry' % meta_name, (models.Model,), attrs). In

Re: Easy way to temporarily disable the need to login

2012-09-05 Thread anthony tresontani
We are using a middleware to enforce a user login: /class AutoAuthMiddleware(object): """ Middleware for testing purpose only. Can enforce the user login. """ def process_request(self, request): enforce_user = request.GET.get("enforce_user", None) if

Re: E-commerce package

2012-09-04 Thread anthony tresontani
http://oscarcommerce.com/ On 04/09/12 09:27, zayatzz wrote: http://satchmoproject.com/ On Tuesday, September 4, 2012 10:02:07 AM UTC+3, randa hisham wrote: Iam developing an e-commerce website,lookig for a good django package any recommends? -- Randa Hesham Software

Re: HttpResponseNotModified returning 200 code

2012-08-22 Thread Kevin Anthony
wow, that's embarrassing. thanks. On Wed, Aug 22, 2012 at 4:16 PM, Alexis Roda < alexis.roda.villalo...@gmail.com> wrote: > Al 22/08/12 21:36, En/na Kevin Anthony ha escrit: > >> Here is my code: >> >> id = get_id(request) >> if id is not None: &

HttpResponseNotModified returning 200 code

2012-08-22 Thread Kevin Anthony
200. Can someone point me in the correct direction? -- Thanks Kevin Anthony www.NoSideRacing.com Do you use Banshee? Download the Community Extensions: http://banshee.fm/download/extensions/ -- You received this message because you are subscribed to the Google Groups "Django users&

Re: Plotting a line graph

2012-07-30 Thread Kevin Anthony
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 options, visit this gro

  1   2   >