Need Help In My Project (URGENT)

2020-04-22 Thread 'raghav' via Django users
management service, contact me its urgent. - Thank you -- 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

Pass post data to UpdateView

2020-04-26 Thread 'MH' via Django users
is not defined. How can I make the POST data accessible? Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegrou

Access filefield's/imagefield's url in template

2020-05-08 Thread 'MH' via Django users
message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-user

UpdateView and def post()

2020-06-02 Thread 'MH' via Django users
'fehlermeldung': 'das update handling wurde noch nicht hinterlegt' } return render(request, templ_folder_name + 'fehlerseite.html', context) -- You received this message because you are subscribed to the Google Groups

Possible Django bug I am considering raising

2020-06-04 Thread 'OwlHoot' via Django users
Hi all I believe the issue I have enquired about on the following Stack Exchange page : https://stackoverflow.com/questions/62162288/baffling-error-filtering-django-objects-of-derived-class-by-values-in-foreign-ke may well be a Django bug, or at the least no longer works with Django as this

Re: Possible Django bug I am considering raising

2020-06-05 Thread 'OwlHoot' via Django users
t case that fails, and then find the commit that first caused this, provided I am assured that if I can then a Django maintainer/developer will jump on this and fix it pronto! If the result will be added to some list where someone will think about maybe fixing it in six months, and then only if

How to add entries dynamically

2020-06-05 Thread 'MH' via Django users
o you know how to do that with django? Best regards -- 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 vi

Re: How to add entries dynamically

2020-06-05 Thread 'MH' via Django users
Thank you. I will look into that :) On Friday, June 5, 2020 at 3:23:21 PM UTC+2, Andréas Kühne wrote: > > Hi, > > This is a fairly common practice - I found this: > > https://dev.to/zxenia/django-inline-formsets-with-class-based-views-and-crispy-forms-14o6 > > When googl

Re: Possible Django bug I am considering raising

2020-06-09 Thread 'OwlHoot' via Django users
On Thursday, 4 June 2020 16:25:09 UTC+1, OwlHoot wrote: > > > I believe the issue I have enquired about on the following Stack Exchange > page : > > > https://stackoverflow.com/questions/62162288/baffling-error-filtering-django-objects-of-derived-class-by-values-in-foreign

How to pass the extra argument to an existing formset

2020-06-12 Thread 'MH' via Django users
django to create a formset with x extra forms in it, based on the number of database entries. I guess I could again create one formset with an inline formset factory, but is it also possible to use the initial formset that I already created in my forms.py and to somehow pass the extra argument

How can I access in a template objects, which are in a list inside a dict?

2020-06-21 Thread 'MH' via Django users
hese lists I have several objects from the database, e.g. {'General case': [, , and so on]} Right now, I am just confused how to get to the single objects in a django template and there fields like Object A.object_field. I only get the name of the keys of the dictionary by using so

Re: How can I access in a template objects, which are in a list inside a dict?

2020-06-21 Thread 'MH' via Django users
Thank you, I will try 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 it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the

svg vs. canvas

2020-06-26 Thread 'MH' via Django users
there should be arrows which connect the circles/box. How would you start? Should I rather turn to svg or canvas? Best regards MH -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Is it allowed to post a job vacancy here regarding django ?

2020-08-27 Thread 'BOPBO' via Django users
Hello There, Is it allowed to post a job vacancy here regarding django ? Thank you. -- -- This message (including attachments) is confidential and may be privileged, subject to copyright, trade secret, or other legal rules and may not be forwarded without the author's permission. If yo

Re: Is it allowed to post a job vacancy here regarding django ?

2020-08-28 Thread 'BOPBO' via Django users
We're hiring Full stack and Python Developers (django) If anyone interested please submit application here: https://careers.bopbo.com/apply/remotely Wish you all the best. On Friday, August 28, 2020 at 6:49:07 AM UTC Ogunsanya Opeyemi wrote: > Yes i think you can > > On Thurs

UpdateView Redirect

2020-08-31 Thread 'dtdave' via Django users
me: path('//', views.PublisherDetailView.as_view(), name='publisher_detail'), path(/'/update/', views.PublisherUpdateView.as_view(), name='publisher_update'), My question is how do I account for this in my views? Any help would be appreciated -- You receiv

Re: How to view the generated SQL for test models?

