3 ms·
I'm trying to update my site to amp right now. I wrote the thing in django but it doesn't look like django is compatible with amp. I'm switching over to php b
by vivekd 8y ago
I'm trying to update my site to amp right now. I wrote the thing in django but it doesn't look like django is compatible with amp.
I'm switching over to php because it's the simplest language that seems to have CORS headers without requiring middleware packages. It seems like AMP can't even do something as simple as a contact form without CORS headers. I'm sure an experienced programmer could solve this problem easily but it makes things harder for amateurs like me.
It also doesn't seem to work with bootstrap so I've had to switch the whole thing over to basscss.
It seems like choosing AMP limits the other technology you can use.
- purrpit 8y ago> I wrote the thing in django but it doesn't look like django is compatible with amp. This doesn't make sense at all. Even if I hadn't previously built a site on django before which served AMP pages, I would be willing to bet that no pure backend web framework limits what your frontend can achieve. . Also, Things are always harder for amateurs, just keep working hard man.
- vivekd 8y agoI'm using Django templating language to serve up pages with a base template and also allow server side stuff to show up in the html pages.