Make a basic Django view. Place your script in a python module that lives
inside your app. Call that module/ function from the Django view. See
Django docs and tutorials on how to handle uploaded files. Pass the
uploaded file to your module, and handle the return value(s) however you
want. Hard
It means the template you are trying to render is either not created or not
in the location where Django expects to be. Django does not see the
template you are trying to render.
On Tue, 5 Feb 2019, 04:28 senthu nithy I am doing a project using Django. I got this error. I don't understand
> what
*Share a gadget:django-pg-timepart*
A Django extension that implements PostgreSQL tables for partitioning and
management based on dates. It is suitable for partition management of giant
tables with time columns like logging, messages or articles, periodically
creating new partitions and archivi
Django could be overkill for his. Try using Flask e.g.
https://stackoverflow.com/questions/39321540/how-to-process-an-upload-file-in-flask
On Sunday, 3 February 2019 17:53:20 UTC+2, Asad Hasan wrote:
>
> Hi All ,
>
> I have created certain python scripts to analyze log files and
> sug
hi all ,
i just started with django. i am following this document
https://docs.djangoproject.com/en/2.1/intro/tutorial01/
here database used is sqlite. but i want to try out django+mongodb
what all changes i can made so that django uses mongodb database
where should i create database and use with
Hi community,
I find it strange that in the DB session backend, the get_expiry_age does
not actually use the value from expire_data column in the model.
What is the indention of this design?
Thank you!
--
You received this message because you are subscribed to the Google Groups
"Django users
hi all
i am trying django with mongo
i added following lines in settings.py
mongoengine.connect(
db="tools",
host="localhost"
)
i am seeing error
File "", line 697, in exec_module
File "", line 222, in
_call_with_frames_removed
File "C:\c_burra_mongo_1\mysite\mysite\settings.py
DID YOU CONFIGURE PYTHON ?
Sent from Mailspring
(https://link.getmailspring.com/link/1549297886.local-887807ae-9dc1-v1.5.5-b7939...@getmailspring.com/0?redirect=https%3A%2F%2Fgetmailspring.com%2F&recipient=ZGphbmdvLXVzZXJzQGdvb2dsZWdyb3Vwcy5jb20%3D),
the best free email app for work
On Feb 1 201
Thank you Karen,
Just now I realized that it was a typo which caused this pain. From now on,
I should type slowly.
Best regards!
Mohammed.
On Mon, Feb 4, 2019 at 6:02 PM Karen Tracey wrote:
>
>> In the conference list html, this is the code snippent: `{{ conference.title }}`. It redirects to th
The flow looks fine. And when you click refresh on your browser on step 4 does
the page refresh properly?
Perhaps it's a caching issue.
Are you wrapping the billing_payment_view with admin_view()?
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.ModelAdmin.get_urls
Hi,
Thank you for your answer. I tried timezone.now without parentheses, but it
gave me server error. I have also tried datetime, but I face the same issue.
The issue I have:
I want people to see what happened today in the past. So I created a
database where is a story or stories what happened in
Hi Pooya,
Once I’ve done the include, how can I then pass that PK into the view of
the included urls?
Thanks
Gavin
On Mon, 4 Feb 2019 at 08:15, Ivan Martić wrote:
> Can you elaborate a bit, i have the same issue with noreverse error
>
> ned, 3. velj 2019. u 15:08 poOya mOsaddegh
> napisao je:
>
>
> In the conference list html, this is the code snippent: `{{ conference.title }}`. It redirects to the conference
> detail page without any problem. In the conference by country html, I have
> the following code:
>
>
> {% for conferenc in conferences %}
>
I searched for hours but I could not find a solution. I am trying to filter
conferences by country. Conference detail url works fine when I click on it
from the main conference list. When I filter by country, the list of
conferences in a given country are shown. However, when I click on a
confe
Hi all,
I need help.
I keep getting this issue, NoReverseMatch at /
Reverse for 'productsgrouping-update' with arguments '('',)' not found. 1
pattern(s) tried: ['update/(?P[0-9]+)/$']
not sure what am doing wrong. Any time I put url tag {% url
'productsgrouping-update' lista.id%} in html i get
Can you elaborate a bit, i have the same issue with noreverse error
ned, 3. velj 2019. u 15:08 poOya mOsaddegh
napisao je:
> Hi
> You may use include in urls.py
>
> urlpatterns = [
> path('', views.club_home, name='club_home'),
> path('/', include(club_home_urls, namespace='club_home')),
Hello Mikko,
There are basically two ways which I know . One is the timezone module that you
are using another is datetime module. I believe that timezone module is more
effective one.But instead of calling timezone.now() , call timezone.now.
Or what is the exact issue are you facing?
Regards,
17 matches
Mail list logo