2016-01-20 Thread 'Brutus' via Django users
ve an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'None, None) NOT NULL)' at line 1") ``` Since the error message is kinda meh without SQL to look at, I wanted to know how to see the SQL Django generates.

Tutorial part 1 Parent module not loaded

2016-01-31 Thread jfragos via Django users
Hi, I am very new to Python and Django but not to programming. I have been programming for 30 years. That said I am trying to work my way thru the Django tutorial part 1 and I am confronted with the following error I can't get past: Traceback (most recent call last): File "urls.p

Re: Tutorial part 1 Parent module not loaded

2016-01-31 Thread jfragos via Django users
contrib import admin urlpatterns = [ url(r'^polls/', include('polls.urls')), url(r'^admin/', admin.site.urls), ] On Sunday, January 31, 2016 at 10:07:21 AM UTC-5, jfr...@yahoo.com wrote: > Hi, > I am very new to Python and Django but not to programming. I hav

Re: Tutorial part 1 Parent module not loaded

2016-01-31 Thread jfragos via Django users
ite>python manage.py runserver Performing system checks... Unhandled exception in thread started by .wrapper at 0x03A418A0> Traceback (most recent call last): File "C:\Python35\lib\site-packages\django\utils\autoreload.py", line 226, in wrapper fn(*args, **kwargs) File &quo

Re: Tutorial part 1 Parent module not loaded

2016-01-31 Thread jfragos via Django users
most recent call last): File "urls.py", line 18, in from polls import views ImportError: No module named 'polls' Press any key to continue . . . On Sunday, January 31, 2016 at 10:07:21 AM UTC-5, jfr...@yahoo.com wrote: > Hi, > I am very new to Python and Django b

Re: Tutorial part 1 Parent module not loaded

2016-02-01 Thread jfragos via Django users
. On Sunday, January 31, 2016 at 6:18:10 PM UTC-5, suabiut wrote: > What is your app name? are you sure the name is polls??. The solution i > mention works. > > On Mon, Feb 1, 2016 at 9:32 AM, jfragos via Django users < > django...@googlegroups.com > wrote: > >> I t

variable to a template

2016-03-02 Thread 'luca72&#x27; via Django users
-- 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-users@google

Re: variable to a template

2016-03-02 Thread 'luca72&#x27; via Django users
lp Il giorno mercoledì 2 marzo 2016 11:52:05 UTC+1, Sergiy Khohlov ha scritto: > > original path og your image please. > Also setting for STATIC_ROOT from setting.py send please > > Many thanks, > > Serge > > > +380 636150445 > skype: skhohlov > > On W

Re: variable to a template

2016-03-02 Thread 'luca72&#x27; via Django users
939B 5585 819B FCE8 E43B 0B8E 0DF2 6EDE CCF1 > > -- 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.co

Global variable

2016-04-19 Thread 'luca72&#x27; via Django users
#x27;: testo = testo[0] else : testo = testo[1] return render(request,'polls/first_page.html',{'testo':testo,}) where language can be it or en, in the web page i have two flag where i have to place an https://groups.google.com/group/django-users. To view t

scarico() got an unexpected keyword argument 'string'

2016-04-22 Thread 'luca72&#x27; via Django users
data %} Scarica {% endfor %} Where is the error? Thanks Luca -- 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...@googlegro

Re: How to auto fill latitude and longitude fields in Django2.0.6?

2018-06-20 Thread anthony.flury via Django users
with some extra information someone can give you some more details. There is nothing in django that provides this capability. Question - why do you need latitude and longitude ? -- -- Anthony Flury email : *anthony.fl...@btinternet.com* Twitter : *@TonyFlury <https://twitter.com/TonyFl

Django DateField

2018-07-05 Thread 'dtdave&#x27; via Django users
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-users@googlegroups.com. Visit this grou

Re: Django DateField

2018-07-06 Thread 'dtdave&#x27; via Django users
I know the answer is probably obvious, but for smoe raeson I cannot fathom it out at the moment. Again thanks for all the help On Thursday, 5 July 2018 20:08:30 UTC+1, Melvyn Sopacua wrote: > > On donderdag 5 juli 2018 19:05:47 CEST 'dtdave' via Django users wrote: > > > How

Re: Django DateField

2018-07-08 Thread 'dtdave&#x27; via Django users
Many Thanks On Friday, 6 July 2018 16:13:35 UTC+1, Melvyn Sopacua wrote: > > On vrijdag 6 juli 2018 16:46:08 CEST 'dtdave' via Django users wrote: > > Many thanks for the help on this. I have implemented the following: > > models.py > > start_date = mode

