If you want a simple way that manages all the deployment then use
https://www.zappa.io/
Be warned- the IAM permissions for storage can be a pain (as with using
most of AWS)!
On Thu, 4 Jul 2019, 07:15 Nick Sarbicki, wrote:
> The best way to deploy a static website is certainly on a bucket like s
The best way to deploy a static website is certainly on a bucket like s3.
Heroku is massive overkill for this.
Django is also unnecessary to host a static website. I do have a CMS that
generates and uploads static websites built with Django, but not django
actually hosting the site.
On Thu, 4 Jul
I have never used heroku. By the way, I am using 500 MB of S3 space. I am
only billed 1 cent per month.
On Thu, Jul 4, 2019 at 9:45 AM Django Dojo wrote:
> Thanks, but what do you think about Heroku?
>
> On Wednesday, July 3, 2019, Aldian Fazrihady wrote:
>
>> You can also use Amazon S3 to host
Thanks, but what do you think about Heroku?
On Wednesday, July 3, 2019, Aldian Fazrihady wrote:
> You can also use Amazon S3 to host static website.
>
> Regards,
>
> Aldian Fazrihady
> http://aldianfazrihady.com
>
> On Thu, 4 Jul 2019, 09:25 Django Dojo, wrote:
>
>> I’m just learning Django and
You can also use Amazon S3 to host static website.
Regards,
Aldian Fazrihady
http://aldianfazrihady.com
On Thu, 4 Jul 2019, 09:25 Django Dojo, wrote:
> I’m just learning Django and was trying it out, but is it better to deploy
> just using simple html, css and launch using a ftp
>
> On Wednesd
I’m just learning Django and was trying it out, but is it better to deploy
just using simple html, css and launch using a ftp
On Wednesday, July 3, 2019, Aldian Fazrihady wrote:
> Why does a static website need help from a Python web app framework such
> as Django?
>
> On Thu, 4 Jul 2019, 08:47
Why does a static website need help from a Python web app framework such as
Django?
On Thu, 4 Jul 2019, 08:47 Django Dojo, wrote:
> I’ve created a static website in Django and i would like to know the
> cheapest and best way to design ploy it.
>
> --
> You received this message because you are s
Your code shows you that it redirects on invalid login instead of
immediately rendering the same form plus error message.
On Wed, 3 Jul 2019, 23:04 KUMBHAGIRI SIVAKRISHNA,
wrote:
> Even I was entered wrong username and wrong password ,but it directs to
> same login with empty spaces.
>
> On We
I’ve created a static website in Django and i would like to know the cheapest
and best way to design ploy it.
--
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 dj
OK, this is CLOSE and it may even workmaybe someone else can correct
it, because I may have category/product backwards, and I put a filter in
there so you can search for a product by attribute, but you'll have to
tweak it...
category_view.html
{% extends "base.html" %}
{% block content %}
Pr
Ok so the images I attached to this comment are the view of the file path
in my file explorer, which isn't consistent with the results of the tree
command in "mysite". The files are there but I of course I don't see the
polls app folders anywhere.
I entered the command you suggested and receive
What kind of file is `.bin` file?
On Thu, Jul 4, 2019 at 6:52 AM Fernando Garrido Villalobos <
ferelise...@gmail.com> wrote:
> How to create a function that have like argument the path of a .bin file
> and returns a .png file ...
> I need your help,
> thank you so much.
>
> --
> You received this
Any fix to this problem or what could be the underlying issue here?
Got one today while trying to deploy to heroku
Help is 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
How to create a function that have like argument the path of a .bin file
and returns a .png file ...
I need your help,
thank you so 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
Trying to connect to SQL Server from Django
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'NAME': 'dbname',
'HOST': 'hostname',
'PORT': '',
'USER': 'user',
'PASSWORD': 'password',
'OPTIONS': {
'driver': 'ODBC Drive
Getting the following error:
File "...\venv\lib\site-packages\sql_server\pyodbc\base.py", line 362, in
init_connection_state
val = cursor.execute('SELECT SYSDATETIME()').fetchone()[0]
ValueError: hour must be in 0..23
--
You received this message because you are subscribed to the Google G
this' my model
from django.db import models
from django.shortcuts import reverse
class Category(models.Model):
name = models.CharField(max_length = 100, db_index = True)
slug = models.SlugField(max_length = 130, db_index= True, unique = True)
class Meta:
db_table = 'categories'
verbose_name = 'cat
and, are you using a base.html? and a form.html? then customizing the
template for the product_view?
Charlotte Wood, MEd
Educator
(405) 578-5701
Zoom Meeting ID#: 4055785701
*Zoom URL:* https://epiccharterschools.zoom.us/j/2970513912
Classroom Google Site:
https://sites.google.com/epiccha
What is the name of the field in your model? ie: Title, Name, etc so
one option would be product.title or product.name
can you just put your model in here?
Charlotte Wood, MEd
Educator
(405) 578-5701
Zoom Meeting ID#: 4055785701
*Zoom URL:* https://epiccharterschools.zoom.us/j/2
Good day guyz
sorry i'm working on a django e-commerce project which i am new to, and i'm
stuck, i wan have a page that will display the list of all for the list of
all products under a particular category, which i have checked out on
stackoverflow, i tried every suggestion and yet since not workin
Even I was entered wrong username and wrong password ,but it directs to
same login with empty spaces.
On Wed, 3 Jul 2019, 8:09 pm Aldian Fazrihady, wrote:
> Redirection should only be done on successful login.
> Invalid login should directly render the form plus error message.
>
> Regards,
>
>
Redirection should only be done on successful login.
Invalid login should directly render the form plus error message.
Regards,
Aldian Fazrihady
On Wed, 3 Jul 2019, 18:03 KUMBHAGIRI SIVAKRISHNA,
wrote:
> I entered username and password ,and click submit ,then it directs same
> login page with
Try debugging your view with a print statement. Print the username and
password to see if those values are getting passed in.
On Wednesday, July 3, 2019 at 6:02:52 AM UTC-5, KUMBHAGIRI SIVAKRISHNA
wrote:
>
> I entered username and password ,and click submit ,then it directs same
> login page wi
I entered username and password ,and click submit ,then it directs same login
page with empty username and password columns, logic is correct in views.py
Please help me ,give any suggestions to solve this issue
views.py:
==
from django.shortcuts import render ,redirect
from django.contrib
On Wed, 2019-07-03 at 19:42 +1000, Mike Dewhirst wrote:
> web.
> > which is the best option.
>
> Either py2exe or pyoxidizer
>
> I have used py2exe successfully some years ago but not pyoxidizer. It
> is
> new so the developer supporty will probably be quite good.
There is also briefcase:
htt
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.
W dniu środa, 3 lipca 2019 03:34:30 UTC+2 użytkownik P O napisał:
>
> Hello,
> sorry if I am wrong, but I use somethig like:
> id=models.IntegerField(db_name="some_id", primary_key=True)
> and Django uses auto-key when I add objects this way:
> obj = Obj()
> obj.some_id= 1
> obj.save()
> obj = Obj(
27 matches
Mail list logo