@@ -57,7 +57,7 @@ def populate_database():
5757 """ ,
5858 category = "Artificial Intelligence" ,
5959 date_posted = datetime .utcnow (),
60- image_url = "./static/ img/ai-ml.jpg"
60+ image_url = "img/ai-ml.jpg"
6161 )
6262
6363 post2 = Post (
@@ -100,7 +100,7 @@ def populate_database():
100100 """ ,
101101 category = "Web Development" ,
102102 date_posted = datetime .utcnow (),
103- image_url = "./static/ img/web-dev.jpg"
103+ image_url = "img/web-dev.jpg"
104104 )
105105
106106 post3 = Post (
@@ -130,7 +130,7 @@ def populate_database():
130130 """ ,
131131 category = "Tech and Gadgets" ,
132132 date_posted = datetime .utcnow (),
133- image_url = "./static/ img/tech-gadget.jpg"
133+ image_url = "img/tech-gadget.jpg"
134134 )
135135
136136 post4 = Post (
@@ -161,7 +161,7 @@ def populate_database():
161161 """ ,
162162 category = "Technology" ,
163163 date_posted = datetime .utcnow (),
164- image_url = "./static/ img/5g.jpg"
164+ image_url = "img/5g.jpg"
165165 )
166166
167167 post5 = Post (
@@ -202,7 +202,7 @@ def populate_database():
202202 """ ,
203203 category = "Cybersecurity" ,
204204 date_posted = datetime .utcnow (),
205- image_url = "./static/ img/cybersecurity.jpg"
205+ image_url = "img/cybersecurity.jpg"
206206 )
207207
208208 post6 = Post (
@@ -242,7 +242,7 @@ def populate_database():
242242 """ ,
243243 category = "Technology" ,
244244 date_posted = datetime .utcnow (),
245- image_url = "./static/ img/quantum-computing.jpg"
245+ image_url = "img/quantum-computing.jpg"
246246 )
247247
248248 db .session .add_all ([post1 , post2 , post3 , post4 , post5 , post6 ])
@@ -275,7 +275,7 @@ def populate_database():
275275 description = 'A deep dive into the latest cybersecurity trends and best practices.' ,
276276 location = 'London, UK' ,
277277 event_date = datetime (2025 , 6 , 20 ),
278- image_url = 'events /cybersecurity_forum.jpg' ,
278+ image_url = 'img /cybersecurity_forum.jpg' ,
279279 link = 'https://cybersecurityforum.com' ,
280280 is_featured = False ,
281281 category = 'Workshop'
@@ -297,7 +297,7 @@ def populate_database():
297297 description = 'Discover how cloud technology is transforming industries worldwide.' ,
298298 location = 'Singapore' ,
299299 event_date = datetime (2025 , 9 , 12 ),
300- image_url = 'events /cloud_expo.jpg' ,
300+ image_url = 'img /cloud_expo.jpg' ,
301301 link = 'https://cloudexpo.com' ,
302302 is_featured = False ,
303303 category = 'Webinar'
@@ -319,7 +319,7 @@ def populate_database():
319319 description = 'Showcasing cutting-edge robotics and automation advancements.' ,
320320 location = 'Tokyo, Japan' ,
321321 event_date = datetime (2025 , 11 , 8 ),
322- image_url = 'events /robotics_expo.jpg' ,
322+ image_url = 'img /robotics_expo.jpg' ,
323323 link = 'https://roboticsexpo.com' ,
324324 is_featured = False ,
325325 category = 'Conference'
0 commit comments