Administration with Django 2

2018-08-10 Thread t.mayet via Django users
Hi, I want to add a administration at my django project, this admin part is writen by me, not admin app. I want to know the good method to build this, the god way is to create a app admin with new views, model etc... or just create a other views in my apps ? Blog, etc... Thx -- You received

Re: Administration with Django 2

2018-08-13 Thread vinod.kumar via Django users
you can create a superuser for django project. Django admin is too much flexible, you can write your own template, view , urls and much more,so you have to modify admin penal. On Friday, August 10, 2018 at 5:20:22 PM UTC+5:30, t.m...@icloud.com wrote: > > Hi, > > I w

Advice on Model Structures

2018-08-13 Thread 'dtdave&#x27; via Django users
user would then be able to click on the region which would only show the associated counties and then click through to the office and/or the employees. I have received conflicting advice on how to deal with this such as django-mptt or dependent dropdowns which has left me somewhat confused. Any

Re: Advice on Model Structures

2018-08-14 Thread 'dtdave&#x27; via Django users
: > / > > check this example to handle a form - > http://django-select2.readthedocs.io/en/latest/extra.html#chained-select2 > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Re: Advice on Model Structures

2018-08-14 Thread 'dtdave&#x27; via Django users
Many thanks On Monday, 13 August 2018 22:44:05 UTC+1, mark wrote: > > dtdave, > > Basically, the model structure is how you indicated. To achieve changing > the content of a select once the page is loaded, you will have to do some > JavaScript magic. Django-select2 will do

Trying to replace a char field with a forgein key feild

2018-08-27 Thread mattstroud via Django users
g up empty. -- 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-users@goo

Signals and Profile Update

