with Apache
4. if the last nanosecond of performance is your thing get an expert to
tune up whichever one you choose because only experts can tell the
difference.
Good luck
Mike
On Fri, Jan 24, 2020, 7:41 AM Aldian Fazrihady <mailto:mob...@aldian.net>> wrote:
Google Ap
ld to django.contrib.postgresfield.CICharField
I'm already using [1] in Django 2.2
Thank you Simon you have made my day :-)
Cheers
Mike
If you are *not* using PostgreSQL your best choice is likely to
emulate the
upcoming expression[3] support for UniqueConstraint(Lower('field')) by
using
a R
What is the best way to ensure a charfield is case-insensitively unique?
Currently I'm using a query with __iexact=True but I wonder whether
there is a better way.
Thanks
Mike
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
On 23/01/2020 11:40 am, sum abiut wrote:
Hi,
How do I create a hyperlink on the body of the email so that when the
user receives the email they can click the link to access the website?
Just include the URL in the body text. You can rely on the mail client
to recognise a web address and make
delete records until the
id was the same as your random number.
Good luck
Mike
Thank you in advance
Regards,
Soumen
--
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
) gracefully and then the
thread gets terminated. A new one seems to get created automatically by
the dev server for the next request.
Stopping it is way above my pay grade.
I have long since stopped worrying about it.
It's lucky that Tim Berners-Lee made the web stateless hey?
Cheers
Mik
e.For example
refusing all "sites" permissions makes no difference.Any ideas?Mike
Original message From: Daksh agnihotri
Date: 12/1/20 15:39 (GMT+10:00) To: django-users@googlegroups.com Subject:
Re: contrib.sites readonly question In admin.py Class
UserProfileAdmin(a
elete_permission(self, request=None, obj=None):
return False
def has_view_permission(self, request=None, obj=None):
return False
admin.site.register(MySite, SiteAdmin)
This has no effect
Is there a way to do this?
Thanks
Mike
--
You received this message because you
on/improvement in response to the ticket. If it is considered
valuable by the gatekeepers they will use it.
Welcome
Mike
[1] https://docs.djangoproject.com/en/dev/internals/contributing/
When your on the
* documentation page
o Writing your first Django app, part 1¶ .
+ Th
On 6/01/2020 7:26 pm, Mike Dewhirst wrote:
Sorry for being boring ...
I cannot persuade the UserAdmin to use a custom widget instead of the
one it usually uses. If you can point out where I'm going wrong I will
be indebted to you.
I have tried two ways of using a custom widget .
cy',
),
},
),
(
"Preferences",
{
"classes": ("collapse",),
"fields": (
"code_preference",
ctMultiple. At this point anyway.
Thanks again
Mike
On 6/01/2020 4:55 pm, Stephen J. Butler wrote:
Take another look at the doc's example on formfield_for_manytomany:
https://docs.djangoproject.com/en/3.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.formfield_for_manytomany
You
On 6/01/2020 4:31 pm, Mike Dewhirst wrote:
It appears that formfield_for_manytomany() triggers an error if it is
used in UserAdmin.
Thanks for any support in deciding if this is a bug - or perhaps all
my own work.
I needed to finish formfield_for_manytomany() with a return
super
It appears that formfield_for_manytomany() triggers an error if it is
used in UserAdmin.
Thanks for any support in deciding if this is a bug - or perhaps all my
own work.
Cheers
Mike
TL;DR
Here is all the admin code which works without error if
formfield_for_manytomany()is commented out
Significant refinement of the error ...
Trying to use formfield_for_manytomany() triggers the error even if all
it does is "pass"
Something fishy ... I'll write a fresh question.
Mike
On 6/01/2020 12:46 pm, Mike Dewhirst wrote:
This error occurs in the Admin for my custom use
ess text")
[1]
https://docs.djangoproject.com/en/2.2/topics/forms/modelforms/#overriding-the-clean-method
Cheers
Mike
Thanks,
Uri.
אורי
u...@speedy.net <mailto:u...@speedy.net>
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To un
ot; is a ManyToManyField at that point.
How do I persuade the Admin to use my widget?
Thanks for any advice
Mike
Environment:
Request Method: GET
Request URL: http://localhost:8000/admin/common/user/59/change/
Django Version: 2.2.9
Python Version: 3.7.4
Installed Applications:
[
On 5/01/2020 11:42 am, Mike Dewhirst wrote:
On 4/01/2020 9:03 pm, Integr@te System wrote:
Hi Mike,
As we look at selected_choice result from iterating v over value
(line 428), option_value base on choice(line 438).
so we can limit input parameter of value variable from this def
On 4/01/2020 9:03 pm, Integr@te System wrote:
Hi Mike,
As we look at selected_choice result from iterating v over value (line
428), option_value base on choice(line 438).
so we can limit input parameter of value variable from this def().
selected_choices appear in the selected box on screen
resulting choices?
My use case is that I want members of the 'admin' group to be able to
assign any group membershipto any other userexcept for a couple of
groups which are too permissive. The excepted groups can only be
assigned by a Superuser.
Many thanks for any hints
Cheers
Mik
On 2/01/2020 9:12 am, sum abiut wrote:
How do you change the default page header of the password reset form?
I did something like below but the default page still doesn't change.
You need an admin template ... project/templates/admin/base-site.html
... which extends admin/base-site.html
Any
Custom user documentation (Draft subject to improvements from others)
Based on Tobias McNulty's "How to Switch to a Custom Django User Model
Mid-Project" [1] and also on Aymeric Augustin's approach documented in
Django ticket #25313 [2]
Assumptions
- Existing project without a custom user mod
Custom user documentation (Draft subject to improvements from others)
Based on Tobias McNulty's "How to Switch to a Custom Django User Model
Mid-Project" [1] and also on Aymeric Augustin's approach documented in
ticket Django ticket #25313 [2]
Assumptions
- Existing project without a custom u
ymmv) I am confirming :)CheersMike
Original message From: Carsten Fuchs
Date: 26/12/19 20:01 (GMT+10:00) To: django-users@googlegroups.com Subject:
Re: Changing to a custom user model mid-project Hello Mike,unfortunately I
cannot answer your questions, but have you
ithin the migration system?
Is there a proper way to align the names?
Another way (which I've tested) is to edit a database dump and reload that.
What is the correct approach? Is it even legal (ORM rules) to rename the
table?
Thanks for any advice
Mike
[*]
https://www.caktusgrou
On 19/12/2019 12:37 am, Balaji Shetty wrote:
Good Evening
One query raised. My project is Government and it must pass through
Security Audits. Company may be indian Government.
It was built in Django with Sqlite backend. It is hosted on
Pythonanywhere. 90% work is accomplished in backend on
Thanks Michael. It has been interesting so far and I'm looking forward to
understanding what I've done😄
Original message From: Michael MacIntosh
Date: 19/12/19 06:58 (GMT+10:00) To:
django-users@googlegroups.com Subject: Re: Renaming sequences Hey Mike,I'm
ango users
Subject: Re: Renaming sequences Why you did
taht on production and not to try before recreate the db in other placeOn Wed,
18 Dec 2019, 20:59 Michael MacIntosh, wrote:Hey
Mike,
I'm not sure about your specific setup, but I assume you are using the
django.contrib.auth user model an
Thank you James
M
On 18/12/2019 5:57 pm, James Bennett wrote:
On Tue, Dec 17, 2019 at 10:47 PM Mike Dewhirst <mailto:mi...@dewhirst.com.au>> wrote:
... and I wonder if my custom user model should have an identical
Meta
attibute?
No, The 'swappable' Meta a
class Meta(AbstractUser.Meta):
swappable = 'AUTH_USER_MODEL'
... and I wonder if my custom user model should have an identical Meta
attibute?
Thanks
Mike
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from thi
me now and especially to the future me
(or anyone else) if the sequences were renamed as well.
I know how I could do it but I just need to know if I should.
Thanks for any advice
Mike
--
You received this message because you are subscribed to the Google Groups "Django
users"
On 17/12/2019 12:19 am, lemme smash wrote:
i feel for you, but from this description there is no way to figure
out how to help. it's way too abstract. so you probably may want to
provide code piece and traceback to get any kind of help here.
+1
It might help to actually build the two-app proj
On 12/12/2019 4:48 pm, אורי wrote:
Hi,
I want to add, the users login or logout or sign up to one website,
and I want them to login or logout from the other website too,
automatically. Currently if they login or logout to one website, it
doesn't affect the other website.
Can you detect the
it.
https://docs.djangoproject.com/en/3.0/topics/http/sessions/
There is lots of scope to adjust default behaviour to suit particular
requirements.
Cheers
Mike
Much obliged,
Bruckner de Villiers
083 625 1086
--
You received this message because you are subscribed to the Google
Groups
this is
straight from the docs except where I set up my path to my log file. My
WEB_ROOT is /var/www and PROJECT is myproject
HTH
Mike
# A sample logging configuration. The only tangible logging
# performed by this configuration is to send an email to
# the site admins on every HTTP 500
the self-healing properties of the internet so I'm
not in too much of a hurry to jump up and down. But I'm glad of an
opportunity to vent about it here.
Cheers
Mike
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To uns
servers more secure just that hackers
seem to love probing phpMyAdmin.
Also, Django seems to expect PostgreSQL and other DBMSs require extra
effort or extra documentation to avoid known problems.
YMMV but my advice is PostgreSQL.
Mike
thanks
--
You received this message because yo
for pair in option[1]:
if pair[0] == choice:
return pair[1]
Please keep us posted with your solution. It is a brilliant use-case.
Cheers
Mike
Any ideas how to handle this?
--
Jani Tiainen
Software wizard
https://blog.jani.tiainen.cc/
Always open for short
ll default to using the
template from your site rather than its own. The admin is one of your
apps so it will use any templates it finds (that urls.conf knows about)
in your main templates directory.
Cheers
Mike
|
|
│└──registration
│└──password_reset_form.html
├──tests.py
└──views.py
|
My
Hi! There's a lot of error message to copy and paste so please request what
you would like to see specifically. I am at
https://docs.djangoproject.com/en/2.2/intro/tutorial04/#use-generic-views-less-code-is-better
in
the Django tutorial and it seems replacing HTTPRequests with GenericViews
bro
ating between databases.
You need to look at the SQLite docs and the PostgreSQL docs for dumping
and reloading between them.
The nice thing is you can edit the SQL dump file before reloading in the
other database if you need to be clever.
Mike
I have a base model called Producto wich h
areful with machine backups
though if you have sensitive data in files.
There are other options for keeping sensitive data out of code and using
environment vars seems popular.
Mike
Thanks in advance!
--
You received this message because you are subscribed to the Google
Groups "D
On 11/10/2019 2:18 pm, yasar arafath Kajamydeen wrote:
Hi All,
I just added style sheet in my application but its not working ,
Please try to help me.
I think you need to put your stylesheet in a separate directory reserved
for static files such as css, js etc and perhaps call it polls/stati
That's easy. When the Admin site doesn't do exactly what you want. So press on
and use it. You'll know precisely when you need to tweak something and that's
when to dig out the docs again :-)
Connected by Motorola
Jérôme Le Carrou wrote:
>I am newbie in DJango
>
>I've started to read Django
team you will see what is happening and be able to repair the damage.
That is the way to discover exactly where to put your try/except blocks
or more rigorous checking.
Cheers
Mike
On Wednesday, October 2, 2019 at 1:19:49 PM UTC+5:30, Andréas Kühne
wrote:
Hi,
You shouldn
w" it will also be deleted.
https://docs.djangoproject.com/en/2.1/ref/models/fields/#django.db.models.CASCADE
I don't know what SOFT_DELETE_CASCADE is all about but it is possible
your on_delete choice is defeating it.
Mike
bio_prv_dat = models.DateField("Date de p
the cause :)
Cheers
Mike
I am comfortable with any domain .
--
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
six utilities to correct errors. With a little luck that would
simultaneously keep the codebase compatible with 3.x for the inevitable
forward upgrade.
Just a thought
Mike
On 24/09/2019 10:00 pm, Larry Martell wrote:
On Tue, Sep 24, 2019 at 4:15 AM Andréas Kühne
wrote:
Official access isn
Thank you Ani - works nicely :)
Cheers
Mike
On 10/09/2019 6:59 pm, ANi wrote:
getattr(instance, key) to get the value
setattr(instance, key ,value) to put the value, and remember to do
instance.save() otherwise it won't actually be changed.
Mike Dewhirst於 2019年9月10日星期二 UTC+8下午4時27分
Given a model instance and the name of one of its fields as a string,
how can I get/put a value in that field?
The methods might look like this ...
def get_value(obj, fldname):
...
return value
def put_value(obj, fldname, value):
pass
Thanks for any hints
Mike
--
You
other.
5. I'm going to set up a separate machine to do CI. Real soon now.
Cheers
Mike
--
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 d
On 28/08/2019 4:01 am, Alejandro Cuara wrote:
Hi,
I would like to know if does make sense to split my views.py file into
multiple view files
trying to have a project better organized and the same for my
manager.py file because i noticed that
they have grown a lot, from my perspective it make se
possibly means
the upgrade to 1.11.22 didn't complete correctly the first time.
Good luck
Mike
On Friday, August 23, 2019 at 7:45:00 AM UTC+10, Tom Gertin wrote:
>
> Hello, I have successfully install Django 1.11.22. However, I believe
> something is wrong because I cannot get th
mplify the table
structure I think you make it easier.
Good luck
Mike
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 d
On 14/08/2019 11:15 pm, mor...@nidelven-it.no wrote:
Hi.
I'm looking into static site generators written in Python, and django was
suggested.
Is there a way to generate a website with 5 pages, which has a good base
design, is accessible, responsive and doesn't bog down the browser on a low-en
xisting thread to ask your
question. It is always best to start a new thread when you have a new
question.
Cheers
Mike
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving email
On 10/08/2019 2:03 pm, IRONMAN YT wrote:
when i am typing pip, it is listing some and saying
"_/*Note that only Django core commands are listed as settings are not
properly configured (error: Requested setting INSTALLED_APPS, but
settings are not configured. You must either define the environm
runserver until i terminate it with ctrl-c. Noticed
recently that it only does this on Git Bash and not windows Cmd
Whether or not doesn't matter when you have a syntax error. Fix that
first and then migrate
On Thursday, August 8, 2019 at 1:10:27 AM UTC+2, Mike Dewhirst wrote:
Two
ap._gcd_import(name[level:], package, level) File "", line 1006, in
>_gcd_import File "", line 983, in _find_and_load File "", line 967, in
>_find_and_load_unlocked File "", line 677, in _load_unlocked File "", line
>724, in exec_module File &q
ff in the project
not the system Python.
Connected by Motorola
Kean wrote:
>Hi Mike,
>
>
>thank you for the heip,
>
>
>I tried the relative path (in main/urls.py) you provided and it threw up
>errors.
>
>the existing reference I have seems stable, please see
Provided you are using virtualenv, that sounds right. It us the same for
everyone starting a new project.
Connected by Motorola
goitom negash wrote:
>when i want to work on a new django project i have to install it again . if
>not it gives me an error "no module called django"
>
>--
>You
On 7/08/2019 3:34 pm, Davin Pore wrote:
Hi
How I would define the the environment variable DJANGO_SETTINGS_MODULE
In Windows Explorer, right-click 'This PC' then select 'Properties' and
finally 'Advanced system settings'. You will see a button labelled
[Environment variables]
However this
On 7/08/2019 1:35 pm, Tosin Ayoola wrote:
Halo guyz, working on an e-commerce project & I rili wan write the
test for this project, hoping someone can lead me in direction to go
https://docs.djangoproject.com/en/2.2/topics/testing/
--
You received this message because you are subscribed to
On 6/08/2019 10:32 pm, Emil Lilja wrote:
Hey all,
I realize I'm somewhat of a buffoon on the subject but I've tried
learning Python on my free time the past couple months and want to get
in to Django.
In my opinion that confirms you are not a buffoon but rather you are
strategically right o
On 6/08/2019 6:19 pm, goitom negash wrote:
when i want to work on a new django project i have to install it again
. if not it gives me an error "no module called django"
If you are working with virtualenv and creating a new one for each new
project - as I do and most Django devs do too - t
On 6/08/2019 10:45 am, Davin Pore wrote:
Could you help me to fix this issue. I encountered while running the
system.
Your command line needs an extra argument --settings=
where that might be worked out from ...
https://docs.djangoproject.com/en/2.2/topics/settings/#designating-the-settings
Once I have a database I wish to replicate many times for testing I just
use pg_dump to create a json file which can be reloaded into an empty
database as often as required. For that I use a script which
sequentially calls dropdb, createdb and finally psql which nominates the
json dump file cre
#x27;, include(tinymce_urls)),
...
]
but still get error ModuleNotFoundError: No module named 'tinymce'
Did you activate your virtualenv?
Good luck
Mike
I've tried all the guides on stackoverflow, and the django tinymce
referring this issue,
nothing seems to fix, i'
x27;t help.
I reckon you need to swap barcodes out and blockchain in.
Good luck.
Mike
Best,
K
--
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
You
could have https://www.whatever.com for the production site and
https://staging.whatever.com for the staging site.
That's probably not all but should get you started :)
Mike
thank you!
--
You received this message because you are subscribed to the Google
Groups "Django users&qu
” of processing - first models’ processes, then forms’? And,
perhaps more importantly, where should this either/or logic should be
placed so it will take effect?
Thanks very much,
Jim Illback
On Jul 13, 2019, at 11:48 PM, Mike Dewhirst <mailto:mi...@dewhirst.com.au>> wrote:
Wel
importantly, where should this either/or logic should be
placed so it will take effect?
Thanks very much,
Jim Illback
On Jul 13, 2019, at 11:48 PM, Mike Dewhirst <mailto:mi...@dewhirst.com.au>> wrote:
Well yes it could be called multifaceted.
Usually but not always the interface w
Try searching for python to exe
Connected by Motorola
Balaji Shetty wrote:
>Hi
>
>
>Can anyone please tell me
>
>how to convert django application to Windows exe format.
>
>--
>You received this message because you are subscribed to the Google Groups
>"Django users" group.
>To unsubscribe f
You can constrain uniqueness in the through table and/or the other tables to
represent whatever real-world constraints you need. Otherwise you can have as
many duplicated relationships as you want. Each through record has its own id
so the database is happy no matter how many go in.
Connected
You can make it easy for yourself by doing a batch file to automate creation of
the virtualenv.
If you want I can post the one I use.
Connected by Motorola
Mahesh Kumar wrote:
>Hi all,
>
>I tried to install the Django software in my Laptop command prompt, I have to
>create(mkvirtualenv mypr
Paul
I have dug a little deeper.I am getting a warning in 2.1 ...
D:\Users\mike\envs\xxct3\lib\site-packages\django\forms\widgets.py:126:
MediaOrderConflictWarning: Detected duplicate Media files in an opposite
order:
admin/js/vendor/jquery/jquery.min.js
/tinymce/filebrowser
way more parts to this than I would have imagined.
>
>
>
>
>On Sat, Jul 13, 2019, 8:01 PM Mike Dewhirst wrote:
>
>On 14/07/2019 10:37 am, Dean Karres wrote:
>
>Hi,
>
>
>I am learning Django. I am using CBVs. My default "index.py" view is
>basi
On 14/07/2019 10:37 am, Dean Karres wrote:
Hi,
I am learning Django. I am using CBVs. My default "index.py" view is
basically a dashboard for the app I am playing with. As my models and
views become more complicated I want to be able to ask, for any model
instance, is this instance "valid"
Are you using TinyMCE, filebrowser and Grappelli?
I had a similar problem as you describe and resorted to
django-tinymce4-lite and django-filebrowser-no-grappelli which fixed it
for me.
I haven't done any deep digging so I can't be certain why mine started
behaving properly.
M
UTC is a unique timezone independent of any country. It is associated
exclusively with zero degrees of longitude. It means universal constant time.
You need to research the correct standard code for the timezone you are
interested in.
Connected by Motorola
Paul Gureghian wrote:
>Specifical
ument ...
related_name='user_role'
... or something else which makes sense for you in the context of your
app. See ...
https://docs.djangoproject.com/en/2.1/ref/models/fields/#django.db.models.ForeignKey.related_name
Mike
***
from django.db imp
On 3/07/2019 3:03 pm, Balaji Shetty wrote:
Hello everyone
I want to can work my D jango application into exe format this
application will run on windows machine my application have libraries
and dependencies.
There are lots of options which are available on web.
which is the best option.
Sorry to bother you. I uninstalled all the old packages and reinstalled
the new ones again and the problem has gone away.
On 18/06/2019 7:03 pm, Mike Dewhirst wrote:
Can anyone point me in the right direction please?
I'm currently switching from ...
tinymce_lite4 and filebrows
Can anyone point me in the right direction please?
I'm currently switching from ...
tinymce_lite4 and filebrowser-no-grappelli
to
django-tinymce, django-grappelli and django-filebrowser
It is running on Ubuntu 18.04, Python3.6 and Django 2.1.
Thanks
Mike
Internal Server
On 31/05/2019 6:04 pm, Mike Dewhirst wrote:
On 30/05/2019 8:22 pm, Mike Dewhirst wrote:
I just encountered a weird UI glitch[1] in the Admin after upgrading
to Django 2.2.1
I have now discovered the problem described earlier is more generic as
follows:
1. For *any *ForeignKey or
On 30/05/2019 8:22 pm, Mike Dewhirst wrote:
I just encountered a weird UI glitch[1] in the Admin after upgrading
to Django 2.2.1
I checked and found the version of jquery I'm using is 1.4.1 and
figured that has to be contributing to the problem.
The 2.1 release note says "jQuery i
e can offer advice on managing js deployment.
Thanks
Mike
On 30/05/2019 8:22 pm, Mike Dewhirst wrote:
I just encountered a weird UI glitch[1] in the Admin after upgrading
to Django 2.2.1
I checked and found the version of jquery I'm using is 1.4.1 and
figured that has to be contributing to t
hey encountered the same problem within recent memory.
Except you. You have helped me more than once in the past and I appreciate
it. Thank you. Ten extra points!
Cheers
Mike
>
> At any rate, I'm currently stuck having to create relatively empty
>> ModelForm shell classe
" so I dug deeper in the docs to find how it is upgraded. Can't
find anything so far. I saw that there are Django Admin javascript
customisations. So that might complicate matters.
Is there a best practice for ensuring I keep my projects up to date?
Thanks
Mike
[1] With a m2m (self) add
icely :) Open source is lovely and Django (and the
Admin) is brilliant.
I'm guessing showing the button disabled would be a CSS task which I
don't have the brain-space for just now.
Cheers
Mike
On 29/05/2019 8:37 am, Mike Dew
n I put ... has_delete_permission = see_delete_button
And it works nicely :) Open source is lovely and Django (and the Admin)
is brilliant.
I'm guessing showing the button disabled would be a CSS task which I
don't have the brain-space for just now.
Cheers
Mike
On 29/05/2019
/use the Delete button.
The abovementioned callable doesn't make their own records readonly so
those users do need change (edit) permissions. Therefore I cannot use
permissions to solve the problem.
Can anyone suggest an approach?
Thanks
Mike
[1]
https://docs.djangoproject.com/en/1.1
On 23/05/2019 3:30 am, Dan Davis wrote:
Sure - setting it up is easy. There are hard questions about
database mutations however. If you drop column bar from table Fubar,
then the old code is still querying for buth Fu and Bar:
SELECT id, fu, bar FROM fubar
On-premise, this is the cas
om the individual project roots.
# serve static stuff from here
/>
AllowOverride None
Require all granted
I have not read your email beyond the line which says you are not
understanding so I apologise if I have led you astray.
hth
Mike
**I am not understanding
Have you used manage.py collectstatic?
Connected by Motorola
Rookies DJ wrote:
>I apologise, I'm a hardware engineer, I'm not very familiar with coding; I'm
>only on Django for the past 5 months. (under my boss order)
>
>
>I had managed to develop and establish a Django App, and manage to uplo
On Sun, Apr 21, 2019 at 4:37 PM Joel Mathew <j...@eyrie.in
> wrote:
Thanks a lot, guys.
On Sun, 21 Apr, 2019, 3:58 PM Jani Tiainen, <rede...@gmail.com
> wrote:
Hi,
We do in our applications pretty much same app
19 at 4:37 PM Joel Mathew <mailto:j...@eyrie.in>> wrote:
Thanks a lot, guys.
On Sun, 21 Apr, 2019, 3:58 PM Jani Tiainen, mailto:rede...@gmail.com>> wrote:
Hi,
We do in our applications pretty much same approach as Mike
proposed in his post. It
On 24/04/2019 8:05 am, meliodis live wrote:
Yes
I would instrument the code below with print statements to identify
where it is going off the rails.
On Wed, 24 Apr 2019, 3:04 am Mike Dewhirst <mailto:mi...@dewhirst.com.au> wrote:
On 24/04/2019 4:39 am, irtazahussain...@gma
On 24/04/2019 4:39 am, irtazahussain...@gmail.com wrote:
I am using authenticate function to authenticate user on login this is
working properly but only allow superuser to login.
Are your other users active?
def Login_View(request):
if request.method == "POST":
tal name, and user name.
I have a specific company model for company info and a user.userprofile
model which links a user to a company. I'm not using a custom user model
in this project but I doubt I would have done it much differently if I had.
hth
Mike
Sincerely yours,
Joel G Mathe
301 - 400 of 2348 matches
Mail list logo