start reading channels
On Tuesday, April 24, 2018, sathish ponaganti
wrote:
> Hi All,
>
> I want to create chat application , using Django frame work. I quite new
> to this.
> what is the workflow for this.
>
>
> My requirement is :if i entered the text via chat
Hi All,
I want to create chat application , using Django frame work. I quite new to
this.
what is the workflow for this.
My requirement is :if i entered the text via chat window , it should
display of the class type object and address of the object.
if any one have the code could you
I have two date picker fields that i want the users to select from date to
end date. and i want to display data between the two dates that was
selected. From example form date: 2/14/2018 to date:3/15/2018. when the
function is called i want to extract and display data between this two
dates.
i
On 24/04/2018 8:57 AM, Anthony Flury wrote:
You can use manage.py dumpdata and manage.py loaddata
And you can do this per app - or even per table.
Thank you Anthony
I had totally forgotten that. In fact I actually script dumpdata for
dumping test data (ie fixtures) but loaddata never worked
On 24/04/2018 5:50 AM, Tom Tanner wrote:
Hey all, I have a bunch of tables on my local Django project. I set up
the project on my production server and ran `manage.py migrate`. That
set up the tables, but now I want to move the rows from my local
tables to the ones on the production server.
Thank you to all three of you.
This was exactly the advice I've been looking for, and increased my
understanding of Django as well as of my own app.
I will go carefully through the relations between my different models, and
split them up between several model files, and cross-import as needed.
Hey all, I have a bunch of tables on my local Django project. I set up the
project on my production server and ran `manage.py migrate`. That set up
the tables, but now I want to move the rows from my local tables to the
ones on the production server. Both local and production server use
I get these two messages after running `python manage.py check --deploy`
?: (security.W001) You do not have
'django.middleware.security.SecurityMiddleware' in your MIDDLEWARE_CLASSES
so the SECURE_HSTS_SECONDS, SECURE_CONTENT_TYPE_NOSNIFF,
SECURE_BROWSER_XSS_FILTER, and SECURE_SSL_REDIRECT
Hi Melvyn -
Same. Could you include the URL to the repository of the captcha
> implementation you're using? I've looked at 2 now and neither of them have
> the
> code you posted.
>
I did a little write up with a .zip file of the code at the end here:
I found the answer here.
https://stackoverflow.com/questions/1271631/how-to-check-the-template-debug-flag-in-a-django-template
Thanks
On Monday, April 23, 2018 at 8:04:02 AM UTC-6, larry@gmail.com wrote:
>
> Somewhere in the code is a place where data is passed to the template.
> Did you
Somewhere in the code is a place where data is passed to the template.
Did you write the app?
On Mon, Apr 23, 2018 at 9:55 AM, Alexander Joseph
wrote:
> I dont know what that means
>
> On Monday, April 23, 2018 at 7:49:25 AM UTC-6, larry@gmail.com wrote:
>>
>>
You could, on your views, get the DEBUG setting (using django.conf) and pass it
to the templates, as you do with all other variable.
From: django-users@googlegroups.com on behalf
of Alexander Joseph
I dont know what that means
On Monday, April 23, 2018 at 7:49:25 AM UTC-6, larry@gmail.com wrote:
>
> On Mon, Apr 23, 2018 at 9:34 AM, Alexander Joseph
> wrote:
> > Hello, is there a way to make an if statement that is based on whether
> you
> > are running in
On Mon, Apr 23, 2018 at 9:34 AM, Alexander Joseph
wrote:
> Hello, is there a way to make an if statement that is based on whether you
> are running in development mode or production mode? Or based on which
> settings file you are using?
>
> My app allows users to
Hello, is there a way to make an if statement that is based on whether you
are running in development mode or production mode? Or based on which
settings file you are using?
My app allows users to login with their office365 account instead of with
django allauth and I'd like to only give them
Actually, I just use this construct:
'DIRS': [
# insert your TEMPLATE_DIRS here
os.path.join(BASE_DIR, 'project_name', 'templates'),
],
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of John Wilkinson
Sent: Monday, April 23, 2018 7:47 AM
To: Django
DIRS does not have the path that you indicated it has. Try changing it.
DIRS = ['designer/template/designer/']
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of John Wilkinson
Sent: Monday, April 23, 2018 7:47 AM
To: Django users
Subject: Cannot find
I am having trouble setting up django to find my template file I have
created.
The settings.py has, among other sections, the following:
INSTALLED_APPS = [
'designer.apps.DesignerConfig',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',
Did you try running makemigrations first?
./manage.py makemigrations
From: django-users@googlegroups.com [mailto:django-users@googlegroups.com] On
Behalf Of Akhi
Sent: Monday, April 23, 2018 1:38 AM
To: Django users
Subject: django.db.migrations.exceptions.NodeNotFoundError while upgrading
yes I did.. here is the error:
Traceback (most recent call last):
File "C:\Users\hp\ENV\lib\site-packages\django\core\handlers\exception.py",
line 41, in inner
response = get_response(request)
File "C:\Users\hp\ENV\lib\site-packages\django\core\handlers\base.py", line
217, in _get_response
Hi Vikram,
Am also a few days new into Django but if you are using Python 3, then I
suggest you try without the regular expressions. Update your URLs to the
below and try loading your sites.
polls/urls.py
from django.conf.urls import url
from . import views
urlpatterns = [
url('',
Hi,
I've been using following implementation:
https://github.com/praekelt/django-recaptcha
Which has similar code.
Currently I'm actually using invisible ReCaptcha which works just fine with
field.
On Sat, Apr 21, 2018 at 9:52 PM, Melvyn Sopacua
wrote:
> On vrijdag
Hi,
On 04/23/2018 10:59 AM, guettli wrote:
I have a vague idea to use OOP for a hyperlink.
A hyperlink has these attributes for me:
- href
- verbose name
- Permission: Is the current user allowed to follow the link?
- Preview (on-mouse-over tooltip)
We have developed something similar in
I have a vague idea to use OOP for a hyperlink.
A hyperlink has these attributes for me:
- href
- verbose name
- Permission: Is the current user allowed to follow the link?
- Preview (on-mouse-over tooltip)
I like Django because it handles the "href" part very smart (via reverse()).
My current
I am upgrading my django project from django1.5 to django1.11.10. while
upgrading when I run ./manange.py migrate I am getting
django.db.migrations.exceptions.NodeNotFoundError
django.db.migrations.exceptions.NodeNotFoundError: Migration
account.0004_auto_20180419_1309 dependencies reference
25 matches
Mail list logo