2018-09-17 Thread 'dtdave&#x27; via Django users
I have a Custom User Model and a separate Profile Model with django all-auth. The following signal creates the profile for the user and then informs the admin that a new user has registered. @receiver(post_save, sender=User) def create_user_profile(sender, **kwargs): '''C

Unable to open http://127.0.0.1:8000

2018-09-23 Thread 'Rohit&#x27; via Django users
Hi, I am new to Django and started my first app. When I try to check the development server using http://127.0.0.1:8000, I am getting: 404 Not Found. How to fix this? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Unable to open http://127.0.0.1:8000

2018-09-23 Thread 'Rohit&#x27; via Django users
I am using PyCharm. Do I still need to execute that code from command prompt? On Sunday, September 23, 2018 at 11:35:56 PM UTC+5:30, SHUBHAM .SINGH. RATHORE wrote: > > Django-admin startaproject and project name > > On Sun 23 Sep, 2018 11:29 pm 'Rohit' via Dj

Re: Unable to open http://127.0.0.1:8000

2018-09-23 Thread 'Rohit&#x27; via Django users
Django project I already created using PyCharm. The folder structure and basic .py files already there. On Sunday, September 23, 2018 at 11:35:56 PM UTC+5:30, SHUBHAM .SINGH. RATHORE wrote: > > Django-admin startaproject and project name > > On Sun 23 Sep, 2018 11:29 pm '

Re: Unable to open http://127.0.0.1:8000

2018-09-23 Thread 'Rohit&#x27; via Django users
. http://127.0.0.1:8282 On Sunday, September 23, 2018 at 11:35:56 PM UTC+5:30, SHUBHAM .SINGH. RATHORE wrote: > > Django-admin startaproject and project name > > On Sun 23 Sep, 2018 11:29 pm 'Rohit' via Django users, < > django...@googlegroups.com > wrote: > &

django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7&#x27; via Django users
Hello I am trying the django/mysite/polls tutorial. After typing, actually copying and pasting this: from django.contrib import adminfrom django.urls import include, path urlpatterns = [ path('polls/', include('polls.urls')), path('admin/', admin.site.url

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7&#x27; via Django users
On Tuesday, 2 October 2018 14:29:12 UTC+1, Joel wrote: > > Well, what does /home/gino/djangoDEV/mysite/polls/urls.py contain? > I am just following the first django app tutorial mysite/polls/urls.py contains the following code: from django.urls import path from . import views ur

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7&#x27; via Django users
: >> >> Well, what does /home/gino/djangoDEV/mysite/polls/urls.py contain? >> > > I am just following the first django app tutorial > > mysite/polls/urls.py contains the following code: > > > from django.urls import path > > from . import view

Re: django/mysite/polls tutorial error

2018-10-02 Thread 'ginost7&#x27; via Django users
now i get a different error!!! path('', views.index, name='index'), AttributeError: module 'polls.views' has no attribute 'index' On Tuesday, 2 October 2018 14:24:35 UTC+1, ginost7 wrote: > > Hello > > I am trying the django/mysite/polls tuto

Re: beginner guide

2018-10-09 Thread 'puhlmann7&#x27; via Django users
Hi Ashok, You may have a look on this: https://tutorial.djangogirls.org/en/ Am Montag, 8. Oktober 2018 18:39:29 UTC+2 schrieb Ashok Reddy: > > hello every one .i am beginner to Django. Could you please suggest me the > best source to learn,i am very enthusiastic to learn. > --

using a foreign key with multiple choices

2018-11-13 Thread 'Christian&#x27; via Django users
e a "Categorie" instance./ Any help would be greatly appreciated. -- 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...@g

How to make recursive ManyToMany relationships through an intermediate model symmetrical

2020-10-16 Thread gjgilles via Django users
There are no responses to the same question on stackoverflow, so hopefully someone here can provide a solution. <https://stackoverflow.com/questions/64346385/how-to-make-a-recursive-manytomany-relationship-symmetrical-with-django>   I've read the docs. <https://docs.djangoproj

Re: How to make recursive ManyToMany relationships through an intermediate model symmetrical

2020-10-16 Thread gjgilles via Django users
>>> bill.add_friendship(ted, True) (, True) >>> bill.friends.all() ]>>>> ted.friends.all() ]> Also, @coolguy for my code, the correct call is >>> ted.personB.all() without the helper function. ted.personA.all() returns an empty queryset without the helper funct

REST framework API through Object of type datetime is not JSON serializable error with auth.backends.RemoteUserBackend

2020-11-12 Thread 'bala&#x27; via Django users
Hi All,migrating existing piston based Django api to REST framework api, it works in dev environment but once moved to QA with  django.contrib.auth.backends.RemoteUserBackend enabled in settings, getting the following error raise TypeError(f'Object of type {o.__class__.__name__} '

Re: Weird Django-admin bug

2021-02-03 Thread 'rossm6&#x27; via Django users
Sorry to hear this but there is absolutely no way anybody could help based on this information alone. On Tue, Feb 2, 2021 at 6:25 PM yes...@gmail.com wrote: > Hi > > I am having this situation where I try to have a look at an instance of a > specific model through Django-admin and

Help with a huge database query.

2021-05-27 Thread 'odrzen&#x27; via Django users
Hello Django community o/ I want to create a API call in order to get all data from a specific model ( table ) - but I want to exclude-remove only specific fields from this. So, I try to find a right way to execute this difficult and "heavy" query/request with a efficient way. This

Re: Help with a huge database query.

2021-05-31 Thread 'odrzen&#x27; via Django users
() is to use .values() > instead, explicitly specifying which fields you need to export. > > Just FYI rest_framework handles this out of the box and provides an API to > specify not only which fields to export but filters as well. > > Regards > /d > > On Fri, May 28, 2021 at

An app that provides Django model comment migration

2021-08-10 Thread 'starryrbs&#x27; via Django users
com/starryrbs/django-comment-migrate> *pip install django-comment-migrate* -- 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...@goog

Django Project Template

2019-09-09 Thread 'dtdave&#x27; via Django users
I have been using Django-cookiecutter to create my projects. I have then decided that there was too much that I either didn't need or had alternatives in particular having a single settings file using django-configurations. The first project building from scratch worked fine so I decid

Import a float field using a script

2019-10-16 Thread 'dtdave&#x27; via Django users
someone please show me the error of my ways as I know I am doing something wrong(and probably very stupid)? Thanks in advance -- 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 i

Custom Template Tags Render Method

2019-11-24 Thread 'Ross&#x27; via Django users
To create our own custom template tags we have to define a Node subclass which implements a render method. Example from https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#auto-escaping-considerations import datetimefrom django import template class CurrentTimeNode(template.Node

Re: Custom Template Tags Render Method

2019-11-24 Thread 'Ross&#x27; via Django users
tags we have to define a Node subclass > which implements a render method. > > Example from > https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/#auto-escaping-considerations > > import datetimefrom django import template > class CurrentTimeNode(template.Node): &

Re: Linking various HTML files in template

2019-12-06 Thread darnold511 via Django users
until you sent It to me.  The links you sent also have some examples.  So, now i'll give a try and let you know how I made out. Dick ArnoldHouston, TX832-729-4255 -Original Message-  From: Dominick Del Ponte To: django-users Sent: Thu, Dec 5, 2019 6:08 pm Subject: Re: Linking variou

Configuring a StaticLiveTestCase Server In A Docker Container

2019-12-23 Thread 'Ross&#x27; via Django users
o say much. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/63af07ee-e794-4411-90dd-bda4523e4ede%40googlegroups.com.

Aggregating distinct across OneToMany relationships using ORM

2020-01-05 Thread 'Stephen&#x27; via Django users
Hi all, I have two Django models; MonitoringPeriod and AssignmentPeriod. Both models have start_date and end_date fields. A MonitoringPeriod can be covered by one or more AssignmentPeriod instances, which may or may not cover the entire range defined by the start and end of the

Custom User and Profile Model

2020-01-28 Thread 'dtdave&#x27; via Django users
sage because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django

Django - how to work with Ajax requests?

2009-06-23 Thread http://groups.google.com/group/django-users/
--~--~-~--~~~---~--~~ 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

Exclusion search for django

2009-11-20 Thread http://groups.google.com/group/django-users/
Hi, i´m programming an exlusion search for django but my code is not working. I think the functions are okay but django is not accepting them / running them. Only my ajaxwindow comes. When i start this tag search an ajax window will pop up and i can choose tags from 2 boxes. In the first box are

DJNAGO Many to Many field MultiSelect Into DropdownList

2021-10-18 Thread 'Maryam Yousaf&#x27; via Django users
m, the Netherlands, and address at Oosterdoksstraat 80, 1011 DK Amsterdam, registered with the Dutch Chamber of Commerce with number 08142836 and where the context requires, includes its subsidiaries and associated undertakings. -- You received this message because you are subscribed to the

Issue in rendering of Inline forms on Django Admin site

2021-11-29 Thread 'Andrea Arighi&#x27; via Django users
Good evening, I am encountering a weird bug when rendering Inline forms on the "Add" view of a ModelAdmin. Here is a minimum example with Django version 2.2.4 - - - - - - - in models.py: class MyModel(models.Model): text = models.CharField(max_length=100) class RelatedModel(mo

Multiple themes with their own url.py and views.py

2022-01-10 Thread 'Rahul Chauhan&#x27; via Django users
Hi All, I am trying to build a blog based system in Django similar to WordPress. Where each theme folder will have it's own set of url.py, view.py, stylesheet etc. So far, I have been able to implement multiple themes, but all of theme rely on a single common url.py & views.py. Wh

django module not found

2022-01-24 Thread 'Delvin Alexander&#x27; via Django users
Hello, I am new and just started to learn Django. I am attempting to create my first application and ofcourse progress to a website but i am having difficulty at the moment. here is whats going on: ["Import "django.shortcut" could not be resolvedPylancereportMissing

web page blank

2022-02-01 Thread 'Delvin Alexander&#x27; via Django users
Hello everyone, I am currently following a django tutorial regarding applications. I have followed through completely but for some reason, when I run server, i incur no errors but the web page is blank. Why would this be? Here is what is not displayed: from my Home.html file

Re: web page blank

2022-02-07 Thread 'Delvin Alexander&#x27; via Django users
>> >> context = { >> 'posts': post >> } >> >> 'Delvin Alexander' via Django users >> schrieb am Mi., 2. Feb. 2022, 06:59: >> >>> Hello everyone, >>> >>> I am currently following a django tutorial regardi

migrations: "no changes detected"

2022-02-07 Thread 'Delvin Alexander&#x27; via Django users
I am trying to run migrations so that i can create a table, but when I type out, "python manage.py makemigrations" it returns this: "no changes detected" would anyone know the reason for this? -- You received this message because you are subscribed to the Google Groups

Re: migrations: "no changes detected"

2022-02-08 Thread 'Delvin Alexander&#x27; via Django users
models. > > All the best > > > On Tue, 8 Feb 2022, 10:14 am 'Delvin Alexander' via Django users, < > django-users@googlegroups.com> wrote: > >> I am trying to run migrations so that i can create a table, but when I >> type out, "python manage

Re: migrations: "no changes detected"

2022-02-08 Thread 'Delvin Alexander&#x27; via Django users
LE or call settings.configure() before accessing settings. On Tue, Feb 8, 2022 at 7:32 PM ramadhan ngallen wrote: > On your app(blog) on the module(folder) migrations, make sure there is a > file named __init__.py > > > You can share app structure too > On 9 Feb 2022, 06:26 +0300, &

profile page and new user will not save

2022-02-22 Thread 'Delvin Alexander&#x27; via Django users
} return render(request, 'users/profile.html', context) -- 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+unsubs

Re: profile page and new user will not save

2022-03-09 Thread 'Delvin Alexander&#x27; via Django users
ong with the signals. Paste your signals.py file. > > On Wed, Feb 23, 2022, 10:52 AM 'Delvin Alexander' via Django users < > django...@googlegroups.com> wrote: > >> Hello Everyone, >> >> I am having trouble saving a new profile, and user when they are

runserver not working

2022-03-21 Thread 'Delvin Alexander&#x27; via Django users
t import execute_from_command_line* * except ImportError as exc:* *raise ImportError(* *"Couldn't import Django. Are you sure it's installed and "* *"available on your PYTHONPATH environment variable? Did you "* *"forget to activat

Re: runserver not working

2022-03-22 Thread 'Delvin Alexander&#x27; via Django users
i did that but the problem still remains :( On Tuesday, March 22, 2022 at 2:09:33 AM UTC-7 sebasti...@gmail.com wrote: > Hey, > > I think yoz don't have installed django package. Please install it over > pip install django > > Regards > > 'Delvin Alexander&#

FileNotFoundError at /login/

2022-03-23 Thread 'Delvin Alexander&#x27; via Django users
f created: Profile.objects.create(user=instance) @receiver(post_save, sender=User) def save_profile(sender, instance, **kwargs): instance.profile.save() -- You received this message because you are subscribed to the Google Groups "Django users" group. To un

Re: FileNotFoundError at /login/

2022-03-24 Thread 'Delvin Alexander&#x27; via Django users
e, sender=User) >> def create_profile(sender, instance, created, **kwargs): >> if created: >> Profile.objects.create(user=instance) >> >> >> @receiver(post_save, sender=User) >> def save_profile(sender, instance, **kwar

Stuck

2022-03-27 Thread 'Delvin Alexander&#x27; via Django users
Hello everyone, I am trying to register a new user by watching the Django tutorial. I have created the new user but upon attempting to log the new user in I get an, *"FileNotFoundError at /login/[Errno 2] No such file or directory: 'C:\\Users\\delvi\\django_project\\media\\default.j

Re: Django 1.5 app had subclasses without tables without proxy and now 1.6 won't sync with proxy

2022-04-05 Thread 'Steven Mapes&#x27; via Django users
Migrations came in in 1.7 the docs for 1.8 show the following *Prior to version 1.7, Django only supported adding new models to the database; it was not possible to alter or remove existing models via the syncdb command (the predecessor to migrate <https://docs.djangoproject.com/en/1.8/

Re: django html error

2022-04-05 Thread 'Steven Mapes&#x27; via Django users
me some project codes pics so that i can help you. > > On Sat, 2 Apr, 2022, 8:34 pm 5021-Chandra Prakash.S, > wrote: > >> i am new to django, there is no error in my project but my html page is >> not loading ,its just appearing white blank screen when i run the server.I

delete button

2022-04-12 Thread 'Delvin Alexander&#x27; via Django users
ntent %}* ** *{% csrf_token %}* ** *Delete Post* *Are you sure you want to delete this post? "{{ object.title }}"* ** ** *Yes, Delete* *Cancel * ** ** * * *{% endblock content %}

Re: delete button

2022-04-13 Thread 'Delvin Alexander&#x27; via Django users
test func is a function that my 'User' passes tests mixins runs in django. Also thank you for informing me to include less. I put 3 files there because i thought someone would have needed it. On Tue, Apr 12, 2022 at 11:20 PM Antonis Christofides < anto...@antonischristofides.com>

SMTP Authentification error

2022-04-26 Thread 'Delvin Alexander&#x27; via Django users
d'* *EMAIL_HOST = 'smtp.gmail.com'* *EMAIL_PORT = 587* *EMAIL_USE_TLS = True* *EMAIL_HOST_USER = os.environ.get('DB_USER')* *EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')* -- You received this message because you are subscribed to the Google Groups "Djang

Re: SMTP Authentification error

2022-04-27 Thread 'Delvin Alexander&#x27; via Django users
email password, > > *EMAIL_HOST_USER = os.environ.get('DB_USER')* > *EMAIL_HOST_PASSWORD = os.environ.get('DB_PASSWORD')* > > Regards, > > Julio Cojom > > El mar, 26 abr 2022 a las 23:38, 'Delvin Alexander' via Django users (< > djang

Re: SMTP Authentification error

2022-04-27 Thread 'Delvin Alexander&#x27; via Django users
'webmaster@localhost')* On Wednesday, April 27, 2022 at 12:27:02 AM UTC-7 dashlaksh...@gmail.com wrote: > Check whether you have turned on less secure apps or not. > > On Wed, Apr 27, 2022, 11:07 'Delvin Alexander' via Django users < > django...@googlegroups.co

Re: SMTP Authentification error

2022-04-29 Thread 'Delvin Alexander&#x27; via Django users
ASSWORD')* > in this code you just need to provide that email on which you will > receive the email i means that gmail account why you use the db user or > db password ? > here the solution to receive emails like > *EMAIL_HOST_USER = exa...@gmail.com* > *EMAIL_HOST_PAS

Re: SMTP Authentification error

2022-05-01 Thread 'Delvin Alexander&#x27; via Django users
are applicable if you want? > > Mahendra Yadav > > On Wed, 27 Apr 2022, 11:08 am 'Delvin Alexander' via Django users, < > django...@googlegroups.com> wrote: > >> Hello everyone, >> >> May you please assist in informing me on what i need to do to resol

Re: Model Design

2022-05-05 Thread 'David Turner&#x27; via Django users
We receive the data every two weeks and then use django-import-export to import the data into our database. There is no mention of the account manager in these as this is something on our side. Am I missing the point in that by having the foreign key to the account manager this would impact on

Re: Django project

2022-05-12 Thread 'Amitesh Sahay&#x27; via Django users
Yes, plz make a list of features that you want to have in ur web app, and then read django official doc to understand the working for each feature that u want. That's the way to go ahead, coz what u r asking is very generic  Sent from Yahoo Mail on Android On Thu, 12 May 2022 at

Re: Nested json in django rest framework

2022-06-05 Thread 'Kasper Laudrup&#x27; via Django users
y what you want. Hope that helps. Kind regards, Kasper Laudrup -- 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

Re: Nested json in django rest framework

2022-06-05 Thread 'Amitesh Sahay&#x27; via Django users
rse you could write a dirty hack and do it anyway but I seriously doubt that's really what you want. Hope that helps. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this gro

Re: Session in Python for Login and Logout

2022-06-06 Thread 'Kasper Laudrup&#x27; via Django users
actually need help with. I assume you mean something with Django sessions but it's impossible for me or anyone else to know exactly what kind of issue you need to solve. Kind regards, Kasper Laudrup -- You received this message because you are subscribed to the Google Groups "

Re: Session in Python for Login and Logout

2022-06-07 Thread 'Kasper Laudrup&#x27; via Django users
On 07/06/2022 06.59, Mukul Verma wrote: yeah i was saying in Django Thanks Everyone please tell me something in steps for this like how to use session variable in django and can create session currently i am able to generate token (access and refresh) and further need to create session  with

Re: Session in Python for Login and Logout

2022-06-07 Thread 'Kasper Laudrup&#x27; via Django users
On 07/06/2022 06.59, Mukul Verma wrote: yeah i was saying in Django Thanks Everyone please tell me something in steps for this like how to use session variable in django and can create session currently i am able to generate token (access and refresh) and further need to create session  with

Re: Need best tutorial

2022-06-12 Thread 'Kasper Laudrup&#x27; via Django users
message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/dj

Re: python instagram bot to upload posts

2022-06-14 Thread 'Kasper Laudrup&#x27; via Django users
On 14/06/2022 08.06, Abhinandan K wrote: hello every one i'm trying to create a python instagram bot to upload posts.. That's great but how is this related to Django? Maybe you should consider finding another place for all your questions as none of them really fit here. Before

Re: how to create icon img api

2022-06-14 Thread 'Kasper Laudrup&#x27; via Django users
Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/76e01be1-5e45-6ab2-1e5c-7a48c1416c40%40sta

<    2   3   4   5   6   7   8   9   10   11   >